Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
GeneralRe: vb.net code to csharp Pin
raj51021-May-07 9:36
raj51021-May-07 9:36 
GeneralRe: vb.net code to csharp Pin
Dave Kreskowiak21-May-07 9:42
mveDave Kreskowiak21-May-07 9:42 
QuestionCall to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 8:25
DoomedOne21-May-07 8:25 
AnswerRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Dave Kreskowiak21-May-07 8:29
mveDave Kreskowiak21-May-07 8:29 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 8:46
DoomedOne21-May-07 8:46 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Dave Kreskowiak21-May-07 9:17
mveDave Kreskowiak21-May-07 9:17 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 9:40
DoomedOne21-May-07 9:40 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Dave Kreskowiak21-May-07 10:10
mveDave Kreskowiak21-May-07 10:10 
Let's see the code where this blows up. What line does it die on?

Did the previous timer event finish? What I mean is that the timer fires once, you start drawing on the image, the timer fires again, but you haven't finished drawing on the previous tick, so when you go to create another Graphics object to draw the next frame, it collides with the last one.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 10:46
DoomedOne21-May-07 10:46 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Luc Pattyn21-May-07 12:40
sitebuilderLuc Pattyn21-May-07 12:40 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne22-May-07 3:05
DoomedOne22-May-07 3:05 
AnswerRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne22-May-07 7:22
DoomedOne22-May-07 7:22 
QuestionHow to validate decimal value Pin
indiaone21-May-07 7:21
indiaone21-May-07 7:21 
AnswerRe: How to validate decimal value Pin
Sven Cipido21-May-07 7:34
Sven Cipido21-May-07 7:34 
AnswerRe: How to validate decimal value Pin
Are Jay21-May-07 8:00
Are Jay21-May-07 8:00 
QuestionDerived class constructors Pin
~~~Johnny~~~21-May-07 7:08
~~~Johnny~~~21-May-07 7:08 
AnswerRe: Derived class constructors Pin
Not Active21-May-07 7:15
mentorNot Active21-May-07 7:15 
AnswerRe: Derived class constructors Pin
Dave Kreskowiak21-May-07 7:24
mveDave Kreskowiak21-May-07 7:24 
GeneralRe: Derived class constructors Pin
~~~Johnny~~~21-May-07 7:36
~~~Johnny~~~21-May-07 7:36 
GeneralRe: Derived class constructors Pin
Dave Kreskowiak21-May-07 8:24
mveDave Kreskowiak21-May-07 8:24 
AnswerRe: Derived class constructors Pin
Dave Herren21-May-07 7:41
Dave Herren21-May-07 7:41 
GeneralRe: Derived class constructors Pin
~~~Johnny~~~21-May-07 8:12
~~~Johnny~~~21-May-07 8:12 
GeneralRe: Derived class constructors Pin
Dave Herren21-May-07 9:48
Dave Herren21-May-07 9:48 
GeneralRe: Derived class constructors Pin
~~~Johnny~~~21-May-07 10:37
~~~Johnny~~~21-May-07 10:37 
Question.net test question bank creator Pin
rajantawate1(http//www.tawateventures.com21-May-07 7:02
rajantawate1(http//www.tawateventures.com21-May-07 7:02 

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.