Solved

Send to the command line from VB6

Posted on 2009-05-20
3
200 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 500 total points
ID: 24435887
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 89
Sending a email via excel using vba 6 71
VB6 - Compare and highlight cell not the same 3 42
VB6 - Convert HH:MM into Decimal 8 51
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…

910 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

24 Experts available now in Live!

Get 1:1 Help Now