I'm making an activeX DLL in vb, and I want to terminate the class when they typed the wrong password.
How to?
Code:Public Sub Class_Initialize() If (CheckPassword) Then 'Everything is fine Else 'Stop this class, 'When they want to use something of this class, 'it first has to be re-initialized. End If End Sub







Reply With Quote