|
-
Jan 6th, 2000, 05:33 AM
#1
Thread Starter
Member
HI,
Can I create an exe which can run under DOS and how that?
I need and example if yes, plz.
thanks.
-
Jan 6th, 2000, 06:09 AM
#2
Addicted Member
What do you mean by run under DOS? VB 5 and up require a 32bit environment which means at least Win95 for FAT32 file allocations etc. Also VB seems to be merged fairly solidly into windows, dlls, ocx etc. Haven't yet managed to generate a project which doesn't require at least one windows dll/ocx.
Not much help i know <- only just got shown how to do this in another message
-
Jan 6th, 2000, 06:23 AM
#3
Junior Member
There is a tutorial somewhere telling how to make a console-mode app. That allows a program to be run in a text mode, but it still doesn't let it run from a DOS prompt. I also need to know how to make a program run in the SAME DOS window from which it is executed. I know console-mode is possible since somebody already has made a tutorial on this site.
-
Jan 6th, 2000, 06:24 AM
#4
Hyperactive Member
The whole basis of Visual Basic is the visual part. Which means making GUI apps. Not the old dos apps. You can't do it with VB because VB is designed specifically for making Windows applications. In fact, as far as I know, you can't even make apps for OS's like Unix or Linux with VB. If you want to make DOS apps, then learn C or C++. And make sure you don't use Visual C++ to write the programs, or you'll run into problems. Because it is also designed to make Windows apps.
------------------
Ryan
-
Jan 6th, 2000, 07:48 AM
#5
Lively Member
yep. There all right. You can only compile a VB app to win32 executable format. VB doesn't support 16-bit compiles for formats such as DOS. VB is an easy langauge but when it comes to developing on other platforms it useless. One alternative is to write your program in QBASIC. You can create DOS programs using that. see qbasic.com for a tonne of examples etc.
-
Jan 6th, 2000, 10:52 AM
#6
Addicted Member
-
Jan 6th, 2000, 11:08 AM
#7
Guru
Console-mode application creation via VB -- here at VB-WORLD:
http://www.vb-world.net/articles/console/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|