Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual Basic
Expertise: Beginner
Apr 24, 1997



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Commenting Code Automatically

I feel dumb. Is there a way to block comment code in VB? I searched high and low for the answer, but it has escaped me.

Don't feel dumb...this was dumb on Microsoft's part. The Comment Block and Uncomment Block are not included on the Edit menu by default. However, you can edit your Edit menu by following these steps:

  • Right-click the menu bar and select Customize from the popup menu.
  • In the window that appears, select the Edit menu.
  • On the right hand side of the window, scroll down until you see the Comment Block choice.
  • Drag it up to the Edit menu and put it in the place you want.
  • Repeat the procedure for the Uncomment Block choice. I don't know why they didn't include all the choices, but at least they give you a way to change the menus and toolbars to your liking.
  • DevX Pro
    Comment and Contribute






    (Maximum characters: 1200). You have 1200 characters left.



    Thanks for your registration, follow us on our social networks to keep up-to-date