[Lazarus] How do I get the default path and filename for the user's HTML browser???

Sven Barth pascaldragon at googlemail.com
Tue Sep 7 09:24:32 CEST 2010

Am 07.09.2010 09:19, schrieb Michael Van Canneyt:
> There is no failsafe way. It really depends on the user, distribution.
> My solution would be:
> - Let user select one
> - If none was selected, search a few of the default browsers in the PATH.
> Michael.

While Michael's advice is valid you might want to try the functions 
"FindDefaultBrowser" and "OpenURL" in unit LCLIntf. But I don't know how 
failsafe they are.


More information about the Lazarus mailing list