Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Opening browser from Windows app Posted by robgodfrey on 19 Aug 2004 at 3:07 AM
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?
Report
Re: Opening browser from Windows app Posted by pingpong on 19 Aug 2004 at 4:35 AM
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?
:

Report
Re: Opening browser from Windows app Posted by robgodfrey on 19 Aug 2004 at 7:23 AM
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?
: :
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.