CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Running an executable question

    How do I run an executable from VB? Like WinExec in C++, what is the VB command?
    Thank you!


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: Running an executable question

    simple, async running: SHELL

    If you want to wait for the exe to be terminated, then CreateProcess API call to start the process, , and WaitForSingleObject to wait till it finishes.


    RK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured