Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I added a custom form in setup project. The form have one text box, in which take the serial key(which Predefined in Code) from user.

How to write code behind the custom form in setup project?

Please Help........

Thanks In Advance.........
Posted
Comments
chester_it21 16-Dec-12 15:46pm    
I have an opinion like this:
why not try to make such Form SplachScreen, but inside it there is code to read a number of his sierial whether or not ...
For example, maybe you can put it in the Registry validation checks ....
so, when your application the first time, check first, whether there was his serial number in the registry that you specify, and if no, take out his form for the registration key, if it is, go directly to the main form or the login ...
JayantaChatterjee 17-Dec-12 2:00am    
Thanks for that,
but I'm learning C# myself.so please can u tell me how to read and write registry key ?
and How would I know the application is running for first time?
chester_it21 17-Dec-12 21:32pm    
ok...you can googling with key "how to read,write dan update registry using C#"..
or see this link :
http://www.codeproject.com/Articles/3389/Read-write-and-delete-from-registry-with-C
JayantaChatterjee 20-Dec-12 2:55am    
Thankssssss a lottttttt.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900