Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Line Exe

Status
Not open for further replies.

JBurrows

Programmer
Joined
May 26, 2000
Messages
1
Location
US
Can anyone point me to some sample code soemwhere which shows how to creat a command line exe (non-gui). I have code to show local TCP/IP address and want to use it in a script call to an exe to output the TCP/IP address so other poprtions of a script can use it. I need to compile it into a command line exe that can be run without arguements.<br><br>Thanks,<br>John
 
There are no non-GUI for Visual Basic, unless<br><br>when you start a new project, create a module, and have a Sub main() is there, this will be the start of your non-GUI code, (you can however call forms, and what not)<br>to set it up to start on a module instead of a form, in the project's properties, then General tab, then under &quot;Startup Object:&quot; change it to Sub Main. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top