From: Russell Hill
To: Dave JustDave
New York - United States
Visual FoxPro 9 SP2
Friday, March 22, 2013 11:14:57 PM
This message was rated by:
> I have html code I want to display in a form.
> I have come accross this code and it looks like the solution I am looking for.
> >With Thisform
> > Strtofile(myTable.myMemoField,'myHtmlFile.htm')
> > .oleBrowser.Navigate('about:blank')
> > Do While .oleBrowser.ReadyState <> 4
> > DoEvents
> > Enddo
> > .oleBrowser.navigate2('myHtmlFile.htm')
> How do I create the OLEBROWSER control
> Does anyone have a sample form I could use?
Click on OLE (ActiveX Control) in Form Controls Toolbar.
Click on your form.
Find "Microsoft Web Browser" and click ok.
Posted by Dave JustDave @ 3/22/2013 10:18:29 PM
Posted by Russell Hill @ 3/22/2013 11:14:57 PM