Qbasic programs

Discussion in 'Programmer's Corner' started by n9xv, Jan 21, 2005.

  1. n9xv

    Thread Starter Senior Member

    Jan 18, 2005
    329
    1
    Hi,

    I write programs in Qbasic for electronics calculations etc. They are compiled .EXE ready to run files. I was trying to upload one hear but got a return message; "file types with that extension are not allowed". Is this a viral issue or something else.
    Just wondering?

    n9xv
     
  2. Nettron

    Member

    Jan 22, 2005
    29
    0
    Why not just copy/paste the text in your post ? Have done some Qbasic in the past so i for one would like to have a peek at'em.
     
  3. n9xv

    Thread Starter Senior Member

    Jan 18, 2005
    329
    1
    When I try to paste the .BAS file its always in ASCII format. Is there an easy way to convert ASCII to .TXT. I've also noticed that no matter what the file extention is, I still get the message "cannot upload a file with that extention" I'am kinda lost there? but anyway, I'll keep working with it. I thought it would be easy enough to email the .EXE files but apparently that does'nt work either?

    Still working on it :unsure:
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Hi,

    ASCII is text. Your problem is probably that the files have a .BAS extension. Either REName the files in dos, or right click on them and change the .BAS to .TXT. That should make everything happy.
     
  5. vineethbs

    Well-Known Member

    Nov 14, 2004
    56
    0
    something i hav seen arnd , sometimes exe files are not allowed to be uploaded , as u said it mebbe cuz of paranoia related to viruses , even GMAIL does not let u mail attachments with that extension.

    I wud like to see ur programs :D
     
  6. vineethbs

    Well-Known Member

    Nov 14, 2004
    56
    0
  7. pebe

    AAC Fanatic!

    Oct 11, 2004
    628
    3
    In the QB editor environment, you can load a *.BAS file. If you then select 'Save as' you are given the option of saving it as a *.BAS or a *.TXT file.
     
  8. n9xv

    Thread Starter Senior Member

    Jan 18, 2005
    329
    1
    Thanks to all above for the suggestions and tips. I still cant get it to work though :( . Whether I "save as" or "rename" it with another extension, it still remains in the ascii format. I cant seem to download the file conversion utility although I can download some other utilities from that link. I'am still trying to get utility to work. An interesting discovery though, I maybe able to upload my .exe files to the qbasic new zeland site and provide a link here to access them. At any rate, I'am still working on it :)

    Just want everyone to know that I value and appriciate all the ideas/input!


    - - - To be continued!
     
  9. pebe

    AAC Fanatic!

    Oct 11, 2004
    628
    3
    Just a thought. How about using PKZIP to make a self extracting file of your program(s). It would have the extension .ZIP (the format used for downloading). I have used it with DOS so it is almost certainly possible with Windows.

    BTW, I look forward to seeing your programs.
     
  10. n9xv

    Thread Starter Senior Member

    Jan 18, 2005
    329
    1
    Ok - - - I'am getting closer!

    I renamed a .BAS file to a .pdf file. It took the upload but when I try to download it I get this:

    "filename does not begin with %pdf"

    By simply renaming the file to a .pdf does not "convert" it to a .pdf - - - ???

    Any input gentlemen?

    Thanks
     
  11. pebe

    AAC Fanatic!

    Oct 11, 2004
    628
    3
    It's probably because Acrobat sees the program downloaded and automatically tries to read it, but can't because it's not in .pdf format.

    Have you tried changing to .txt?
     
  12. n9xv

    Thread Starter Senior Member

    Jan 18, 2005
    329
    1
    So far I cant get it to upload with any other extension but .pdf. Thats what I'am asking is how do I put in .pdf format. When the other members post an attachment as filename.pdf, what are they doing that I'am not? How does one convert their file to the .pdf format? Simply renaming the file does'nt seem to be enough.
     
  13. n9xv

    Thread Starter Senior Member

    Jan 18, 2005
    329
    1
    test
     
Loading...