I have been testing this sample: C:\hmg.3.3.1\SAMPLES\Controls\OLE
With this code:
Code: Select all
STATIC PROCEDURE IEXPLORER()
LOCAL oIE
oIE := CreateObject( "InternetExplorer.Application" )
oIE:Visible := .T.
oIE:Navigate( "http://www.hmgforum.com/" )
RETURN
If my default is Chrome, it will automatically navigate with Chrome
If firefox, it will navigate with firefox?
How do I write the Code?
Code: Select all
LOCAL oIE
oIE := CreateObject( "DefaultInternetBrowser.Application" )
oIE:Visible := .T.
oIE:Navigate( "http://www.hmgforum.com/" )