Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a form to view HTML
Message
From
21/11/2003 16:24:58
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00852462
Message ID:
00852481
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform