Important alert: (current site time 7/16/2013 3:23:53 AM EDT)
 

winzip icon

C Style Project Explorer Add-in

Email
Submitted on: 11/2/2000 9:25:54 PM
By: Roger Willcocks 
Level: Intermediate
User Rating: By 56 Users
Compatibility: VB 6.0
Views: 24696
author picture
(About the author)
 
     Acts as a C style project explorer for the active VB project. Shows Enums, Declares, Property, Function, Sub Highlights incorrect nesting in red. Allows you to expand/contract nodes to view the code flow. Clicking on a node will open that module and goto the selected line

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

11/3/2000 9:14:45 AMMichael Heath

Roger,
Excellent job! Looks great and works just as good. I was hoping to do this sort of addin myself. I really like VC++'s explorer and wanted VB to have the same. Thanks, this just saved me some work. :)
(If this comment was disrespectful, please report it.)

 
11/3/2000 8:41:36 PMMichael L. Barker

How the hell did this NOT make code of the day! NICE JOB!
(If this comment was disrespectful, please report it.)

 
11/3/2000 9:18:23 PMErik Forbes

:)
A+ 100%! Gratz man, this is great work. :)
(If this comment was disrespectful, please report it.)

 
11/3/2000 11:00:22 PMARRiVE

Great job Roger!!!!!!!!!!
(If this comment was disrespectful, please report it.)

 
11/5/2000 12:06:27 AMBrian

This is very nice. It could use a couple minor refinements, but overall it is a great idea, and very useful. Good work.
(If this comment was disrespectful, please report it.)

 
11/10/2000 10:32:31 AMJohn Bush

The name should be changed to Godsend Code Validator! Great Job! .... And in response to your question regarding the loading, yes. I think loading the each module when it is expanded and/or a refresh button would be a great addition.
(If this comment was disrespectful, please report it.)

 
11/14/2000 9:34:23 AMwgreen7

Upgraded my vote for ya. Great Job

wgreen7@visteon.com
(If this comment was disrespectful, please report it.)

 
11/15/2000 4:42:31 PMSimon Price

I think this is one of the best submissions on PSC! But because I'm so thick (to be fair, I've never seen a VB Add-In before) I don't know how to use this. I tried to add it but VB said "VBCodeAddIn.dll is not a valid Visual Basic add in". Can you please tell me how I add this to my VB? I have VB6. Thanks.
(If this comment was disrespectful, please report it.)

 
11/15/2000 6:58:47 PMSimon Price

Thanks for your help, I got it working! This is brilliant, I give out excellent votes too easily, but this really does deserve 5/5. I'm going to try and make my first Add-In, thanks to your example.
(If this comment was disrespectful, please report it.)

 
11/17/2000 11:34:09 PMAckbar

Same problem here as Simon Price. I'd really love to see it work, it looks great. Thanks in advance for the help. I'll give you an excelent now cause everyone else loves it and they can't all be wrong :)
(If this comment was disrespectful, please report it.)

 
11/19/2000 2:01:08 PMDieter

this is really, really,... cool ! ! ! Except for the bugs :-)
(If this comment was disrespectful, please report it.)

 
11/22/2000 2:26:04 AM<.:|SLiGoWaThS|:.>

Greaaaaaaaaaattttt Code....Nice!!!!
(If this comment was disrespectful, please report it.)

 
11/29/2000 11:02:06 PMRob Martindale

Nice work Rog.
Glad to see they don't keep you too busy.
(If this comment was disrespectful, please report it.)

 
12/4/2000 3:44:12 PMlivinINvb

holy s*** this is sweet! i give u a 5!!! i'd give you a 1000000 if i could
(If this comment was disrespectful, please report it.)

 
12/17/2000 12:42:42 AMRAM

HOW DO YOU LOAD IT?
(If this comment was disrespectful, please report it.)

 
12/17/2000 12:42:54 AMRAM

HOW DO YOU LOAD IT UNDER WINDOWS 2000?
(If this comment was disrespectful, please report it.)

 
12/23/2000 6:43:18 PMKris

How do i use this project?
Please respond...
(If this comment was disrespectful, please report it.)

 
12/30/2000 11:36:24 AMJohn G.

Downloaded project, compiled it and tried to use it with your .vbp project as an example and got message "Type Mismatch" when using the Add-in Mnager to load it.
Tried it on several other projects however and it works just fine.
Thanks for a fantastic add-id.
Just started playing with C++ and was overjoyed to see a VB version of its explorer
(If this comment was disrespectful, please report it.)

 
1/11/2001 12:35:50 AMPhilip

Excellent...One more suggestion, if we could able to copy the structer....it will be very nice. Pls try to add the facility to print the explorer
(If this comment was disrespectful, please report it.)

 
5/23/2001 11:01:07 AMBob Hamilton

