I use this (opens whichever is default browser) ShellExecute( 2,'open', pChar(WebURL+'News.htm'), nil, nil, SW_SHOWNORMAL);
----- Original Message ----- From: "Rich Cooper" <[EMAIL PROTECTED]> To: "Delphi-Talk Discussion List" <delphi-talk@elists.org> Sent: Saturday, July 15, 2006 6:49 PM Subject: Starting up ANY web browser with ShellExecute > Hi All, > > I can successfully get the following ShellExecute to start up IE: > > ShellExecute( 2,'open', > 'iexplore.exe', > pChar(WebURL+'News.htm'), > nil, SW_SHOWNORMAL); > > But what if the user is running a different web browser? Is there > a better (more generic) way to do this? > > Thanks, > Rich > __________________________________________________ > Delphi-Talk mailing list -> Delphi-Talk@elists.org > http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk