How to launch applications from VB?

Discussion in 'QnA (read only)' started by redhat, Jul 29, 2006.

Thread Status:
Not open for further replies.
  1. redhat

    redhat Mad and Furious

    Joined:
    May 28, 2006
    Messages:
    452
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Visual Basic 6.0
    I am a newbie to Visual Basic 6.0. I want to know how to execute a exe file from a program made in VB. Please tell me where to get it from or get in touch with me at dar_nir@yahoo.co.in You can send me links or code samples or anything else. The exe file i want to execute was also made in VB if it does make some difference. I have its source also, but it is very confusing to add so many forms into the application.
     
  2. amitgg

    amitgg New Member

    Joined:
    Jan 24, 2006
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    0
    try shellexecurte api
     
  3. ayush_chh

    ayush_chh Member

    Joined:
    Nov 25, 2005
    Messages:
    525
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bangalore
    try using OLE container.....
     
  4. puja399

    puja399 New Member

    Joined:
    Jul 30, 2005
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    0
    1) Easy approach --> ShellExecute API
    2) Advanced approach (with much more control)--> CreateProcess API
     
Thread Status:
Not open for further replies.

Share This Page