Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Send to the command line from VB6

Posted on 2009-05-20
3
Medium Priority
?
221 Views
Last Modified: 2012-05-07
I need to, within a VB6 (!) app send a command as if through a cmd window. What is the proper syntax etc. for this? TY.
0
Comment
Question by:jwagman
3 Comments
 
LVL 15

Expert Comment

by:ChloesDad
ID: 24435595
VB6 uses a shell command

Shell(command,{ window_style})

where command is a string containing the text that you would type at the command prompt

0
 

Author Comment

by:jwagman
ID: 24435617
Does it give a return value? What do the values mean? Thanks.
0
 
LVL 6

Accepted Solution

by:
jparul earned 2000 total points
ID: 24435887
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library 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…
Suggested Courses

972 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