Click here to Skip to main content
12,077,753 members (46,583 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# Windows Application
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 15-Dec-12 6:13am
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 ...
Jayanta Chatterjee 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
Jayanta Chatterjee 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160212.1 | Last Updated 15 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100