PDA

View Full Version : detect internet browser on system



Dilshad
26th July 2010, 13:26
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.

squidge
26th July 2010, 17:41
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.

Dilshad
27th July 2010, 06:29
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.

squidge
27th July 2010, 14:09
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