Opening browser from Windows app - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Opening browser from Windows app

I am writing a windows application in C using the visual c 6.0 IDE. I want to open a browser that displays local html help files. Is there a way to do it via C?

Comments

  • pingpongpingpong Posts: 937Member
    Check out the ShellExecute API. deja.com for examples.

    : I am writing a windows application in C using the visual c 6.0 IDE. I want to open a browser that displays local html help files. Is there a way to do it via C?
    :

  • robgodfreyrobgodfrey Posts: 4Member
    Thanks - I did this and it worked!

    Result = (int) ShellExecute(hWnd, "open", "f:\avgatester\vgahelp\index.html", NULL, NULL, SW_SHOWNORMAL);

    Opening up the specified file in a browser.

    Brilliant!!!

    : Check out the ShellExecute API. deja.com for examples.
    :
    : : I am writing a windows application in C using the visual c 6.0 IDE. I want to open a browser that displays local html help files. Is there a way to do it via C?
    : :
    :
    :

Sign In or Register to comment.