system call

G

Guest

I need to make a system call from an Excel macro to execute something in DOS.
I there a command like system("command") in Visual Basic?
Thanks a lot
 
R

RobinS

Try posting your question to a VB6 or Excel programming newsgroup. This is
a VB.Net newsgroup.

In .Net, you use "Process.Start", but I don't think this will work for you.

Robin S.
 
M

Michael M.

the inbuilt function would be .

there is a object browser open it up and explore what the language provides

shell("C:\windows\system32\getmac")

if you need to more control over parameters and return codes / handles etc,
you will need the API function

SHELLEXECUTE( )

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top