Click here to Skip to main content
15,911,306 members
Home / Discussions / C#
   

C#

 
GeneralRe: WMI in C#? Pin
ekynox8-Jan-08 18:11
ekynox8-Jan-08 18:11 
GeneralRe: WMI in C#? Pin
Marutar9-Jan-08 3:30
Marutar9-Jan-08 3:30 
GeneralRe: WMI in C#? Pin
ekynox9-Jan-08 9:56
ekynox9-Jan-08 9:56 
GeneralWhy i am getting MessageBox twice Pin
netJP12L8-Jan-08 9:30
netJP12L8-Jan-08 9:30 
GeneralRe: Why i am getting MessageBox twice Pin
Christian Graus8-Jan-08 9:51
protectorChristian Graus8-Jan-08 9:51 
GeneralRe: Why i am getting MessageBox twice Pin
netJP12L8-Jan-08 10:52
netJP12L8-Jan-08 10:52 
GeneralRe: Why i am getting MessageBox twice Pin
Skippums8-Jan-08 11:18
Skippums8-Jan-08 11:18 
GeneralRe: Why i am getting MessageBox twice Pin
netJP12L8-Jan-08 16:19
netJP12L8-Jan-08 16:19 
What i have discovered is that when the when the debugger hits to the MessageBox.Show inside the catch block it goes back to the start of the function and then start all over again. I couldn't figure out why is it behaving like this. If i remove the MessageBox.show then it works fine but i want to display my customize error message.

Line 24 is where my MessageBox.show is defined

========Below are the call stack i got==================
myHelp.exe!TypeConverters.MyIntConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext context = {System.Windows.Forms.PropertyGridInternal.PropertyDescriptorGridEntry EmployeeID}, System.Globalization.CultureInfo culture = {en-US}, object value = "9s") Line 33 C#

[External Code]

myHelp.exe!TypeConverters.MyIntConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext context = {System.Windows.Forms.PropertyGridInternal.PropertyDescriptorGridEntry EmployeeID}, System.Globalization.CultureInfo culture = {en-US}, object value = "9s") Line 24 + 0xb bytes C#

[External Code]

myHelp.exe!TypeConverters.MyIntConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext context = {System.Windows.Forms.PropertyGridInternal.PropertyDescriptorGridEntry EmployeeID}, System.Globalization.CultureInfo culture = {en-US}, object value = "9s") Line 24 + 0xb bytes C#

[External Code]

myHelp.exe!myHelp.Program.Main() Line 17 + 0x1a bytes C#

[External Code]


I get this message when i do MessageBox.Show(e.StackTrace.Tostring());

at System.Number.StringToNumber(String str,NumberStyles options, NumberBuffer& number,
NumberFormatInfo info, Boolean ParseDecimal at System.Number.ParseInt32(string s,
NumberStyles style, NumberFormatInfo info) at System.Int32.Parse(string)
at TypeConverters.MyIntConverter.ConvertFrom(ITypeDescriptorContext context,
CultureInfo culture, Object value) in Document\Project\MyIntConverter.cs line 20
GeneralRe: Why i am getting MessageBox twice Pin
PIEBALDconsult8-Jan-08 9:52
mvePIEBALDconsult8-Jan-08 9:52 
GeneralRe: Why i am getting MessageBox twice Pin
visualhint11-Jan-08 4:07
visualhint11-Jan-08 4:07 
General[C#.net] Connection on data base sqlserver Pin
abbd8-Jan-08 8:32
abbd8-Jan-08 8:32 
GeneralRe: [C#.net] Connection on data base sqlserver Pin
J4amieC8-Jan-08 8:58
J4amieC8-Jan-08 8:58 
GeneralRe: [C#.net] Connection on data base sqlserver Pin
Colin Angus Mackay8-Jan-08 9:06
Colin Angus Mackay8-Jan-08 9:06 
GeneralRe: [C#.net] Connection on data base sqlserver Pin
Ennis Ray Lynch, Jr.8-Jan-08 9:29
Ennis Ray Lynch, Jr.8-Jan-08 9:29 
Question.axpx+javascript ? Pin
simworld8-Jan-08 8:24
simworld8-Jan-08 8:24 
AnswerRe: .axpx+javascript ? Pin
Christian Graus8-Jan-08 9:13
protectorChristian Graus8-Jan-08 9:13 
AnswerRe: .axpx+javascript ? Pin
Ennis Ray Lynch, Jr.8-Jan-08 9:32
Ennis Ray Lynch, Jr.8-Jan-08 9:32 
GeneralCustom Xml Serialization Pin
Skippums8-Jan-08 8:09
Skippums8-Jan-08 8:09 
GeneralRe: Custom Xml Serialization Pin
Ennis Ray Lynch, Jr.8-Jan-08 8:39
Ennis Ray Lynch, Jr.8-Jan-08 8:39 
QuestionRe: Custom Xml Serialization Pin
Skippums8-Jan-08 10:07
Skippums8-Jan-08 10:07 
GeneralRe: Custom Xml Serialization Pin
Ennis Ray Lynch, Jr.8-Jan-08 10:12
Ennis Ray Lynch, Jr.8-Jan-08 10:12 
QuestionRe: Custom Xml Serialization Pin
Skippums8-Jan-08 10:33
Skippums8-Jan-08 10:33 
GeneralRe: Custom Xml Serialization Pin
Ennis Ray Lynch, Jr.8-Jan-08 10:35
Ennis Ray Lynch, Jr.8-Jan-08 10:35 
GeneralRe: Custom Xml Serialization Pin
Skippums8-Jan-08 10:48
Skippums8-Jan-08 10:48 
GeneralInteresting Pin
Ennis Ray Lynch, Jr.8-Jan-08 11:01
Ennis Ray Lynch, Jr.8-Jan-08 11:01 

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.