Solved

Output of a shell command in VB

Posted on 2003-11-04
7
259 Views
Last Modified: 2010-05-03
I want to run an Exe from VB. To run this Exe, I am using Shell command. My Exe returns 2 numbers. I want to redirect the output of this shell command in a string. Please tell me how can I do it. ?
Thanks
Barkha
0
Comment
Question by:barkhamadan1
  • 2
7 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9680127
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 20 total points
ID: 9681589
Uff!, what a question history you have!
Better if you forget that i posted something here.
Good luck
Cheers
0
 
LVL 3

Expert Comment

by:NBrownoh
ID: 9682254
do you want to send data to another program through the shell command?
0
 

Expert Comment

by:p_hip
ID: 9682273
Is the executable one of yours, or is it a third party component ?

If it is yours then you could get it to load a delimited string into the clipboard, and read the clipboard when Control returns to your calling program.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now