Is there a way to make a program run in the cmd.exe as opposed to a standard form?
Quote from: Forged on June 28, 2004, 05:02 PM
Is there a way to make a program run in the cmd.exe as opposed to a standard form?
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.
I think he wants to know how to make a console program.
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".
You could, but why?
See you later, I'm going to sail to Europe in a canoe.
I wasn't aware making Console Applications was available in Visual Basic, I always used C++.
www.planetsourcecode.com (http://www.planetsourcecode.com) Search for "Console" in the Visual Basic section.
HTH
Edit: Got rid of search query to fix the table stretching.
You made the page deformed it's so long, use [url] tags.
Quote from: Dyndrilliac on July 02, 2004, 07:30 PM
You made the page deformed it's so long, use [url] tags.
I did use url tags, k thanks. :P
iirc, all the pscode ones are mock console apps. Try a different language (such as vb.net)
AllocConsole might work. Or tweaking the exe, changing the headers to console app.