|
-
Dec 2nd, 1999, 10:56 PM
#1
Thread Starter
New Member
In a command line only VB app, (no Form in the project) I want to print output message to user.
Seems basic but Print or Put function always requiere a file no. Maybe there is a way in VB to get a file handle for default output ?
thank in advance
Joyeux Noel !!!
-
Dec 3rd, 1999, 03:39 AM
#2
If you mean you want to print directly to the Screen, you're out of luck.
However, you could use FreeFile to get the next available File Handle and use that to Open a Log File to which you could Print, then Shell Notepad to display it.
Alternatively you can use the Msgbox to display Information to the user.
If none of that works for you, you'll just have to cave and add a Form to your project.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Dec 3rd, 1999, 03:51 AM
#3
Member
Dont know if this will help you, but this article on here was interesting. It details creating a console based App in VB that takes input and prints output using API... http://www.vb-world.net/api/console/
-
Dec 3rd, 1999, 01:32 PM
#4
Fanatic Member
And you can use those functions to write a full cgi app if you don't define a console window. Just tell your server that exe files are to be executed and the output of your program goes right to the browser.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|