?
Solved

Add-In for Creating a Call Tree

Posted on 2003-03-14
3
Medium Priority
?
338 Views
Last Modified: 2008-02-01
Sorry in advance for my stupid question. I'm an intermediate VBA programmer and a newbie to VB. I'm using VB6.0.

I read and thought I understood a Q&A on an add-in to make a call tree at http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20291526.html. Ameba gave a URL for a VBP that I could use to create an add-in. Now I've downloaded the project (CallTree.vbp) and manually registered the CallTree DLL by entering regsvr32 ... from "Run" on the Start menu.

So I opened VB again and looked at the Add-In Manager, and I see that CallTree looks like it's loaded (because Load Behavior is set to ALL and Loaded/Unloaded is checked in the lower right corner of the dialog box). But now I don't know what to do. Have I gained a menu command and not noticed? Or is there another step to do before I can use the Call Tree utility?

Thanks!

Rob
0
Comment
Question by:trf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
ameba earned 300 total points
ID: 8141287
Hi trf,
> Have I gained a menu command and not noticed?

Yes, menu Add-Ins, My AddIn

But that is not finished project - to develop/debug, open two VB IDEs - one with CallTree, and one with some other project file. Vhen you run CallTree, it will be temporary registered, and in the other VB you'll see it in the list of add-ins. When you stop debugging, unload the Addin from the second VB, or you'll get menu "My AddIn" multiple times... not a big problem, easy to solve it, but just a little warning so you are not surprised. :-)

Cheers!
0
 

Author Comment

by:trf
ID: 8155297
Thanks, I get it now! And thanks for writing the add-in!

One more question, if you feel like addressing it: I want to put this call tree into a report. The format is up to me - my best ideas are to put in Excel so I can put multiple call levels in the next column over, or to put in Word and use tabs to accomplish a similar layout. I like the graphics in your program, but I don't see how I would replicate them.

But even exporting to Excel/Word seems basically impossible, without hand-entering all the procedure/function names.

Do you have any ideas for what I am trying to do?

Let me know if I should ask this as a separate question and offer more points for it.

Thanks for your help, again!
Rob
0
 
LVL 15

Expert Comment

by:ameba
ID: 8155527
Hi, Rob

I cannot expand the program for you - sorry, I am not doing the free work - but if you see something in a treeview on the form, why would it be impossible to export it to Word/Excel without hand-entering names...
To read captions of treeview nodes should be simple, and maybe there is already some array or collection which holds that data.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question