Valhalla Legends Forums Archive | Visual Basic Programming | dos

AuthorMessageTime
Forged
Is there a way to make a program run in the cmd.exe as opposed to a standard form?
June 28, 2004, 10:02 PM
Spht
[quote author=Forged link=board=31;threadid=7485;start=0#msg67645 date=1088460176]
Is there a way to make a program run in the cmd.exe as opposed to a standard form?
[/quote]

Are you asking how to launch the command prompt? If so, Shell cmd.exe is one way.

Or are you asking how to launch your program from the command prompt? If so, you posted in the wrong forum, but start cmd.exe and type <Path of program><Filename> (ie, C:\Misc\Project1) or navigate to the folder of the program and type its filename.
June 28, 2004, 10:51 PM
Myndfyr
I think he wants to know how to make a console program.
June 28, 2004, 11:19 PM
Stealth
This has been talked about before, I'm not sure where. Quite a ways back. Try the search feature. IIRC, the answer was "not in VB".
June 29, 2004, 12:05 AM
St0rm.iD
You could, but why?

See you later, I'm going to sail to Europe in a canoe.
June 29, 2004, 12:54 AM
Dyndrilliac
I wasn't aware making Console Applications was available in Visual Basic, I always used C++.
July 2, 2004, 11:47 PM
Tuberload
www.planetsourcecode.com Search for "Console" in the Visual Basic section.

HTH

Edit: Got rid of search query to fix the table stretching.
July 3, 2004, 12:14 AM
Dyndrilliac
You made the page deformed it's so long, use [url] tags.
July 3, 2004, 12:30 AM
Tuberload
[quote author=Dyndrilliac link=board=31;threadid=7485;start=0#msg68248 date=1088814600]
You made the page deformed it's so long, use [url] tags.
[/quote]

I did use url tags, k thanks. :P
July 3, 2004, 1:49 AM
hismajesty
iirc, all the pscode ones are mock console apps. Try a different language (such as vb.net)
July 3, 2004, 3:52 AM
Adron
AllocConsole might work. Or tweaking the exe, changing the headers to console app.
July 3, 2004, 9:42 AM

Search