will a vb6 program run from dos prompt?
i mean like edit.com runs from prompt
do i need something different
thanks
Printable View
will a vb6 program run from dos prompt?
i mean like edit.com runs from prompt
do i need something different
thanks
I think you can start your VB application using Command Prompt... For this, just call the filename (with exe extension) :wave:
Demonstration (in Command Prompt):
Quote:
C:\Documents And Settings\MyUserName> cd\
press enter
c:\> cd myproject
press enter
c:\myproject> myprojectfile.exe
if the path\filename contains spaces it will have to be enclosed in quotes
vb6
If you want to make a VB6 console app (as opposed to launching a VB6 GUI app from the console) then this link might be of interest.
if i boot up into dos and run my vb6 program will that work?
and do i have to do something with screen resalotion?
thanks
when u type in the command line c:\edit what opens is a console app right?
I'm not sure, however I believe that a vb6 .exe will NOT run in pure Dos-Mode!
it would most likely give an error "windows application", vb runtimes would not be available in dos mode
yall mean id have to use qbasic or earler to do it?
Where you can use VB6 to create a Win32 console application you can't run a Win32 console application without windows. I think when edit is run in a windows console it runs on a virtual machine.
Regarding Basic compilers for 16bit MSDOS, as well as QBasic there is also Visual Basic 1 for DOS.
VB for DOS, my first VB ;-)