I have a rather large data file created using QBasic (and using MBF numeric data format). I hope at some point to try vBasic to mange this data file but would need to convert it to sdf format. Is there some utility that would convert a qbasic formatted data file to sdf for use in vbasic?
Thanks for your help
data file conversion
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
Microsoft Binary Format? Wow, that is historical data.
Why can't you just make a program to convert the data to a WRITE # or PRINT # format file? Those will work in VB.
Why can't you just make a program to convert the data to a WRITE # or PRINT # format file? Those will work in VB.
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
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
-
- Newbie
- Posts: 4
- Joined: Fri Oct 09, 2009 8:18 pm
data file conversion
Thanks for the reply. If I create a new data file using a print # statement in a utility program, will I need to create an artificial extension on the file (eg mdf) for vb to recognize the file? VB certainly doesn't like the format in its current state.
Yes, the data in this file goes back to 1992 and is still in use.
Thanks again for your help
Yes, the data in this file goes back to 1992 and is still in use.
Thanks again for your help
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
I don't think ANY extension would affect VB. So use anything you want.
If you use WRITE, you can use a CSV extension so that Excel spreadsheets can read it too.
If you use WRITE, you can use a CSV extension so that Excel spreadsheets can read it too.
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
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
-
- Newbie
- Posts: 4
- Joined: Fri Oct 09, 2009 8:18 pm
data file conversion
I'll give it a try and let you know.
Thanks again
Thanks again
-
- Newbie
- Posts: 4
- Joined: Fri Oct 09, 2009 8:18 pm
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
No problem! I hope that it works as planned. Many times I made the code in QB and could paste it directly into VB. Unfortunately those binary formats were not included in VB.
Good luck!
Good luck!
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
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