I just learned something about tracking down these types of exceptions...

Try this:

Turn on Include Function names in the App properties.

        w = new WinMessageToSend
        try
                w.ShowModal
        catch err As RunTimeException
                dim s() As String
                s = err.Stack
                break
        end try

When you hit the break, examine s in the debugger and you'll see the function call stack that lead to the exception. S(0) should be the function that triggered the exception. I used this to find an exception being thrown in some encrypted classes.

HTH!
Mark

On Jan 16, 2007, at 11:29 AM, Arnaud Nicolet wrote:

Hello,

I've this code:

  w=new WinMessageToSend
  w.ShowModal
end sub

I put a breakpoint at the w.ShowModal line. Then, w is shown as modal. When w is closed, I get an OutOfBounds Exception "at" the w.ShowModal line. What can cause a ShowModal method to generate such an exception after it has been executed?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to