Page 6 of 8
Re: Product Key Management System
Posted: Fri Apr 15, 2011 8:16 pm
by GMoDz100
Hi can you please help when ever i click send key it sends a email but when it comes to uploading it give me this error:
The remote server returned an error: (530) Not logged in.
Re: Product Key Management System
Posted: Fri Apr 15, 2011 9:23 pm
by Axel
Maybe you aren't logged in
I don't know , I think its trough ftp, try to login in internet explorer to your ftp and remember password
Re: Product Key Management System
Posted: Sat Apr 16, 2011 3:40 am
by CodenStuff
That error would probably mean your FTP login settings are incorrect. Check your code and make sure you entered the correct username/password/url settings in the code.
Re: Product Key Management System
Posted: Sun Apr 17, 2011 1:22 am
by GMoDz100
CodenStuff wrote:That error would probably mean your FTP login settings are incorrect. Check your code and make sure you entered the correct username/password/url settings in the code.
Thanks for the reply . I managed to do everthing right now but for my application i have a loading form at start then activation comes up then i enter serial key and it restarts again and the main form after the loading is after the activation. How can i make it so i opens the main form after i activate it and in the next launch it doesnt show the activation form and takes it straight from loading to the main form. Please help.
Thanks
Re: Product Key Management System
Posted: Sun Apr 17, 2011 6:46 am
by GoodGuy17
You can make a setting in My.Settings, which is a boolean, set it to False, and call it "activated"
Then, after it is activated, add this code under it:
Next, on your activation Form_Load event, add this code at the beginning:
Code: Select allIf My.Settings.activated Then
'Event that happens when activated
Elseif My.Settings.activated = 0 Then
'Event that happens when not activated
End If
Re: Product Key Management System
Posted: Sun Apr 17, 2011 9:13 am
by GMoDz100
Next, on your activation Form_Load event, add this code at the beginning:
Code: Select allIf My.Settings.activated Then
'Event that happens when activated
Elseif My.Settings.activated = 0 Then
'Event that happens when not activated
End If
Thanks for the reply will this code be on my main form which is after the activation?
Re: Product Key Management System
Posted: Sun Apr 17, 2011 9:29 am
by Axel
GoodGuy17 wrote:You can make a setting in My.Settings, which is a boolean, set it to False, and call it "activated"
Then, after it is activated, add this code under it:
Next, on your activation Form_Load event, add this code at the beginning:
Code: Select allIf My.Settings.activated Then
'Event that happens when activated
Elseif My.Settings.activated = 0 Then
'Event that happens when not activated
End If
You can't activate an event lol :P
Re: Product Key Management System
Posted: Sun Apr 17, 2011 9:36 am
by GMoDz100
can anyone please help me add me on msn or something my msn is
aqibpervaiz@live.co.uk and aim is gmods100
Thanks
Re: Product Key Management System
Posted: Sun Apr 17, 2011 10:23 am
by GMoDz100
Everything is fixed now
Thanks aloooooooooooooooooooooooooooooooooooooooooootttttttttttttttttttttttttttttttttttttttttttttttttttttt to Kevin G!
Re: Product Key Management System
Posted: Sun Apr 17, 2011 9:41 pm
by shekoasinger
This is all great, quality. But what always happens to me is that whenver the user copies the installed app to another directory, the settings (My.Settings) will also be created with their standard value, and in this case it probs will extend their registration for 30 more days ... unlucky mate