Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I run internet explorer with VFP .
Message
 
To
30/05/2005 10:13:12
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018530
Message ID:
01018555
Views:
16
Here are 3 examples
#1 
LOCAL loHyperlink
loHyperlink = CREATEOBJECT("hyperlink")
loHyperlink.navigateto("www.yourdomain.com")

______________________________________________________
#2

Public   lcUrl
lcUrl = "www.yourdomain.com"
oform = Createobject("Explorer")
oform.AddObject("iExp","iExp")
oform.iExp.Height = oform.Height-1
oform.iExp.Width = oform.Width-1
oform.iExp.Navigate(lcUrl)
oform.Show()
Define Class Explorer As Form
    Autocenter = .t.
    Height = 600
    Width = 800
    Caption = "Navigate the Internet"
Enddefine
Define Class iExp As OleControl
    OleClass = "Shell.Explorer"
    Procedure Refresh
    Nodefault
Endproc
Visible = .T.
Enddefine
________________________________
#3  
Local oEx
oEx = createoject('internetexplorer.application')
oEx.navigate('www.yourdomain.con')
oEx.visible = .t.
>Hi ,
>
>How can I run internet explorer with VFP .
Previous
Reply
Map
View

Click here to load this message in the networking platform