VB6/VB.Net difference question

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

What are the VB.Net equivalents of the VB6 "Class
Initialize" and "Class Terminate"?
 
Use the constructor "New()" and the destructor "Dispose()" I believe.
 
There is no destructor. However, Dispose() is used for certain classes that
need to clean up after themselves for some reason, such as having unmanaged
resources in them.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Complex things are made up of
lots of simple things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top