Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add-in catching events while debugging?

Status
Not open for further replies.

jel

Programmer
Feb 17, 2002
349
NL
Call me naive, but I wanted to build my own Watch-window for VB6. So I thought to make an Add-in, also in VB6. However:
I can't even figure out where to add an entry in the pop-up menu you get when right-clicking on a variable when in debug-mode.
Furthermore, I wouldn't know how to get a reference to the selected variable (or the object it refers to) in the code of my add-in.
Am I trying to do something impossible or did I just miss some essential documentation?
 
The documentation is buried pretty deep in the help files. Search MS or the "Building VB (or visual basic) Addin (or add in)" and you should get a couple of good results.

Good Luck
 
Yes, well I had been searching a bit.
Info I found was on add-ins to manage code, that is in design-mode, not catching variables while on a breakpoint.
I won't despair yet...
 
It's been quite a while since I looked at add-ins, but the basic idea is that you reference the design time environment as an object. It has properties, methods, events, etc, that you can use in your add-in code. I would research those, and see what I could find.

Hope this helps a little,

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top