Mar 6, 2002 #1 kindred Programmer Feb 28, 2001 50 US Under VB .Net how do I unload a class within itsself. For example: Previously in VB6: It was simple as Unload Me and it would destroy the class itsself. Any thoughts on this would be greatly appreciated. Thanks, Stephen
Under VB .Net how do I unload a class within itsself. For example: Previously in VB6: It was simple as Unload Me and it would destroy the class itsself. Any thoughts on this would be greatly appreciated. Thanks, Stephen
Mar 16, 2002 #2 Cobber Programmer Jul 31, 2001 7 NZ You now call the Close method instead of the unload method. For example: Private Sub Command2_Click(ByVal EventSender As System.Object, ByVal EventArgs As System.EventArgs) Handles Command2.Click o.Close() End Sub Hope this helps Upvote 0 Downvote
You now call the Close method instead of the unload method. For example: Private Sub Command2_Click(ByVal EventSender As System.Object, ByVal EventArgs As System.EventArgs) Handles Command2.Click o.Close() End Sub Hope this helps