CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2005
    Posts
    18

    Question problem with ShellExecute()

    hai all,
    i am using shellexecute() in my dialog,since i am passing an exe file name to the shellexecute function ,even after quitting from my dialog that executed exe is residing in the process.i want to kill that exe immediate after quitting from my dialog...can any one plz suggest me a solution!!!!!
    regard,
    plex

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: problem with ShellExecute()

    You can use CreateProcess() and TerminateProcess().
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537

    Re: problem with ShellExecute()

    Read the FAQ

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