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

    relation with DOS windows and VB windows

    I want to launch a .bat file with my VB windows.
    But after i launch it, i want to stand the end of the .bat file.
    How can i stand the end of this file before continuous my programs.
    thanks a lot


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: relation with DOS windows and VB windows

    use CreateProcess API to start the batch file and WaitForSingleObject to wait for its end.


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