Главная страница | назад





Article #17306: Launching a web browser

 Question and Answer Database

FAQ2306D.txt - Launching a web browser

Category   :Internet/WEB
Platform   :All-32Bit
Product    :

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');

4/2/99 11:47:47 AM
 

Last Modified: 01-SEP-99