Click here to Skip to main content
15,892,199 members
Home / Discussions / C#
   

C#

 
Generalreading two or more xml files using xml document Pin
dhol21-Jan-05 17:22
dhol21-Jan-05 17:22 
GeneralLDAP vs LDAPS port 389 vs port 636 on Active Directory Pin
csecret21-Jan-05 13:17
csecret21-Jan-05 13:17 
Generalplaying video file in c# Pin
XavierSpunky21-Jan-05 12:45
XavierSpunky21-Jan-05 12:45 
GeneralRe: playing video file in c# Pin
Judah Gabriel Himango21-Jan-05 19:50
sponsorJudah Gabriel Himango21-Jan-05 19:50 
Questioncould any one tell me how ? Pin
ImanMahmoud21-Jan-05 12:23
ImanMahmoud21-Jan-05 12:23 
AnswerRe: could any one tell me how ? Pin
Dennis C. Dietrich21-Jan-05 12:56
Dennis C. Dietrich21-Jan-05 12:56 
AnswerRe: could any one tell me how ? Pin
PatrickShane21-Jan-05 16:46
PatrickShane21-Jan-05 16:46 
GeneralRe: could any one tell me how ? Pin
ImanMahmoud22-Jan-05 3:22
ImanMahmoud22-Jan-05 3:22 
PatrickShane wrote:
your app freezes when the button is clicked because it's single-threaded. You should queue a user work item or spawn a new thread to do the long-running work in the background.

Threading is not a solution because the 4 blocks must be performed orederly, the 1st is performed and saved then the second, and so on.

Furthermore, the 2nd block reads from the data that was saved by the 1st one, and the 3rd reads from the data that was saved by the 2nd, and so on.

PatrickShane wrote:
Does "stop" mean it crashes or does it mean it hangs or does it mean it just seemingly mysteriously doesn't do what you expect?

My application hangs due to overload, because it performe a task then save it the read from what it saved to perfrome the following task the save it, and so on.

PatrickShane wrote:
Run your code with the Visual Studio debugger and step through it to find the problem.

The Visual Studio debugger is not helpful because I ran each block separately (block by block), and each was working and saving correctly.
GeneralRe: could any one tell me how ? Pin
Rob Graham22-Jan-05 7:50
Rob Graham22-Jan-05 7:50 
GeneralRe: could any one tell me how ? Pin
PatrickShane22-Jan-05 8:18
PatrickShane22-Jan-05 8:18 
GeneralRe: could any one tell me how ? Pin
DougW4822-Jan-05 9:24
DougW4822-Jan-05 9:24 
GeneralQuestion in windows forms : Pin
ImanMahmoud21-Jan-05 12:03
ImanMahmoud21-Jan-05 12:03 
GeneralRe: Question in windows forms : Pin
Dennis C. Dietrich21-Jan-05 12:38
Dennis C. Dietrich21-Jan-05 12:38 
GeneralRe: Question in windows forms : Pin
Pyro Joe21-Jan-05 12:54
Pyro Joe21-Jan-05 12:54 
Generalexpression results highlighting Pin
Pyro Joe21-Jan-05 11:04
Pyro Joe21-Jan-05 11:04 
Generalnewbi - passing values Pin
Dwayner7921-Jan-05 10:41
Dwayner7921-Jan-05 10:41 
GeneralRe: newbi - passing values Pin
MyThread21-Jan-05 12:48
MyThread21-Jan-05 12:48 
GeneralRe: newbi - passing values Pin
Dwayner7921-Jan-05 13:07
Dwayner7921-Jan-05 13:07 
GeneralRe: newbi - passing values Pin
mav.northwind21-Jan-05 12:56
mav.northwind21-Jan-05 12:56 
GeneralRe: newbi - passing values Pin
Dwayner7921-Jan-05 13:03
Dwayner7921-Jan-05 13:03 
GeneralRe: newbi - passing values Pin
Dwayner7924-Jan-05 1:10
Dwayner7924-Jan-05 1:10 
GeneralRe: OleDbDataReader Pin
Colin Angus Mackay21-Jan-05 10:10
Colin Angus Mackay21-Jan-05 10:10 
Generalwebservice problem Pin
21-Jan-05 9:14
suss21-Jan-05 9:14 
GeneralRe: webservice problem Pin
Bahadir Cambel21-Jan-05 14:47
Bahadir Cambel21-Jan-05 14:47 
GeneralRe: webservice problem Pin
PatrickShane21-Jan-05 16:57
PatrickShane21-Jan-05 16:57 

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.