Thread: Using internet browsers internally in application

  1. #1
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696

    Using internet browsers internally in application

    I used to use this html/css editor application and it allowed me to use *whatever* internet browser installed on my machine to use for internal preview mode.

    So, it seems that the application does not merely embed gecko/IE engine, because if it does, it won't allow user to select any browsers he has installed on his machine and he can only select the browsers provided with the application.

    So, how do you think the application does it?
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    I would assume they use a system call to run the application you selected and then supply the file you're previewing as a command-line parameter. It's fairly standard for programs to accept as their first parameter the file you want opened.

  3. #3
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    Sure, but this application does not pop up the browsers in their native windows when a preview is requested; instead the preview is shown within the the application itself.

    Is there more you can do after the system call to allow you something like that above?
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  4. #4
    junior member mix0matt's Avatar
    Join Date
    Aug 2001
    Posts
    144
    some sort of component model in place...COM maybe?
    THIS IS NOT JUST A CHRONICLING OF THINGS WE HAVE DONE IN THE PAST BUT OUR RISE TO POWER.

  5. #5
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I'm not sure what app you're talking about, but I know some apps have a "basic" version of, for instance, IE "installed" with the application. I have one app that had IE 3 embedded with it.
    EntropySink. You know you have to click it.

  6. #6
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    I installed the app again, and, sorry, I was wrong. It opens the preview externally, on their on window.

    I guess I have to embed the browsers; that--I know how to do it. The problem that I was trying to avoid was having to update embedded browsers. Oh well, I suppose it wouldn't be hard to do.
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 2 internet connections
    By Erakis in forum Windows Programming
    Replies: 0
    Last Post: 07-01-2009, 07:14 AM
  2. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  3. Internet Problems
    By SirCrono6 in forum Tech Board
    Replies: 3
    Last Post: 04-26-2004, 09:47 PM
  4. Internet Application Programming
    By Unregistered in forum C++ Programming
    Replies: 6
    Last Post: 08-14-2002, 02:23 AM