dear sir
my projct include login form .it in side availbele serial key and activation key .when i insert
serialkey and activaion key i want to start my second form .but when i close my second form (fully application)
after when i restart my application i want to start wit hout my logging form. please help me.
thankyou
wansa
'loging form
If sm.CheckKey(key) Then
MessageBox.Show("Activation was successful")
If My.Settings.Setting = False Then
settings.Save()
Form2.Show()
Me.Close()
End If
Else
MessageBox.Show("Activation was unsuccessful")
End If
End Sub
End Class
'second form
Public Class Form2
Dim settings As New My.MySettings
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If My.Settings.Setting = False Then
settings.Save()
Form1.Close()
End If
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
End
End Sub
End Class