Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launching browser from VFP9
Message
From
24/06/2010 22:39:24
Hong Yew
People Quest
Malaysia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Launching browser from VFP9
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01470522
Message ID:
01470522
Views:
109
HI all

I use the following codes to display HTML file.
May I know how can I maximise the browser window and at the same time activate it instead of having to do the 2 steps manually?

lcHTML_file = addbs(toApplication.ProjectDirectory)+'DOCS\'+toApplication.cHTML_name
loHTML = createobject("InternetExplorer.Application")
loHTML.Visible = .T.
llOK = loHTML.Navigate(lcHTML_file)

Your advice much appreciated

Thanks & Best Regards
Next
Reply
Map
View

Click here to load this message in the networking platform