Link to home
Start Free TrialLog in
Avatar of CD-Softy
CD-Softy

asked on

Instantiating Class Objects WithEvents at runtime?

HI,

I have a class that exposes events. Is it possible to dynamically instantiate more than 1 instance of this object (with events) at runtime from an app?
I tried going down the line of creating a collection of the class, but I then can't access the individual objects' events.

any ideas?

Ta
ASKER CERTIFIED SOLUTION
Avatar of AzraSound
AzraSound
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

Hi CD-Softy,
This old question (QID 20553864) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
Avatar of CD-Softy

ASKER

Moderators please refund and close this Q

I have not found an acceptable answer for this post.
What was wrong with the solution I presented?
Please accept my apologies, I have reviewed the statement I made and decided it was unfair to you that I don't give you at least some points for your effort. The reason I can't accept your answer is that my scenario doesn't allow me to use arrays of objects or even collections - sorry. But I thank you for your effort anyway.

MODERATORS - please award AzraSound 25 points of this thread and refund me the rest. Thanx.
CD-Softy:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
According to the questioner's last post:

>>MODERATORS - please award AzraSound 25 points of this thread and refund me the rest. Thanx.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

-->Accept AzraSound's comments as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

GPrentice00
EE Cleanup Volunteer
AzraSound

I'm just blasting away my appointed chunk of cleanup space, that's naturally a generic post.  I made a program to help me speed up posting and logging in one shot, so its just easier to include these all together.  You can wait another few days, right?

CD-Softy
Moderators don't usually enter threads, you have to post requests in CS to get their attention.
I recommend posting a message in community service linking to this question with a request to reduce the point load to 25, then you can award them to AzraSound yourself.  If you do this before the deadline, you will be able to keep your 100 points, and close the question.

Your decision has been made, I am providing you the way to have it carried out...


GPrentice00,
Completely understandable.  I have no problem waiting.