Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display banner on form
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00365675
Message ID:
00365724
Views:
15
>>>>>>How can I put a banner/image on a form that will hyperlink to a web page on our intranet?
>>>>>
>>>>>You should use WebBrowser ActiveX control. You can find the sample in Solutions.app under Foundation Classes.
>>>>
>>>>What version is that? I'm on 5.0
>>>
>>>It is in VFP6, but WebBrowser will work in VFP 5 too. If you take a look at the sample it will give you an idea. I also have a VFP5 sample somewhere at home and can send it to you later.
>>>
>>>In general put WebBrowser control on your form
>>>and put in webbrowser.init()
>>>
>>>this.navigate("c:\test\mybanner.jpg") && or where it is located
>>>
>>>If it doesn't want to work try SYS(2333,1) in form.load()
>>>Put also NODEFAULT to webbrowser.Refresh()
>>
>>Where can I get the control?
>
>You have it. Check Tools/Options/Controls/ActiveX and search the list for Microsoft Web Browser. It may be unchecked in your list.

I've looked several times and don't see it. Do you know the name of the ocx?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform