Peter Duniho said:
Can you clarify what you're trying to do?
snip
If none of that information is useful, maybe you can write in a more exact
way what it is you're trying to do.
Pete
Thanks,
the current example was I usually log a line in each function/sub at start
and end to follow the program flow (so i can see where things went south)
ex: (in vbish syntax but same idea in c#)
Sub Somesub()
Dim ProcName as String = "SomeSub"
moDebugger.ProcStart (ProcName)
....code...
moDebugger.ProcEnd (ProcName)
End Sub
with mztools in vb6 I could insert that with a keystroke in any sub/func and
it would 'read' the sub name and fill in accordingly
similarly there were various other sections of code that appeared somewhat
repetitively in various routines i used to write, it was handy to be able to
insert any text with a keystroke combination when needed.
i think mztools called them code templates
thanks
mark