A nice piece of code, but much of the credit belongs to Steve McMahon of vbaccelerator.com.

If you take the time to remove the "author's" system dependencies from CodeViewerAddIn.vbp it will load and run just fine (assuming you have all the required MSOffice and VB files).

5 of the 7 modules were written by Steve, including: MSubclass & ISubclass from Steve's SSubTmr.DLL sample, and cNCMetrics & cPopupMenu from his Popup Menu ActiveX DLL. I'm not sure what sample mAPIAndCallbacks came from but it still has Steve's copyright notice in the Declarations.

I presume that docAddin was authored by Roger Willcocks and it does glue it all together. Something blue-screens Win98SE but do I blame Steve or Roger?

Steve is not particularily demanding of credit (see "About" on his web-site) but lets give credit where credit is due.

Bob Hamilton

(If this comment was disrespectful, please report it.)

 
5/23/2001 4:41:31 PMRoger Willcocks

You are quite correct about Steve McMahon, who writes great code.
I was under the impression that I had mentioned that
the popup menus (which those 5 modules you mention are all
required for) where his.

If not, well I guess I'm saying so now :)

In fact, the entire point of the addin was to validiatethe code structure.
I only added the pop-up afterwards to replicate some of the functionality
of the original project explorer.

I'm not actually sure what some of the references are doing in this copy, so I'll re-upload this I think.
(If this comment was disrespectful, please report it.)

 
5/26/2001 1:31:03 PMMerlin

Wow
This is the best Code of Planet-Source-Code.com. I thing this is not to surpass. When i can you become from me a Rate of 10.

Respect
Merlin
(If this comment was disrespectful, please report it.)

 
6/27/2001 7:18:14 AMKuthula

This is sooo sweet...I've never seen C++ explorer but after using Query Analyzer for SQL Server 2000 VB was becoming a pain in the butt without one.
(If this comment was disrespectful, please report it.)

 
8/23/2001 1:13:38 PMhtiger

Great work! A couple of additions might be useful:
1. When you click on a line entry in the tree, it should highlight the line in the code.
2. A refresh button.
3. The ability to right click a variable, constant, or other in the tree and be able to insert the text into the code.

Other than these few suggestions I like it very much!!
(If this comment was disrespectful, please report it.)

 
9/28/2001 11:07:26 PMLance_Vorgin

Wow - nice piece of work! It crashes from time to time - but only with all the const's [I have] shown. Very handy!
(If this comment was disrespectful, please report it.)

 
11/26/2001 2:18:00 AMFatty

Could someone please instruct me on how to install this...
(If this comment was disrespectful, please report it.)

 
12/31/2001 12:32:05 PMRoger Reeder

This is real useful, your code looks good. Wonder why MS didn't include it in the VBE. 5 globes from me.
(If this comment was disrespectful, please report it.)

 
1/3/2002 7:14:48 AMAnton Knieriemen

Replaces the Standard VB Project explorer for me. 5++++++++++
(If this comment was disrespectful, please report it.)

 
1/4/2002 6:44:58 PMNathan Dennis

I've never used C++ before but this addin is extremely usefull. Makes it heaps easier to find out what my code is doing. Five globes from me.
(If this comment was disrespectful, please report it.)

 
4/7/2002 1:44:36 AMUnruled Boy

this is really dead good!
(If this comment was disrespectful, please report it.)

 
4/20/2002 4:51:26 PMCodeJack

This is just what I was looking for!
(If this comment was disrespectful, please report it.)

 
11/6/2002 8:29:06 AMRafael Bonventi

does anyone mind telling me how to load this thing? i am so curious but i can get this thing to load? can anyone please help?
hope to hear from you soon
have a nice day
rafael
(If this comment was disrespectful, please report it.)

 
1/15/2003 2:11:41 AMrudz

Nice
(If this comment was disrespectful, please report it.)

 
4/6/2003 9:04:58 PMfuct

greeeaaat job, do give you a lot of probs for the time and effort put into the coding of the project. keep up the good work, and good luck to you in the future
(If this comment was disrespectful, please report it.)

 
12/13/2004 6:41:25 AMAlas.B.

Very nice man! Though it can be pretty slow on my "poor" 2ghz (if there are more than 1000 lines of code) :D, but still great!
(If this comment was disrespectful, please report it.)

 
7/3/2005 2:02:25 PMGonzalo Arreche

Really cool man (5 from me)
(If this comment was disrespectful, please report it.)

 
9/8/2005 9:50:17 AMGuy DETIENNE

Really a great job !
An add-in to facility my work.
(If this comment was disrespectful, please report it.)

 
7/6/2006 8:58:42 AMtheros

WOW that what i want!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.