Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
John,
From the VFP main menu, choose Tools then Options then the Controls tab. Select ActiveX controls then look for "Microsoft Web Browser". Choose it then be sure to switch the Form Controls Toolbar to show ActiveX controls.
You can also checkout the solution samples. There is one for creating a VFP browser.
Mike
>Mike,
>thanks for the help. Where can I find the Browser ActiveX control you are talking about and what is the file name I should look for?
>John.
>
>>John,
>>
>>Try using the Browser ActiveX control. Drop it on a VFP form and be sure to put a NODEFAULT in the control's Refresh() method to avoid a known bug.
>>
>>You can display a HTML document by using the control's Navigate2("some_html.htm") method.
>>
>>Mike.
>>
>>
>>>Can anyone point me to some samples of viewing HTML in a VFP 6 or higher Form? I am using XFRX (a great product by the way) to convert VFP reports to HTML on disk. I then save the HTML files in a DBF as a log file before eMailing them.
>>>
>>>I need to pull them back out and allow the users to view them. I have a prg now that can save the file back to disk and view it but it is using ShellExecute to run Internet Explorer. This causes the user to have to close each IE window after each view. I need to view it in VFP so I can control it.
>>>
>>>TIA
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