Re: VB utilities??

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello Cor,

I'm sorry, I should not have used the word "stack". What I was trying
to say, but did not do a very good job of, was something like below.

Thank you,
Don

Sub Main
Sub3
End Sub

Sub Sub2
Sub4
End Sub

Sub Sub3
Sub2
End Sub

Sub Sub4
'--Do Something
End Sub

Function Func1
Sub2
End Function

Function Func2
'--Do Something else
End Function

* * * OUTPUT * * *
Main
----Sub3
--------Sub2
------------Sub4

Func1
----Sub2

DEAD PROCEDURES

Function Func2

DECLARED but UNUSED VARIABLES

mstrDbPath As String, Declared in Sub3
mintParent As Intege, Declared in Func7



On Sun, 19 Mar 2006 07:39:30 +0100, "Cor Ligthert [MVP]"
<notmyfirstname@xxxxxxxxx> wrote:

Don,

From your message I understand that you know how the stacks work. However
what do you do with all the objects. Those are not in the stack and have a
lot of hidden codes.

By the way, the program you are talking about are in my idea already there.

Have a look at google for "profiler Net"

I hope this gives an idea

Cor

.



Relevant Pages

  • Re: Stack Overflow
    ... Sub Caller() ... '<<< COMPILER STORES THIS LOCATION ... Sub CalledFunction() ... (Think of it like a stack of plates. ...
    (microsoft.public.excel.programming)
  • How do you create error code?
    ... Sub MySub ... would have a picture of the stack up to the point where the error occurred. ... careful about not using Exit Sub without calling the RemoveSubmethod. ... would call a method back in the error handling object to say that the ...
    (microsoft.public.vb.general.discussion)
  • [Full-disclosure] DMA[2006-0801a] - Apple OSX fetchmail buffer overflow
    ... cause fetchmail to crash, or potentially make it execute code placed on the stack. ... In defiance of a 'very proactive approach to security' Apple's OSX remained unpatched ... sub ERR ...
    (Full-Disclosure)
  • DMA[2006-0801a] - Apple OSX fetchmail buffer overflow
    ... cause fetchmail to crash, or potentially make it execute code placed on the stack. ... In defiance of a 'very proactive approach to security' Apple's OSX remained unpatched ... sub ERR ...
    (Bugtraq)
  • Re: variable or propertie name for self written sub or function
    ... Call Stack to see who called the current procedure, ... to write the name of the Sub or Function that caused the error to be ... Tekst uit oorspronkelijk bericht weergeven - ...
    (microsoft.public.excel.programming)