?
Solved

Output of a shell command in VB

Posted on 2003-11-04
7
Medium Priority
?
265 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 80 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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 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…
Suggested Courses
Course of the Month15 days, left to enroll

770 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