Solved

comment application for VB.

Posted on 2003-10-29
3
179 Views
Last Modified: 2010-05-01
I worked on a project where one of the devlprs pass around a comment application for commenting OUT code.  I no longer have this little tool and i now am working on a vba application where it would be very useful.

Its seem as though we had registered the app.  enter our name and title.
when we invoked it: it would drop in the necessary title bar.

so it essentially did at least 2 things:  
Droped in a title block
allowed the commenting out of large blocks of code.

if there is a shareware tool or something similiar please advise
thanks

bp
0
Comment
Question by:brianpowell
3 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 51 total points
ID: 9642386
Hi brianpowell,

http://www.mztools.com has a fairly useful add-in that does some if not all of this.

Tim Cottee MCSD, MCDBA, CPIM
Brainbench MVP for Visual Basic
http://www.brainbench.com
0
 
LVL 9

Expert Comment

by:dancebert
ID: 9642388
IN Vb, go to View | Toolbars | Customize menu selection.  Click on Commands tab, then select Edit from the Categories list.  Scroll down the right hand list until you come to the two entries 'Comment Block' and 'Uncomment Block'.  Drag and drop the two symbols to whatever toolbar you currently have displayed.  These work by commenting or uncommenting selected text.


This one doesn't actually comment it out, it just prevents it from executing

if false then
existing code
existing code
existing code
existing code
end if


0
 
LVL 1

Author Comment

by:brianpowell
ID: 9721751
The grade should be changed to an A but not sure how.

MZ Tool is the tool.

bp
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

776 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