Information générale
Catégorie:
Applications Internet
>>>>>>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement