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

comment a code block in VB6

Status
Not open for further replies.

ultra2

Programmer
Jun 26, 2005
46
0
0
HU
can I comment a code block in VB6 without having to comment each line separately?..

like c++:

/*
...
code block
...
*/

plz help
 
There is an icon on the EDIT toolbar that allows you to do this.
My best description would be 5 horizontal lines. The second and third are blue and the rest black.

On mouseover the button displays the tooltip "Comment Block"

Hope this helps

HarleyQuinn
---------------------------------
Help us to help you,
read FAQ222-2244 before posting.
 
thx,
and cant I use shortcut keys to activate that and other menu commands..

I mean can I configure shortcut keys any way in VB6?
 
That would prevent the code from executing but it wouldn't do anything for compile errors.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top