Intellisense and COM
From: Vera (anonymous_at_discussions.microsoft.com)
Date: 02/17/04
- Next message: Marco de Vries: "Access like datagrid for Visual Studio .Net (VB)"
- Previous message: Christoph M?der: "Re: Connect to Exchange with VB.NET"
- Next in thread: Cor: "Re: Intellisense and COM"
- Reply: Cor: "Re: Intellisense and COM"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 17 Feb 2004 00:41:06 -0800
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
- Next message: Marco de Vries: "Access like datagrid for Visual Studio .Net (VB)"
- Previous message: Christoph M?der: "Re: Connect to Exchange with VB.NET"
- Next in thread: Cor: "Re: Intellisense and COM"
- Reply: Cor: "Re: Intellisense and COM"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|