Intellisense and COM

G

Guest

I have the following coded elements:
1. An interface
2. A baseclass implementing the interface
3. A subclass that inherits the baseclass and contains some extra properties and methods

I use my subclass through COM, in this case in Access2003.

Now, if I declare a variable x As mySubClass, then on typing "x." Intellisense shows me nothing.
If I declare a variable x As myBaseClass, then on typing "x." Intellisense still shows me nothing.
If I declare a variable x As myInterface, then instantiate x = new myBaseClass, then on typing "x." Intellisense shows me the properties and methods in the interface. The same thing happens if I instantiate x = new mySubClass. However, in that case I still cannot see the properties and methods that are specific to the derived class.

What I want to have happen is the following: On instantiating x As mySubClass, I want Intellisense to show me ALL the public properties and methods that mySubClass has available, the inherited ones and the new ones.

How can I get this done?

Any help will be very much appreciated!

Vera
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top