Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
QuestionDatagrid showing bogus data when page loads Pin
leckey20-Jun-06 8:36
leckey20-Jun-06 8:36 
AnswerRe: Datagrid showing bogus data when page loads Pin
freshonlineMax20-Jun-06 19:20
freshonlineMax20-Jun-06 19:20 
Questionquestion about MS spell check Pin
likefood20-Jun-06 8:34
likefood20-Jun-06 8:34 
AnswerRe: question about MS spell check Pin
likefood20-Jun-06 8:38
likefood20-Jun-06 8:38 
QuestionGDI : how does paint event work? Pin
User 309585920-Jun-06 8:13
User 309585920-Jun-06 8:13 
AnswerRe: GDI : how does paint event work? Pin
Johnny Hooyberghs20-Jun-06 8:38
Johnny Hooyberghs20-Jun-06 8:38 
GeneralRe: GDI : how does paint event work? Pin
User 309585920-Jun-06 8:44
User 309585920-Jun-06 8:44 
Questioncatching exceptions and posting them in a dialog Pin
Johnny Hooyberghs20-Jun-06 7:41
Johnny Hooyberghs20-Jun-06 7:41 
I have written an application and in the main method i surrounded my Application.Run( new MainForm() ); with a try catch clausule. If I run the project as debug and an exception occurs, a nice dialog appears explaining what went wrong, all data is stored to the disk and if pressed OK, the application closes. If I build a release version of this project the dialog does not appear. Instead I get the standard dialog from the .NET framework telling that there was an exception.

My question is how is it that my code only does what i want when running the debug version from the Visual Studio environment?

Thanx
Djohnnie

<br />
try<br />
{<br />
     Application.Run( new MainForm() );<br />
}<br />
catch( Exception e )<br />
{<br />
     ExceptionHandlingDialog ehd = new ExceptionHandlingDialog( e );<br />
     ehd.ShowDialog();<br />
}<br />

AnswerRe: catching exceptions and posting them in a dialog Pin
Dan Neely20-Jun-06 8:09
Dan Neely20-Jun-06 8:09 
GeneralRe: catching exceptions and posting them in a dialog Pin
Johnny Hooyberghs20-Jun-06 8:25
Johnny Hooyberghs20-Jun-06 8:25 
GeneralRe: catching exceptions and posting them in a dialog Pin
Dan Neely20-Jun-06 8:51
Dan Neely20-Jun-06 8:51 
QuestionStatic constructor Pin
Ista20-Jun-06 6:37
Ista20-Jun-06 6:37 
AnswerRe: Static constructor Pin
Le centriste20-Jun-06 8:54
Le centriste20-Jun-06 8:54 
GeneralRe: Static constructor Pin
Ista20-Jun-06 8:55
Ista20-Jun-06 8:55 
GeneralRe: Static constructor Pin
Josh Smith20-Jun-06 9:42
Josh Smith20-Jun-06 9:42 
JokeRe: Static constructor Pin
Le centriste21-Jun-06 8:57
Le centriste21-Jun-06 8:57 
GeneralRe: Static constructor Pin
Josh Smith24-Jun-06 15:37
Josh Smith24-Jun-06 15:37 
QuestionArgh, no matter how long I stare at this, I don't get it (XML Serialization related) [modified] Pin
ThisIsMyUserName220-Jun-06 6:37
ThisIsMyUserName220-Jun-06 6:37 
AnswerRe: Argh, no matter how long I stare at this, I don't get it (XML Serialization related) [modified] Pin
mikanu20-Jun-06 9:09
mikanu20-Jun-06 9:09 
GeneralRe: Argh, no matter how long I stare at this, I don't get it (XML Serialization related) [modified] Pin
ThisIsMyUserName220-Jun-06 10:57
ThisIsMyUserName220-Jun-06 10:57 
Questionregain control Pin
donkaiser20-Jun-06 5:59
donkaiser20-Jun-06 5:59 
AnswerRe: regain control Pin
Nicholas Butler20-Jun-06 6:08
sitebuilderNicholas Butler20-Jun-06 6:08 
AnswerRe: regain control Pin
Jun Du20-Jun-06 6:13
Jun Du20-Jun-06 6:13 
GeneralRe: regain control Pin
donkaiser20-Jun-06 6:18
donkaiser20-Jun-06 6:18 
GeneralRe: regain control [modified] Pin
Judah Gabriel Himango20-Jun-06 10:18
sponsorJudah Gabriel Himango20-Jun-06 10:18 

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.