>I have a form with an Internet Explorer control. I want to access the properties of the html document in the ole control.
>I have tried the following to get a property.
> ?thisform.oleHTMLView.GetProperty("Height")
> ?thisform.oleHTMLView.GetProperty("bgcolor")
>and many others. All I get returned is .NULL.
>
>Anyone know the proper syntax for this?
>
>Thanks.
For these two, try :
? thisform.oleHTMLView.Height and
? thisform.oleHTMLView.Document.bgColor
Look at the MSDN Library's "InternetExplorer Object" topic for help on others. HTH,