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

    how to use shellExecute to open an html file

    I need help prototyping how to use this function.


    ShellExecute(0,"open","C:\StrengthCoach\training_output\test.html","","",SW_SHOWNORMAL);

  2. #2
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: how to use shellExecute to open an html file

    Take a look at this FAQ

  3. #3
    Join Date
    Oct 2005
    Posts
    199

    Re: how to use shellExecute to open an html file

    You have to use double backslashes (\\) instead of single ones on file paths. i.e.

    C:\\StrengthCoach\\training ...
    'You help me, and I, in turn, am helped by you!'
    -H.S.

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