Click here to Skip to main content
15,899,025 members
Home / Discussions / C#
   

C#

 
AnswerRe: datagridview in .NET Pin
lsconyer18-Jun-07 4:07
lsconyer18-Jun-07 4:07 
AnswerRe: datagridview in .NET Pin
I.explore.code18-Jun-07 19:54
I.explore.code18-Jun-07 19:54 
QuestionRead excel with diff datatypes in one column Pin
Suman Singh18-Jun-07 1:41
professionalSuman Singh18-Jun-07 1:41 
AnswerRe: Read excel with diff datatypes in one column Pin
Jimmanuel18-Jun-07 2:48
Jimmanuel18-Jun-07 2:48 
AnswerRe: Read excel with diff datatypes in one column Pin
PIEBALDconsult18-Jun-07 8:49
mvePIEBALDconsult18-Jun-07 8:49 
AnswerRe: Read excel with diff datatypes in one column Pin
PIEBALDconsult18-Jun-07 8:59
mvePIEBALDconsult18-Jun-07 8:59 
QuestionLenghty operations Pin
Ira8418-Jun-07 1:10
Ira8418-Jun-07 1:10 
AnswerRe: Lenghty operations Pin
Stefan Prodan18-Jun-07 1:34
Stefan Prodan18-Jun-07 1:34 
AnswerRe: Lenghty operations Pin
Chintan.Desai18-Jun-07 3:28
Chintan.Desai18-Jun-07 3:28 
Questionparsing string using Regular Expression Pin
Blumen18-Jun-07 0:55
Blumen18-Jun-07 0:55 
AnswerRe: parsing string using Regular Expression Pin
Ed.Poore18-Jun-07 1:08
Ed.Poore18-Jun-07 1:08 
GeneralRe: parsing string using Regular Expression Pin
Blumen18-Jun-07 1:19
Blumen18-Jun-07 1:19 
GeneralRe: parsing string using Regular Expression Pin
Ed.Poore18-Jun-07 1:46
Ed.Poore18-Jun-07 1:46 
GeneralRe: parsing string using Regular Expression Pin
Blumen18-Jun-07 1:56
Blumen18-Jun-07 1:56 
GeneralRe: parsing string using Regular Expression Pin
Ed.Poore18-Jun-07 2:59
Ed.Poore18-Jun-07 2:59 
QuestionWindowsIdentity and related classes Pin
hamidkhan18-Jun-07 0:49
hamidkhan18-Jun-07 0:49 
QuestionRe: WindowsIdentity and related classes Pin
hamidkhan27-Jun-07 0:43
hamidkhan27-Jun-07 0:43 
QuestionExporting SQL Server 2005 Reporting Services reports to PDF Pin
khuzwayom18-Jun-07 0:19
khuzwayom18-Jun-07 0:19 
QuestionChecking for a keypress in console. Pin
jblouir18-Jun-07 0:13
jblouir18-Jun-07 0:13 
AnswerRe: Checking for a keypress in console. Pin
Nissim Salomon18-Jun-07 0:49
Nissim Salomon18-Jun-07 0:49 
Hi
try using different thread in order to check if a key was pressed
for example
static void Main(string[] args)
{
object key = new object();
bool stopLoop = false;

Thread t1 = new Thread(delegate()
{
while (Console.ReadLine() != "Q") ;

lock (key)
{
stopLoop = true;
}

Console.WriteLine("Stop Command Issued");
});
t1.Start();

while (true)
{
lock(key)
{
if (stopLoop == true)
break;
}
}
}
GeneralRe: Checking for a keypress in console. Pin
jblouir18-Jun-07 8:50
jblouir18-Jun-07 8:50 
GeneralRe: Checking for a keypress in console. Pin
jblouir18-Jun-07 8:54
jblouir18-Jun-07 8:54 
GeneralRe: Checking for a keypress in console. [modified] Pin
jblouir18-Jun-07 9:56
jblouir18-Jun-07 9:56 
GeneralThe answer. Pin
jblouir18-Jun-07 10:19
jblouir18-Jun-07 10:19 
QuestionClose (unlock), locked File on local machine! [modified] Pin
Martin#18-Jun-07 0:10
Martin#18-Jun-07 0:10 

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.