?
Solved

creating objects and handle their events at un time in vb 6

Posted on 2003-03-02
4
Medium Priority
?
174 Views
Last Modified: 2013-11-25
how can i create an object at run time and then handle
its events in vb 6
0
Comment
Question by:mr_m27
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 5

Accepted Solution

by:
JohnMcCann earned 100 total points
ID: 8051954
0
 
LVL 16

Assisted Solution

by:twalgrave
twalgrave earned 100 total points
ID: 8052268
Here's a MS site that shows 3 ways of doing it:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q190670

Another method (usually the easiest) is to create the first instance on the form, assign it's Index property to 0, the use the load command to load future instances of it during runtime and put all your code in the standard event handler.
0
 

Expert Comment

by:CleanupPing
ID: 9447412
mr_m27:
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!  No comment means you don't care.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Make the most of your online learning experience.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Six Sigma Control Plans

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question