Solved

Send to the command line from VB6

Posted on 2009-05-20
3
199 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

707 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

13 Experts available now in Live!

Get 1:1 Help Now