Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

VBDOS advice

Hi All,

can someone please help

I need to find a website on VB DOS and how to connect to a .mdb

Does anyone understand how to do database connection in VBDOS? as it is really starting to get on my tits :(

I need to do it is VBDOS as my clients system can not support Windows (too slow)

if i can not do this in VB DOS what can I use? I am only use to VB For windows.

any advice you guys can give me is most welcome

Drew
[482 byte] By [Drew_gable] at [2007-11-11 10:27:07]
# 1 Re: VBDOS advice
As far as I know, Access databases require Windows. I know of no way to connect to an .mdb on DOS.

Does it have to be an .mdb? You might look into Btrieve, CodeBase or dBase, all of which have (or had) DOS versions.
Phil Weber at 2007-11-11 17:22:37 >
# 2 Re: VBDOS advice
Hi

No as long as the database will run on DOS I DO NOT mind what one it is

as long as it can support muti table (same as Access)

I can create a win app that will move the data from his Access database into the DOS database no problems there.

my main problem is Basiclly accessing , reading & writing to a the database in DOS. I have never created a DOS app before

I am assuming I can not use windows apps and compile them to DOS?

is there any other program making software like VB for DOS? one that is a LOT easier to use then VBDOS?

Thanks

Drew
Drew_gable at 2007-11-11 17:23:38 >
# 3 Re: VBDOS advice
Hey drew;
Check this :
http://nirsoft.net/vb/console_application_visual_basic.html

And don't miss to check on the code showing how to make the app as dos app after compilation .
Amahdy at 2007-11-11 17:24:35 >
# 4 Re: VBDOS advice
Thanks for that

BUT according to that Site I will not have any of the graphics or forms as my VB app has.

and I have to admit I am too use to using VB6 now to convert the application to use win32 api calls (I can not even remember how to do it)

Does anyone have any ideas as to what I can do? it has to DOS or I could JUST maybe get the guy to install windows 3.11.

But then I would have major problems with the Receipt Printer (it sends the status back to the software)

How would I get the status? it is on COM1

Also I have just tried the sample and it will not run in DOS only. it still requires Windows to run

Drew
Drew_gable at 2007-11-11 17:25:41 >