Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
QuestionI know how to clear textboxs on my form at one time but what if they are bound? Pin
tonyonlinux11-Feb-10 20:28
tonyonlinux11-Feb-10 20:28 
AnswerRe: I know how to clear textboxs on my form at one time but what if they are bound? Pin
AspDotNetDev11-Feb-10 21:13
protectorAspDotNetDev11-Feb-10 21:13 
GeneralRe: I know how to clear textboxs on my form at one time but what if they are bound? Pin
tonyonlinux11-Feb-10 21:19
tonyonlinux11-Feb-10 21:19 
Questionuniquely identifies a computer Pin
AndieDu11-Feb-10 19:10
AndieDu11-Feb-10 19:10 
AnswerRe: uniquely identifies a computer Pin
OriginalGriff11-Feb-10 21:54
mveOriginalGriff11-Feb-10 21:54 
GeneralRe: uniquely identifies a computer Pin
AndieDu14-Feb-10 16:07
AndieDu14-Feb-10 16:07 
AnswerRe: uniquely identifies a computer Pin
harold aptroot11-Feb-10 23:28
harold aptroot11-Feb-10 23:28 
AnswerRe: uniquely identifies a computer Pin
#realJSOP12-Feb-10 0:09
professional#realJSOP12-Feb-10 0:09 
You should probably use WMI to gather a system-specific info string, and encrypt it, and transfer the encrypted info to a database that's not on the user's machine. When the program runs, it should perform this same process, and if the encrypted string it comes up with doesn't match what's in the database, don't let the program run.

A few considerations:

0) if there is no internet connection, the program should run as it normally would if it was validated.

1) If it can't find the validation server, the program should run as it normally would if it was validated.

2) In the event that the app goes EOL or you no longer want to require remote validation, provide a method for the program to run WITHOUT checking the validation server. My suggestoion is an entry in the app.config file that tells the app not to bother checking.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

GeneralRe: uniquely identifies a computer Pin
AndieDu14-Feb-10 16:45
AndieDu14-Feb-10 16:45 
GeneralRe: uniquely identifies a computer Pin
#realJSOP15-Feb-10 1:41
professional#realJSOP15-Feb-10 1:41 
QuestionHow to prevent from open the same form Pin
nuttynibbles11-Feb-10 19:03
nuttynibbles11-Feb-10 19:03 
AnswerRe: How to prevent from open the same form Pin
i gr811-Feb-10 20:06
i gr811-Feb-10 20:06 
AnswerRe: How to prevent from open the same form Pin
thatraja11-Feb-10 20:22
professionalthatraja11-Feb-10 20:22 
GeneralRe: How to prevent from open the same form Pin
nuttynibbles11-Feb-10 23:42
nuttynibbles11-Feb-10 23:42 
GeneralRe: How to prevent from open the same form Pin
OriginalGriff11-Feb-10 23:58
mveOriginalGriff11-Feb-10 23:58 
QuestionMultiple Resize events, how to prevent them. Pin
Douglas Kirk11-Feb-10 18:59
Douglas Kirk11-Feb-10 18:59 
AnswerRe: Multiple Resize events, how to prevent them. Pin
OriginalGriff11-Feb-10 21:59
mveOriginalGriff11-Feb-10 21:59 
QuestionNightmare with Regular Expression Pin
newproger11-Feb-10 16:19
newproger11-Feb-10 16:19 
JokeRe: Nightmare with Regular Expression Pin
Dan Mos11-Feb-10 16:23
Dan Mos11-Feb-10 16:23 
AnswerRe: Nightmare with Regular Expression Pin
AspDotNetDev11-Feb-10 16:28
protectorAspDotNetDev11-Feb-10 16:28 
GeneralRe: Nightmare with Regular Expression Pin
newproger11-Feb-10 16:37
newproger11-Feb-10 16:37 
AnswerRe: Nightmare with Regular Expression Pin
Dan Mos11-Feb-10 17:56
Dan Mos11-Feb-10 17:56 
Questioncreating dynamic array Pin
nuttynibbles11-Feb-10 15:32
nuttynibbles11-Feb-10 15:32 
AnswerRe: creating dynamic array Pin
Dan Mos11-Feb-10 16:00
Dan Mos11-Feb-10 16:00 
GeneralRe: creating dynamic array Pin
nuttynibbles11-Feb-10 16:22
nuttynibbles11-Feb-10 16:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.