Redwoodpec Posted October 25, 2003 Posted October 25, 2003 I am using a Font to print a small report. On my XP PC it works fine but on 2 of my friends PC's (Which are ME) I am getting an overflow error. System.ArithmeticException:Overflow or underflowin the arithmetic operation, at System Windows,Forms,PrintPreviewControl,CalculatePageInfo() at System,Window,Forms,Control,Invoke MarshaledCallBack() the VB command I am using is : label1.Font = New System.Drawing.Font("Arial", 10) anyone have any ideas? It works on Win 98 pc as well. Quote
*Gurus* Derek Stone Posted October 25, 2003 *Gurus* Posted October 25, 2003 I can almost guarantee that isn't the line causing the exception. Please post the entire block of code. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.