Quantcast

SyntaxBoxControl causing a Windows exception - "A generic error occurred in GDI+"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SyntaxBoxControl causing a Windows exception - "A generic error occurred in GDI+"

dsjohn
Will editing text in the "Alsing.Windows.Form.SyntaxBoxControl" class, Windows throws the following exception.

************** Exception Text **************
System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
   at System.Drawing.Bitmap.GetHicon()
   at BLASR_GUI_2008.frmRatingPlan.ShowStatus(String s)
   at BLASR_GUI_2008.frmRatingPlan.sbcEditor_TextChanged(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
   at Alsing.Windows.Forms.SyntaxBoxControl.OnChange(Object Sender, EventArgs e)
   at Alsing.SourceCode.SyntaxDocument.OnChange()
   at Alsing.SourceCode.SyntaxDocument.InsertText(String text, Int32 xPos, Int32 yPos, Boolean StoreUndo)
   at Alsing.SourceCode.SyntaxDocument.InsertText(String text, Int32 xPos, Int32 yPos)
   at Alsing.Windows.Forms.SyntaxBox.EditViewControl.InsertText(String text)
   at Alsing.Windows.Forms.SyntaxBox.EditViewControl.OnKeyPress(KeyPressEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at Alsing.Windows.Forms.BaseControl.WndProc(Message& m)
   at Alsing.Windows.Forms.SyntaxBox.EditViewControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Any ideas what causes this exception?

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SyntaxBoxControl causing a Windows exception - "A generic error occurred in GDI+"

info-2
On 9/9/2013 10:29 PM, dsjohn wrote:
> Any ideas what causes this exception?
Who is Alsing and what is his relationship with iTextSharp?

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Loading...