RAEsquivelC
Aug 8th, 2003, 09:36 AM
I have many programs still in their original, QuickBASIC 4.5 (QB) binary format, with the terminarion .bas.
This year, I started learning VB, started with Version 2, and now am using the Version 6.0 "working model".
I keep two, separate folders, QuickBASIC and VB.
Today, I used the Windows Explorer (WE) to go into my QB files to look for one of my oldies. I found that all the old QB *.bas files now have the VB icon, instead of the QB icon, and, the File Type now reads, "Visual Basic Module".
Going to the WE, Tools, Folder Options, tag File Types, I find the program QB.exe (correct) opens files with the extension QB (I didn't do the change, I suspect VB did it when I loaded it), and Visual Basic Module opens files with the extension BAS. And, if I double click on any of these filename.bas files, VB opens and gives an error report, " '(complete path)\filename.bas' is in binary form and cannot be loaded into VB"
I have renamed one QB file, "Colors.bas" to "Colors.qb", and it opens fine in QB by doing a double click on it. I do have some 60 or so QB files, still with extension .bas (and the VB icon).
MY QUESTION: Since the QB files with extension .bas are all in one folder, in various subfolders, and I know that they ARE qb binary files, is there a global way that I can change all the QB .bas files present .bas extension to the .qb extension?
Any help or comments on this topic will be appreciated.
Other than opening the old binary files with the .bas extension from within QB
This year, I started learning VB, started with Version 2, and now am using the Version 6.0 "working model".
I keep two, separate folders, QuickBASIC and VB.
Today, I used the Windows Explorer (WE) to go into my QB files to look for one of my oldies. I found that all the old QB *.bas files now have the VB icon, instead of the QB icon, and, the File Type now reads, "Visual Basic Module".
Going to the WE, Tools, Folder Options, tag File Types, I find the program QB.exe (correct) opens files with the extension QB (I didn't do the change, I suspect VB did it when I loaded it), and Visual Basic Module opens files with the extension BAS. And, if I double click on any of these filename.bas files, VB opens and gives an error report, " '(complete path)\filename.bas' is in binary form and cannot be loaded into VB"
I have renamed one QB file, "Colors.bas" to "Colors.qb", and it opens fine in QB by doing a double click on it. I do have some 60 or so QB files, still with extension .bas (and the VB icon).
MY QUESTION: Since the QB files with extension .bas are all in one folder, in various subfolders, and I know that they ARE qb binary files, is there a global way that I can change all the QB .bas files present .bas extension to the .qb extension?
Any help or comments on this topic will be appreciated.
Other than opening the old binary files with the .bas extension from within QB