Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Russell Hill
  Where is Russell Hill?
 Sydney
 Australia
 Russell Hill
 To: Dave JustDave
  Where is Dave JustDave?
 New york
 New York - United States
 Dave JustDave
 Tags
Subject: RE: olebrowser
Thread ID: 373527 Message ID: 373529 # Views: 38 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Friday, March 22, 2013 11:14:57 PM         
   


> 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')
> E>ndwith
>
> How do I create the OLEBROWSER control
>
> Does anyone have a sample form I could use?
>
> Thanks
> Dave


Click on OLE (ActiveX Control) in Form Controls Toolbar.

Click on your form.

Find "Microsoft Web Browser" and click ok.

ENTIRE THREAD

olebrowser Posted by Dave JustDave @ 3/22/2013 10:18:29 PM
RE: olebrowser Posted by Russell Hill @ 3/22/2013 11:14:57 PM