starting executeble file from vb6

  • 14 years ago

    hi,


    i dont usualy program in vb6, but now i have to create small application which will start executeble file (ex. setup.exe)


    prob is that i dont know the line for starting external files or application. i was looking for it but didn't have luck.
    so,
    i nead line of code that will when i press button start file "c:\setup.exe"


    thx!

  • 14 years ago

    Use the following line of code to execute an executable


    Shell "C:\Setup.Exe"

  • 14 years ago

    thx )

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The question of whether computers can think is just like the question of whether submarines can swim.” - Edsger W. Dijkstra