Home All Groups Group Topic Archive Search About

Trying to Track down an Unhandled Exception

Author
29 Jun 2006 10:08 PM
Brien King
I have 40 users using my application and a few are getting this exception:

Message     : Invalid parameter used.
Source      : System.Drawing
Stack Trace :
   at System.Drawing.Font.GetHeight(Graphics graphics)
   at System.Drawing.Font.GetHeight()
   at System.Drawing.Font.get_Height()
   at System.Windows.Forms.Control.get_FontHeight()
   at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
   at System.Windows.Forms.TextBoxBase.AdjustHeight()
   at System.Windows.Forms.TextBoxBase.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.TextBox.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

They are running the software over Citrix, but not every user that uses the
software get's this error.  The ones that do get the error don't get it
consistently enough for me to debug into it and so far my efforts to
reproduce the issue have not been successful.  They do get it enough that it
is a problem though.

This is a .NET 1.1 Application.

Anyone have any ideas that might point me in the right direction?  Any way
to get it to give me more information so I might locate the cause?  At this
point I'm ready to implement function logging in the application so I can
trace it, but that is a lot of work that I would like to avoid.


Thanks,


Brien King
br***@classic-soft.com

Author
30 Jun 2006 5:34 AM
Cor Ligthert [MVP]
Brien,

This is a newsgroup about the use of the language VB.Net, not about the use
of VB.Net or any other Net assemblies.

For that there are other newsgroups like
microsoft.puclic.dotnet.general
and
microsoft.public.dotnet.framework.

In those you have probably a better chance for an answer.

Not that you are not welcome here of course,

Cor

Show quoteHide quote
"Brien King" <br***@classic-soft.com> schreef in bericht
news:uT9Rfi8mGHA.4212@TK2MSFTNGP04.phx.gbl...
>I have 40 users using my application and a few are getting this exception:
>
> Message     : Invalid parameter used.
> Source      : System.Drawing
> Stack Trace :
>   at System.Drawing.Font.GetHeight(Graphics graphics)
>   at System.Drawing.Font.GetHeight()
>   at System.Drawing.Font.get_Height()
>   at System.Windows.Forms.Control.get_FontHeight()
>   at System.Windows.Forms.TextBoxBase.get_PreferredHeight()
>   at System.Windows.Forms.TextBoxBase.AdjustHeight()
>   at System.Windows.Forms.TextBoxBase.OnHandleCreated(EventArgs e)
>   at System.Windows.Forms.TextBox.OnHandleCreated(EventArgs e)
>   at System.Windows.Forms.Control.WmCreate(Message& m)
>   at System.Windows.Forms.Control.WndProc(Message& m)
>   at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
>   at System.Windows.Forms.TextBox.WndProc(Message& m)
>   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
>   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
>   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
> IntPtr wparam, IntPtr lparam)
>
> They are running the software over Citrix, but not every user that uses
> the software get's this error.  The ones that do get the error don't get
> it consistently enough for me to debug into it and so far my efforts to
> reproduce the issue have not been successful.  They do get it enough that
> it is a problem though.
>
> This is a .NET 1.1 Application.
>
> Anyone have any ideas that might point me in the right direction?  Any way
> to get it to give me more information so I might locate the cause?  At
> this point I'm ready to implement function logging in the application so I
> can trace it, but that is a lot of work that I would like to avoid.
>
>
> Thanks,
>
>
> Brien King
> br***@classic-soft.com
>
>
>