Click here to Skip to main content
15,887,365 members
Home / Discussions / C#
   

C#

 
GeneralRe: Substring / Split String help Pin
Member 101198373-Sep-13 5:39
Member 101198373-Sep-13 5:39 
GeneralRe: Substring / Split String help Pin
Dave Kreskowiak3-Sep-13 5:47
mveDave Kreskowiak3-Sep-13 5:47 
AnswerRe: Substring / Split String help Pin
BillWoodruff3-Sep-13 17:46
professionalBillWoodruff3-Sep-13 17:46 
AnswerRe: Substring / Split String help Pin
Forbiddenx4-Sep-13 4:59
Forbiddenx4-Sep-13 4:59 
Question"Handle" Pin
Bernhard Hiller3-Sep-13 3:07
Bernhard Hiller3-Sep-13 3:07 
AnswerRe: "Handle" Pin
Dave Kreskowiak3-Sep-13 3:49
mveDave Kreskowiak3-Sep-13 3:49 
GeneralRe: "Handle" Pin
Bernhard Hiller3-Sep-13 21:43
Bernhard Hiller3-Sep-13 21:43 
GeneralRe: "Handle" Pin
Dave Kreskowiak4-Sep-13 1:16
mveDave Kreskowiak4-Sep-13 1:16 
Bernhard Hiller wrote:
how can an existing window handle be lost?


Open a handle to an object and never properly close it, then orphan it by letting the variable that was holding the handle fall out of scope.

In a .NET app, that's quite easily done by, say, creating a Graphics object and never calling Dispose on it when your done with. Or by allocating a Font, Brush, Pen, Stream, ... by no means an exhaustive list.


Bernhard Hiller wrote:
In one case, our application crashed at an Invoke: the window handle did no more
exist. A dialog had been opened, a control with its own window handle had been
used succesfully; then the user had a break, the computer was locked (session
switch event); after unlocking an hour later, the user did something else on the
computer before using our program again, and then it immediately crashed due to
the missing handle. I do not understand that. We did not Dispose() of it.


I don't have a clue there. You'd have the find out what else is running on the machine, such as virus scanner, and see if you can replicate the problem outside of their environment.

QuestionI can not Update my table when I want to check duplicate Records ... Pin
smh13923-Sep-13 2:00
smh13923-Sep-13 2:00 
AnswerRe: I can not Update my table when I want to check duplicate Records ... Pin
Bernhard Hiller3-Sep-13 22:47
Bernhard Hiller3-Sep-13 22:47 
GeneralRe: I can not Update my table when I want to check duplicate Records ... Pin
smh13924-Sep-13 3:27
smh13924-Sep-13 3:27 
QuestionCustomizing Solid Edge Pin
rani21072-Sep-13 20:11
rani21072-Sep-13 20:11 
AnswerRe: Customizing Solid Edge Pin
Pete O'Hanlon2-Sep-13 20:23
mvePete O'Hanlon2-Sep-13 20:23 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:05
rani21073-Sep-13 2:05 
GeneralRe: Customizing Solid Edge PinPopular
Pete O'Hanlon3-Sep-13 2:11
mvePete O'Hanlon3-Sep-13 2:11 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:25
rani21073-Sep-13 2:25 
GeneralRe: Customizing Solid Edge Pin
Dave Kreskowiak3-Sep-13 3:38
mveDave Kreskowiak3-Sep-13 3:38 
GeneralRe: Customizing Solid Edge Pin
Rohini Shirke3-Sep-13 18:19
Rohini Shirke3-Sep-13 18:19 
GeneralRe: Customizing Solid Edge Pin
Dave Kreskowiak4-Sep-13 1:09
mveDave Kreskowiak4-Sep-13 1:09 
AnswerRe: Customizing Solid Edge Pin
Abhinav S2-Sep-13 22:51
Abhinav S2-Sep-13 22:51 
GeneralRe: Customizing Solid Edge Pin
rani21073-Sep-13 2:07
rani21073-Sep-13 2:07 
QuestionSqlDataReader is not returning all rows Pin
NarVish2-Sep-13 0:57
NarVish2-Sep-13 0:57 
AnswerRe: SqlDataReader is not returning all rows Pin
Simon_Whale2-Sep-13 1:08
Simon_Whale2-Sep-13 1:08 
GeneralRe: SqlDataReader is not returning all rows Pin
NarVish2-Sep-13 1:37
NarVish2-Sep-13 1:37 
AnswerRe: SqlDataReader is not returning all rows Pin
Simon_Whale2-Sep-13 3:11
Simon_Whale2-Sep-13 3:11 

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.