Easitest way:
ShellExecute(hWnd, "open", "document name", NULL, SW_SHOWNORMAL)
Replace document name with "c:\\bla\\bla.pdf" and Acrobat should run, replace with "http://www.bla.com" and IE should run and so forth.
: Does anybody know how it is possible to start a PDF in Acrobat or a movie in Windows Movieplayer just by "executing" the document itself without the knowledge of where the registered Application was installed. Just as if i click on it in the Explorer, i want the proper document-viewer be displayed (of course with the document in it)
:
: thank you
: