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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comments in code 2

Status
Not open for further replies.

nexcar

Programmer
Jun 30, 2003
49
US
Is there any way to comment (green out) multiple lines of code with VB6? I know how in other languages, (like \* code *\ in C) but not in VB. Not Urgent! Just wondering.

RUN FunnySignatureMessage
 
It's easy if you use MZ tools for VB. It's a free download from:

It also has lots of other really useful features for VB programmers.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
got it. It is great! Didn't know something like this existed! - Thanks

RUN FunnySignatureMessage
 

VB has this capability also.
You can also comment out multiple lines of code by simply adding the Edit icons under VIEW|TOOLBAR.

Then, mark the lines to be conmmented out and click the "Comment Block" icon. You can also un-comment lines.
 
CCLint: That was the answer to my question. I've never seend that toolbar before. Just never toyed around with the IDE enough to know. Thanks!

But I do suggest that VB programmers check out the mztools!

RUN FunnySignatureMessage
 

Thanks.

>check out the mztools

Has some good stuff doesn't it...

I use to program add-ins for some of these things...threw alot of them out once I was aware of mztools, and I didn't need to do anything anymore for the same or better functionality.
There are still a couple of things I'll keep though that mztools doesn't offer though, but, for the most part, mztools will same you time and make the work more fun.
 
but what happens when you make an executable and someone runs it on a computer that doesn't have mztools?
phil
 
it's just and addin for the VB ide. your projects aren't effected.

Sam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top