How to block comment?

  • Thread starter Thread starter Brett
  • Start date Start date
Not in VB.NET, you have to select all lines at then Edit, Advanced, Comment
Selection menu, or a keyboard shortcut for that menu.

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Nope.

From VS.NET IDE, Press Ctrl+K, Ctrl+C to comment blocks of code. This still
uses ' character on each line for commenting.

Is there a way to comment blocks of code? Similar to SQL's /* */

Thanks,
Brett
 
Mark said:
Not that I know of, but the "Comment out the selected lines" icon on
the Text Editor Toolbar works well.

P.S. I don't recall if these buttons are on the Text Editor Toolbar by
default or if I had to add them. IIRC in VB6 you had to add them to the
toolbar.

-- Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top