473,395 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Trying to Track down an Unhandled Exception

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_PreferredHeig ht()
at System.Windows.Forms.TextBoxBase.AdjustHeight()
at System.Windows.Forms.TextBoxBase.OnHandleCreated(E ventArgs e)
at System.Windows.Forms.TextBox.OnHandleCreated(Event Args 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(M essage& 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

Jun 29 '06 #1
1 1520
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

"Brien King" <br***@classic-soft.com> schreef in bericht
news:uT**************@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_PreferredHeig ht()
at System.Windows.Forms.TextBoxBase.AdjustHeight()
at System.Windows.Forms.TextBoxBase.OnHandleCreated(E ventArgs e)
at System.Windows.Forms.TextBox.OnHandleCreated(Event Args 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(M essage& 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

Jun 30 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: steve_o | last post by:
I have had to create a new project file to update a deployed asp.net application. I then built the project and using "Copy Project" to deploy to the live server. Now when the application tries to use...
5
by: Lucvdv | last post by:
Can someone explain why this code pops up a messagebox saying the ThreadAbortException wasn't handled? The first exception is reported only in the debug pane, as expected. The second (caused by...
1
by: nagar | last post by:
Hi, in a .NET 2.0 application, I'm noticing that sometimes the application simply crashes and exists without showing any message. I have the impression this has to do with some exceptions that are...
5
by: Mahmoud Al-Qudsi | last post by:
I have an application that builds and runs just fine on my PC. It's pure C#, no P/Invoke, no Win requirements or anything. I built the app, stuck the dependcies in the same DIR, and copied it to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.