Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

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

how can i create an object at run time and then handle
its events in vb 6
0
mr_m27
Asked:
mr_m27
2 Solutions
 
twalgraveCommented:
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
 
CleanupPingCommented:
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now