Results 1 to 3 of 3

Thread: Creating an array type property in an activeX control

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2002
    Posts
    2

    Angry Creating an array type property in an activeX control

    Creating an array type property in an activeX control is not possible. An alternative to this technique is to use a funciton, can anyone help me providing me an example of array type property,

    Problem:
    I have to get some values from a command button pressed at design time of an activeX control, these values will be stored in an array type variable (say tempArray), now I want to access the variable at runtime, array type property is not supported, I have tried to use a function but its not working, can anyone suggest me an alternative to this

    Possible test Sample Application:

    Create an activex control and
    create any property u like,
    create any array type variable
    create property page and
    place a command button on it, on click populate an array
    create a function which can be accessed at runtime to display or access the value of the array

    I have tried this, the array also populates but at runtime the value is not shown

    If anyone can help then please hurry! or send a link where I can find some help..

  2. #2
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    I'm not sure exactly what you want.


    You want an Array that is located in your ActiveX control or in your Property page? It has to be accessed by both? It has to be populated when the button on the property page is clicked? populated with that? It has to display this info when? How?
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    I think I know exactly what you are looking for and I feel your pain. Fortunatly, I've been there and HAVE A SOLUTION.

    Hold on a sec, let me dig it out.....
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width