Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Webbrowser4
Message
From
03/11/2010 15:50:38
 
 
To
03/11/2010 03:22:21
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
01487889
Message ID:
01488069
Views:
129
>>>>In earlier versions we could type a URL into PEM ctarget and the VFP web browser would navigate to it. Where is the URL placed in the new (VFP 9) browser class to accomplish that same task?
>>>
>>>AFAIK you must use the navigate(cURL) method. However, if all you want to do, is to show a webpage, you can do it very simple:
>>>xx=Newobject('_webform',Home()+'\gallery\_WebView')
>>>xx.OleWebBrowser.Navigate2('http:\\www.swfox.net')
>>>xx.Show()
>>
>>Takk min Norse venn
>
>You're welcome!


How can you tell I am growing older?

I found this on a VFP wesite and I was the author - Gadzooks!!

Create a form
From the components add _webbrowser41 to the form
In the INIT method of the form add this line of code

This._Webbrowser41.Navigate('http://www.google.com')

Run the form

Done
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Reply
Map
View

Click here to load this message in the networking platform