Thread: Launching web documents through a program?

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    3

    Question Launching web documents through a program?

    Hi. I am currently making an update "program" (with html & javascript) which checks for updates, and downloads them. How do I make a program which will launch this html document (on local computer that access updates through iFRAMEs and stuff) so it opens the pop up??

    Thanks

    Carey

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    Well, because your question is so informative concerning your compiler and operating system, the only possible answer I could give while still being remotely accurate is:
    Code:
    #include <stdlib.h>
    
    ...
    
    system ( "path of the HTML file" );
    But that isn't a great solution, sorry.
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    450
    I am not sure I understand but it sounds like you need to launch a browser instead and pass it the html page instead. (Will system automaticly start the browser if you pass it an html adress? If so thats very interesting.")

    It sounds like you are not even using C but html though so you may be posting in the wrong forum.

    If not why not just create a link to the update html file.

  4. #4
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    In one of my programs, I have used the ShellExecute API function to launch the web-browser to display a html page.
    Last edited by yeohhs; 09-08-2004 at 06:53 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Launching a program on startup
    By beanroaster in forum C++ Programming
    Replies: 5
    Last Post: 05-20-2006, 01:21 PM
  2. Need help with my program...
    By Noah in forum C Programming
    Replies: 2
    Last Post: 03-11-2006, 07:49 PM
  3. Launching a program with little CPU loss
    By dwks in forum C Programming
    Replies: 2
    Last Post: 08-26-2005, 12:46 AM
  4. Launching program from resources
    By rickykoh1983 in forum Windows Programming
    Replies: 26
    Last Post: 09-03-2003, 12:21 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM