Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic creation of class instances.
Message
From
26/02/2001 19:42:39
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Dynamic creation of class instances.
Miscellaneous
Thread ID:
00479835
Message ID:
00479835
Views:
54
Say I have cEmployee class and I want to create another instance on the fly, how would I do that? Other than:

Set oCEO as new cEmployee
Set oDeveloper as new cEmployee
Set oJanitor as new cEmployee

Maybe a collection of custom class objects are what I need but I am not sure how to, or even if, that is the answer...
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Next
Reply
Map
View

Click here to load this message in the networking platform