Hi Jim,
To comment out a block of code in VS.NET, you can highlight the desired lines of code and then click on the icon on the toolbar that has horizontile lines with the second and third line shown in light blue. For the menu equivalent, select Edit/Advanced/Comment Section.
To uncomment out a block of code in VS.NET, you can highlight the desired lines of already commented code and then click on the icon on the toolbar that has an undo arrow (rounds counterclockwise) then four horizontile lines with the first and second line shown in light blue. For the menu equivalent, select Edit/Advanced/UnComment Section.
>Thanks for all your replies.
>But a need to be more specific.
>
>How do I comment a BLOCK of code?
>In VFP you could right click on a block of code and comment/uncomment the entire section.
>
>thanks
>jim
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi