Results 1 to 4 of 4

Thread: detect internet browser on system

  1. #1
    Join Date
    Jul 2010
    Posts
    25
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4

    Default detect internet browser on system

    Hello All,
    Is it possible to detect which browsers are installed on the system?
    Also is it possible to open these browsers using Qt window by adding a button?
    Thanking you in advance.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: detect internet browser on system

    You can check common install locations. Or you can check common registry locations (Windows), or you can check the current owner of the .html file type.

  3. #3
    Join Date
    Jul 2010
    Posts
    25
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    4

    Default Re: detect internet browser on system

    Hi fatjuicymole,
    Thanks for the answer. I am new to working through registry entries for WINDOWS, so could you please elaborate how this can be done using Qt.
    Thanks again.

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6
    Thanked 348 Times in 333 Posts

    Default Re: detect internet browser on system

    Its done in Qt the same way as doing it in any other framework. There are lots of example of using the registry.

    Once you have created the code, check the following entries:

    HKEY_CLASSES_ROOT\.htm
    HKEY_CLASSES_ROOT\.html
    HKEY_CLASSES_ROOT\http\shell\open\command
    HKEY_CLASSES_ROOT\http\shell\open\ddeexec\Applicat ion

Similar Threads

  1. detect system time change
    By ahmdsd_ostora in forum Qt Programming
    Replies: 5
    Last Post: 29th October 2019, 12:04
  2. How to detect an internet connection ?
    By ouekah in forum Newbie
    Replies: 1
    Last Post: 29th March 2010, 22:08
  3. How to use a image from internet
    By kellen851105 in forum Qt Programming
    Replies: 1
    Last Post: 4th March 2010, 06:16
  4. Is internet connected
    By bunjee in forum Qt Programming
    Replies: 2
    Last Post: 24th November 2009, 21:22
  5. How to get default home page of internet browser
    By sam_er83 in forum Qt Programming
    Replies: 2
    Last Post: 14th September 2009, 07:29

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.