Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense on Interfaces
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Intellisense on Interfaces
Miscellaneous
Thread ID:
00798094
Message ID:
00798094
Views:
60
Is there a way to get Intellisense to kick on on COM classes that are only defined by interface? For example, a COM class where you call a method and it returns an object to you. The class of the object doesn't show up as an individual class, only as a interface. This doesn't seem to work:
LOCAL loSomeObject AS MyCOM.Class, ;
      loReturnObject as MyCOM.ISomeInterface

* Intellisense works on loSomeObject
loSomeObject = CreateObject("MyCOM.Class")

* Intellisense doesn't work on loReturnObject
loReturnObject = loSomeObject.GetReturnObject()
As a secondary question, why doesn't the Intellisense Manager let me browse for a DLL/OCX/TLB? The Object Browser does. It's almost always easier for me to just browse for a specific file than pick it off the (huge) list, especially since I normally don't know what kind of description it will show up as (Company name plus component, component name only, abbreviation of company, etc.).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Next
Reply
Map
View

Click here to load this message in the networking platform