Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing ole object properties
Message
From
22/11/2002 14:49:42
 
 
To
22/11/2002 13:14:29
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00725895
Message ID:
00725976
Views:
7
>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,
Previous
Reply
Map
View

Click here to load this message in the networking platform