Solved

Output of a shell command in VB

Posted on 2003-11-04
7
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

689 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