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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to print to the screen from a command line program ?

Status
Not open for further replies.

tg2003

IS-IT--Management
Feb 6, 2003
270
IL
hello,
I've never written a VB command-line program , so I guess this question is quite silly:
I write a small program that has a function . I want to print the result to the screen. How to do that ? or may should I use vbscript ?

thanx
 

tg2003, have you read FAQ222-2244 yet?

There are several ways in which to accomplish what you want. The simplest would be to use the msgbox function. You can find many examples on this site or in the VB help files. Just type msgbox and press F1.

Good Luck

 
thanx, but I know the msgbox. I mean to a command like 'echo' command that prints it in a cmd window.
 

Hi,
Try to use print command which prints on form
Print "This is printed in VB Form"

Madhivanan
 
Do a keyword search in this forum for 'console application'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top