Using my custom ActiveX in VB 2005
- From: mmedved@xxxxxxxxx
- Date: Wed, 11 Jul 2007 23:53:48 -0700
I ran into a problem using a custom ActiveX I wrote in VB 2005.
It has a property that is "indexed" - that is, it has a parameter and
needs to be addressed as (Index) - kinda like this:
MyActiveXControl.MyProperty(Index)
The thing is, VB2005 refuses to recognize that this property exists.
Other - non-indexed - properties work ok, and show up in the little
helper window as I type in the code, but the indexed properties do not
show up and do not work. VB 2005 refuses to see them.
I tried rewriting those as methods - with Index as a parameter and the
value as the method return. I hit another snag - if the method is
called "MyMethod" in the ActiveX, VB 2005 sees it as "get_MyMethod" -
BUT when you call "get_MyMethod" it complains that it doesn't exist.
Am at my wits' end here. Anyone hit this snag before and knows how to
fix it???
.
- Follow-Ups:
- Re: Using my custom ActiveX in VB 2005
- From: Rick Rothstein \(MVP - VB\)
- Re: Using my custom ActiveX in VB 2005
- Prev by Date: Tools for memory analysis
- Next by Date: Re: Using my custom ActiveX in VB 2005
- Previous by thread: Tools for memory analysis
- Next by thread: Re: Using my custom ActiveX in VB 2005
- Index(es):
Relevant Pages
|
|