|
-
Oct 10th, 2000, 06:13 AM
#1
Thread Starter
New Member
Hi,
Is it possible to retreive data generated from an Command prompt application and use the data in a VB application
without using a file for middle storage.
E.g.
the following data is genereted and presented on the command prompt,
c:> START
Asking your own node
Showing all nodes
Network Node Status CS
VCOMTST1 UNIXSRV1 3 , Read/Write link online 2
NET1 COLUMBUS 3 , Read/Write link online 2
sendentry..:00002
totentry..:00002
Can I instead of echoing it to the screen, retreive the information in to a variable in VB?
thanks,
Patric Kronberg
-
Oct 10th, 2000, 06:24 AM
#2
Fanatic Member
Look here
http://forums.vb-world.net/showthrea...threadid=34131
for an example.
The Command Function should get you what you need.
-
Oct 10th, 2000, 06:43 AM
#3
Thread Starter
New Member
Help needed with retreiving data from the command line
Hi,
I don't know if I don't understand the Command function or you missunderstood me. The command function does "only" (?) return the arguments when starting a VB application on the command line.
I start the "DOS" application from within the VB application and the restult from the "DOS" application are echoed onto the screen, now I would (if possible) retreive the information into an variable in my VB application.
thanks,
Patric
-
Oct 10th, 2000, 07:08 AM
#4
Surely an API function can do something done in DOS. Maybe not, but try http://www.vbapi.com/ for a fat stash of API functions. If you can't find it then I have been a complete waste of time.
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
|