Click here to Skip to main content
15,902,275 members
Home / Discussions / C#
   

C#

 
AnswerRe: forcing to Stop Background Worker Pin
Ravi Bhavnani9-Feb-06 1:00
professionalRavi Bhavnani9-Feb-06 1:00 
GeneralRe: forcing to Stop Background Worker Pin
emran8349-Feb-06 2:53
emran8349-Feb-06 2:53 
QuestionFXcop SDK Pin
amit_l8-Feb-06 23:24
amit_l8-Feb-06 23:24 
QuestionAdding DLL reference in runtime Pin
emran8348-Feb-06 23:23
emran8348-Feb-06 23:23 
AnswerRe: Adding DLL reference in runtime Pin
Ingo8-Feb-06 23:37
Ingo8-Feb-06 23:37 
GeneralRe: Adding DLL reference in runtime Pin
emran8349-Feb-06 0:51
emran8349-Feb-06 0:51 
GeneralRe: Adding DLL reference in runtime Pin
Ravi Bhavnani9-Feb-06 5:03
professionalRavi Bhavnani9-Feb-06 5:03 
QuestionOledb Provider giving error for opening DBF file using C#.NET Pin
Anil Dhiman8-Feb-06 23:23
Anil Dhiman8-Feb-06 23:23 
QuestionSave new RIch Text Box function Pin
TheNewNewGuy8-Feb-06 22:55
TheNewNewGuy8-Feb-06 22:55 
AnswerRe: Save new RIch Text Box function Pin
Ingo8-Feb-06 23:36
Ingo8-Feb-06 23:36 
QuestionXML convert to HTML Pin
JacquesDP8-Feb-06 22:50
JacquesDP8-Feb-06 22:50 
QuestionDatagrid Problem Pin
Anil Dhiman8-Feb-06 22:38
Anil Dhiman8-Feb-06 22:38 
AnswerRe: Datagrid Problem Pin
microsoc8-Feb-06 23:21
microsoc8-Feb-06 23:21 
GeneralRe: Datagrid Problem Pin
Anil Dhiman9-Feb-06 0:14
Anil Dhiman9-Feb-06 0:14 
GeneralRe: Datagrid Problem Pin
microsoc9-Feb-06 0:15
microsoc9-Feb-06 0:15 
QuestionHow to get RGB values from image file Pin
nps_ltv8-Feb-06 22:27
nps_ltv8-Feb-06 22:27 
AnswerRe: How to get RGB values from image file Pin
jinzhecheng9-Feb-06 16:43
jinzhecheng9-Feb-06 16:43 
QuestionAssigning a handle to a structrue Pin
Stefan Venter8-Feb-06 21:13
Stefan Venter8-Feb-06 21:13 
AnswerRe: Assigning a handle to a structrue Pin
[Marc]9-Feb-06 5:10
[Marc]9-Feb-06 5:10 
QuestionStopping/canceling a running database query Pin
Robert Rohde8-Feb-06 18:58
Robert Rohde8-Feb-06 18:58 
AnswerRe: Stopping/canceling a running database query Pin
J4amieC8-Feb-06 22:03
J4amieC8-Feb-06 22:03 
Within your data access class, store a boolean variable such as Cancelling. Now, read your data in chunks using something like a DataReader, except after reading each chunk of data check whether the Cancelling flag has been set to true. If it has, close your data reader and connection and return from the method as quickly as possible.

You can now do exactly as you were, starting that data access on its own thread. When you want to cancel, set the flag in your data access class to true and Thread.Join the data access thread before firing off a new request.In this way, no Thread.Abort will be required.
GeneralRe: Stopping/canceling a running database query Pin
Robert Rohde9-Feb-06 0:05
Robert Rohde9-Feb-06 0:05 
Questionhow can i read a .DAT file and convert it into proper text format ? Pin
geek-age8-Feb-06 18:25
geek-age8-Feb-06 18:25 
AnswerRe: how can i read a .DAT file and convert it into proper text format ? Pin
DigitalKing8-Feb-06 18:58
DigitalKing8-Feb-06 18:58 
GeneralRe: how can i read a .DAT file and convert it into proper text format ? Pin
geek-age8-Feb-06 20:22
geek-age8-Feb-06 20: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.