• Welcome to Valhalla Legends Archive.
 

dos

Started by Forged, June 28, 2004, 05:02 PM

Previous topic - Next topic

Forged

dos
Is there a way to make a program run in the cmd.exe as opposed to a standard form?
QuoteI wish my grass was Goth so it would cut itself

Spht

#1
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.

MyndFyre

I think he wants to know how to make a console program.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

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".
- Stealth
Author of StealthBot

Banana fanna fo fanna

You could, but why?

See you later, I'm going to sail to Europe in a canoe.

Dyndrilliac

I wasn't aware making Console Applications was available in Visual Basic, I always used C++.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

Tuberload

#6
www.planetsourcecode.com Search for "Console" in the Visual Basic section.

HTH

Edit: Got rid of search query to fix the table stretching.
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

Dyndrilliac

You made the page deformed it's so long, use [url] tags.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

Tuberload

#8
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
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

hismajesty

iirc, all the pscode ones are mock console apps. Try a different language (such as vb.net)

Adron

AllocConsole might work. Or tweaking the exe, changing the headers to console app.