17-11-12, 10:59 PM
كود :
Dim exists As Boolean = False
Try
If My.Computer.Registry.CurrentUser.OpenSubKey("Test") IsNot Nothing Then
exists = True
End If
Finally
My.Computer.Registry.CurrentUser.Close()
End Try
If Not exists Then
Application.ExitThread()
End If[SIZE=6]لا إله إلا أنت سبحانك إني كنت من [/SIZE][SIZE=6]الظالمين[/SIZE][SIZE=6]
[/SIZE]
[/SIZE]
