Click here to Skip to main content
15,885,767 members
Home / Discussions / C#
   

C#

 
QuestionHow to use scripts in my applicaction?!? Pin
EdgarBM6-Oct-02 23:58
EdgarBM6-Oct-02 23:58 
GeneralAspose.Obfuscator 1.0 Released! Pin
Aspose Pty Ltd6-Oct-02 21:31
Aspose Pty Ltd6-Oct-02 21:31 
GeneralRe: Aspose.Obfuscator 1.0 Released! Pin
Stephane Rodriguez.6-Oct-02 22:19
Stephane Rodriguez.6-Oct-02 22:19 
GeneralRe: Aspose.Obfuscator 1.0 Released! Pin
leppie7-Oct-02 8:24
leppie7-Oct-02 8:24 
GeneralRe: Aspose.Obfuscator 1.0 Released! Pin
Patrick Lassalle14-Oct-02 12:01
Patrick Lassalle14-Oct-02 12:01 
Questionsetup wizered? Pin
imran_rafique6-Oct-02 17:45
imran_rafique6-Oct-02 17:45 
GeneralC# Debug problem in VS7 Pin
Elf6-Oct-02 16:45
Elf6-Oct-02 16:45 
GeneralRe: C# Debug problem in VS7 Pin
Russell Morris7-Oct-02 6:28
Russell Morris7-Oct-02 6:28 
The OnPaint() method is called by the guts of the WinForms library, and is wrapped in a try/catch block. The exception is being handled in a catch() handler there, which is why the debugger reports to you that it does not have the source code for the execution point.

You can handle this two ways:

- You can use the Debug | Exceptions dialog box to tell VS.NET to break immediately after any exception is thrown (whether or not it is handled). This will cause VS.NET to break inside your OnPaint() method.

- You can wrap your entire OnPaint implementation in a try/catch block so you handle all exceptions yourself (and possibly re-throw ones you can't recover from).

I would suggest the second option.

--
Russell Morris

"Have you gone mad Frink? Put down that science pole!"
GeneralVideo Streaming Pin
yccheok6-Oct-02 16:13
yccheok6-Oct-02 16:13 
GeneralRe: Video Streaming Pin
Daniel Strigl6-Oct-02 20:12
Daniel Strigl6-Oct-02 20:12 
GeneralRe: Video Streaming Pin
yccheok6-Oct-02 20:16
yccheok6-Oct-02 20:16 
GeneralRe: Video Streaming Pin
Philip Fitzsimons7-Oct-02 3:21
Philip Fitzsimons7-Oct-02 3:21 
GeneralEditing Bitmap File When PictureBox.Image Point To It Pin
yccheok6-Oct-02 15:31
yccheok6-Oct-02 15:31 
Generalproblem on drawing theme background on a bitmap Pin
Li-kai Liu (Angus)6-Oct-02 7:28
Li-kai Liu (Angus)6-Oct-02 7:28 
Questionhow to uninstall a software programatically ? Pin
imran_rafique5-Oct-02 16:49
imran_rafique5-Oct-02 16:49 
Questionhow to? Pin
imran_rafique5-Oct-02 15:11
imran_rafique5-Oct-02 15:11 
GeneralA simple one to answer Pin
Barry Lapthorn5-Oct-02 8:19
protectorBarry Lapthorn5-Oct-02 8:19 
GeneralRe: A simple one to answer Pin
Paul Riley5-Oct-02 10:38
Paul Riley5-Oct-02 10:38 
GeneralRe: A simple one to answer Pin
Barry Lapthorn5-Oct-02 11:10
protectorBarry Lapthorn5-Oct-02 11:10 
GeneralRe: A simple one to answer Pin
Paul Riley5-Oct-02 11:22
Paul Riley5-Oct-02 11:22 
GeneralRe: A simple one to answer Pin
Barry Lapthorn5-Oct-02 12:24
protectorBarry Lapthorn5-Oct-02 12:24 
GeneralRe: A simple one to answer Pin
Paul Riley5-Oct-02 12:30
Paul Riley5-Oct-02 12:30 
GeneralRe: A simple one to answer Pin
Barry Lapthorn5-Oct-02 12:47
protectorBarry Lapthorn5-Oct-02 12:47 
GeneralRe: A simple one to answer Pin
leppie5-Oct-02 13:54
leppie5-Oct-02 13:54 
GeneralRe: A simple one to answer Pin
leppie5-Oct-02 11:28
leppie5-Oct-02 11:28 

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.