- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Launching a web browser

Question:

How can I launch the computer's current web brower with a specific web site URL?

Answer:

Call the Win32 API function called HlinkNavigateString which is 
declared in the UrlMon unit.

Example call: 

  HlinkNavigateString(Nil,'http://www.borland.com');

If you're calling this from an ActiveForm then call it like this:

  HlinkNavigateString(ComObject,'http://www.borland.com');



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile