Using my custom ActiveX in VB 2005



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???

.



Relevant Pages

  • Re: Using my custom ActiveX in VB 2005
    ... Almost everybody in this newsgroup is using VB6 or lower (this is the case for all newsgroups with ".vb." ... Other - non-indexed - properties work ok, and show up in the little ... Anyone hit this snag before and knows how to ...
    (microsoft.public.vb.general.discussion)
  • Re: determing if a vector is constant
    ... would fix it, but it's not mine and I don't have the rights at this time. ... >> actually I know I have hit a small snag. ... >> I'm actually having a hard time with this, the problem seems simple, ...
    (microsoft.public.vc.stl)
  • Create, reply, and message windows only open minimized
    ... I work with disabled people and have hit a snag I've not ... Double clicking on a message header opens it minimized on ... and have tried to replicate the fault on my own machine, ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: VDQ : Can my FC1s gnome-terminal be fixed?
    ... > But I hit a snag ... ... > FC2 has a gnome-terminal that never gets a prompt. ...
    (Fedora)
  • ACS and External Drives
    ... drives but which will be going inside either the ATL or VTS. ... I'm fairly certain we aren't the first to hit this snag. ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)