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

Thread: Running an .exe

  1. #1
    Guest

    Running an .exe

    I am having difficulties in just running a program from within my program. I have a couple of books but the best I can find is to use the system function

  2. #2
    Join Date
    Apr 1999
    Posts
    23

    Re: Running an .exe

    Hi,

    You can try adding this line to your code:
    system("start Iexplore.exe");

    but ensure that Iexplore is in your current path

    Chao


  3. #3
    Join Date
    Apr 1999
    Posts
    383

    Re: Running an .exe

    Use the ShellExecute or ShellExecuteEx Win32 API functions as documented in the VC++ online help.

    Dave


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