Click to See Complete Forum and Search --> : Put big part of code in comments


regis
February 10th, 2000, 09:32 AM
Do you know an other method to put text in comments in code in VB

like Visual C /* code */

I know '.... but with a large comments is't long

Sorry for my english

Thanks
Redg

JimmyT
February 10th, 2000, 10:28 AM
I don't think that there is a block command similar to /* */, but...

If you look under View|Toolbars, there is a 'Edit' toolbar that has an icon that will automatically put the comment ' apostrophe in front of every line in a block of selected code. I hope this helps...

Lothar Haensler
February 11th, 2000, 01:30 AM
you can also use the "PreCompiler" directives in vb 5 and above:
#if 0 then
msgbox "this will not be executed"
...
#endif