Invoke IE

This is a discussion on Invoke IE within the Windows Programming forums, part of the Platform Specific Boards category; Is there a solid way to invoke MS Internet Explorer, that will work on multiple versions of Windows, from within ...

  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    3

    Question Invoke IE

    Is there a solid way to invoke MS Internet Explorer, that will work on multiple versions of Windows, from within an ANSI C application, to open a specific html file? Is "createprocess" the best bet?

    Thanks!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    > Is "createprocess" the best bet?
    Probably, but then it wouldn't be ANSI-C as such (making use of a non ANSI function).

    Though you might consider ShellExecute() as well, which would invoke the user preferred browser and not just IE.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    3
    Thanks much for the suggestion. ShellExecute fits my needs to a T.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 07-07-2009, 10:05 AM
  2. invoke non-static function using ::
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 02-24-2008, 12:29 AM
  3. Invoke a function from another running program (EXE) in C/C++
    By sureshobabu in forum C++ Programming
    Replies: 3
    Last Post: 12-19-2006, 05:32 AM
  4. invoke the execution of one c program from another
    By kris.c in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-08-2006, 11:10 PM
  5. passing a parameter to a system invoke
    By iain in forum C++ Programming
    Replies: 1
    Last Post: 09-18-2001, 09:21 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21