BAS FILES IN WIND 10

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
LEGRAND
Coder
Posts: 49
Joined: Wed Jul 30, 2008 7:57 am

BAS FILES IN WIND 10

Post by LEGRAND »

Hello! For unknown reason, I previously failed to send previous request. If you got it, sorry to come back again. My computer is Windows 10
I used MS DOS 6.22 and opened qb45 and that part works. But how could I load files .bas, that I put in the windows 10 "documents". QB45 reors programs and after I can reopen them, but I really don't succeed to charge external .bas programs from inernal or external drives with this windows 10.
Suppose I must send them in DOS but how to do that?
Second question : my computer is AZERTY and QB45 is QWERTY. Any possibility to change QB45 ?
Thanks a lot for your help.
Best regards.
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: BAS FILES IN WIND 10

Post by burger2227 »

You would have to install QB on the Windows 10 32 bit machine then associate the BAS files to run With QB.EXE or run the compiler and tell it where the BAS files are located on your computer. NOTE: Windows 10 32 bit may not run programs not in SCREEN 0.

Keyboard ASCII setup is not changeable in QB. QB64 can run different fonts and Unicode.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
LEGRAND
Coder
Posts: 49
Joined: Wed Jul 30, 2008 7:57 am

Re: BAS FILES IN WIND 10

Post by LEGRAND »

Thanks for your answer. However, I don't know how to associate the .bas file with qb.exe,as you said, and in windows 10, the "C" driver is named "OC"
if I Go to the "DIRS/DRIVES" in QBX, and I select any letter, answer is always "file not found".
If I place my .BAS file inside QB folder, and open QBX, again the file cannot be found. On the other hand, if I save a new file inside QB, I can reopen it . It remains in QB file.What do you suggest?
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: BAS FILES IN WIND 10

Post by burger2227 »

Put all your BAS files into the folder with QBX.EXE and its libraries. Right click a BAS file and select Open With from the menu. You will have to search for the QBX program and click it. Select ALWAYS if that is the only program using them.

BAS files can also be opened with Visual Basic but it sets up Windows to use them as the default program already.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
LEGRAND
Coder
Posts: 49
Joined: Wed Jul 30, 2008 7:57 am

Re: BAS FILES IN WIND 10

Post by LEGRAND »

Believe it or not, Still stopped as I cannot open my files in QB45. Tried several ways.U nless got the complete code to do it, I'm afraid I shall have to give it up.
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: BAS FILES IN WIND 10

Post by burger2227 »

If you have a 64 bit machine it will never run! 32 bit only supports screen 0 too.

If the BAS files were not saved as text, they can be rescued. IE not readable in notepad.

Try QB64 at the link in my signature...they also have a file converter for the BAS files to text.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
LEGRAND
Coder
Posts: 49
Joined: Wed Jul 30, 2008 7:57 am

Re: BAS FILES IN WIND 10

Post by LEGRAND »

Finally I succeed with DOS .74 and GWBASIC I've not tried with QB45 I've tried for a long time to start GWBASIC with DOS 6.22 and it has never worked. On the other hand, I can open QB45 with DOS 6.22 but cannot open there my .bas files...
I stopped playing with qb 5 or 6 years ago and lost almost all I knew in coding.
Thanks for help.
Post Reply