Solved

comment application for VB.

Posted on 2003-10-29
3
180 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

791 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