Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Opening programs from VB e.g. IE explorer

Options
  • 21-06-2004 8:55pm
    #1
    Closed Accounts Posts: 1,637 ✭✭✭


    Hi all,

    Was wondering how do you open a program from VB,

    e.g.

    Open "C:\Program Files\Internet Explorer\iexplore.exe"

    I want IE to display?

    Thanks JoePC


Comments

  • Closed Accounts Posts: 1,637 ✭✭✭joePC


    Got it NP

    ShellExecute API

    Thanks JoePC


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    You could also use Shell with is a VB function. Personally I'd go the API route like your good self but its handy to know the alternatives.


Advertisement