Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display banner on form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00365675
Message ID:
00365721
Vues:
14
>>>>>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.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform