Click here to Skip to main content
16,005,038 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cross threading issue Pin
JacquesDP17-Jan-07 0:51
JacquesDP17-Jan-07 0:51 
QuestionHow to read flat file into Dataset Pin
NK716-Jan-07 19:58
NK716-Jan-07 19:58 
AnswerRe: How to read flat file into Dataset Pin
Abisodun17-Jan-07 3:35
Abisodun17-Jan-07 3:35 
QuestionConnect SQL Server from client machine in C# [modified] Pin
phantanagu16-Jan-07 19:48
phantanagu16-Jan-07 19:48 
AnswerRe: Connect SQL Server from client machine in C# Pin
Elephant12316-Jan-07 20:56
Elephant12316-Jan-07 20:56 
Questionurgent How do we execute block of code only onces when we execute a program first time in C#.net Pin
Vinay Dornala16-Jan-07 19:46
Vinay Dornala16-Jan-07 19:46 
AnswerRe: urgent How do we execute block of code only onces when we execute a program first time in C#.net Pin
NK716-Jan-07 20:03
NK716-Jan-07 20:03 
AnswerRe: urgent How do we execute block of code only onces when we execute a program first time in C#.net Pin
JacquesDP16-Jan-07 20:14
JacquesDP16-Jan-07 20:14 
I'd say your best bet would be to create a registry entry, firstRun, 0-1.
Then check that registry value to check if it is your apps first run, if it is execute block of code, set value to 0 for false, next time you start up the program it will check the value and see firstRun is false and the skip the block of code.

Hope that helps.


He who laughs last is a bit on the slow side

GeneralRe: urgent How do we execute block of code only onces when we execute a program first time in C#.net Pin
Vinay Dornala16-Jan-07 20:23
Vinay Dornala16-Jan-07 20:23 
GeneralRe: urgent How do we execute block of code only onces when we execute a program first time in C#.net Pin
JacquesDP16-Jan-07 20:30
JacquesDP16-Jan-07 20:30 
AnswerRe: urgent How do we execute block of code only onces when we execute a program first time in C#.net Pin
J4amieC16-Jan-07 22:43
J4amieC16-Jan-07 22:43 
Questionweb application Pin
raju_net181816-Jan-07 19:30
raju_net181816-Jan-07 19:30 
AnswerRe: web application Pin
jdkulkarni16-Jan-07 22:44
jdkulkarni16-Jan-07 22:44 
QuestionFile Attributes questions Pin
Planker16-Jan-07 19:10
Planker16-Jan-07 19:10 
Questionvisual studio can not start debugging Pin
chintan1816-Jan-07 18:53
chintan1816-Jan-07 18:53 
AnswerRe: visual studio can not start debugging Pin
Christian Graus16-Jan-07 19:26
protectorChristian Graus16-Jan-07 19:26 
AnswerRe: visual studio can not start debugging Pin
Seishin#16-Jan-07 22:56
Seishin#16-Jan-07 22:56 
QuestionWCF Service and JAVA client Pin
jdkulkarni16-Jan-07 18:34
jdkulkarni16-Jan-07 18:34 
AnswerRe: WCF Service and JAVA client Pin
KevinMac16-Jan-07 18:45
KevinMac16-Jan-07 18:45 
GeneralRe: WCF Service and JAVA client Pin
jdkulkarni16-Jan-07 18:52
jdkulkarni16-Jan-07 18:52 
GeneralRe: WCF Service and JAVA client Pin
KevinMac16-Jan-07 19:59
KevinMac16-Jan-07 19:59 
GeneralRe: WCF Service and JAVA client Pin
jdkulkarni16-Jan-07 20:31
jdkulkarni16-Jan-07 20:31 
GeneralRe: WCF Service and JAVA client Pin
jdkulkarni16-Jan-07 22:42
jdkulkarni16-Jan-07 22:42 
QuestionOpenFileDailogBox Pin
indiaone16-Jan-07 18:28
indiaone16-Jan-07 18:28 
AnswerRe: OpenFileDailogBox Pin
Flysocket16-Jan-07 18:33
Flysocket16-Jan-07 18:33 

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.