dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
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

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Commenting Code Automatically

Question:
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.

Answer:
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.

     

     

    Sitemap
    ×
    We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
    Thanks for your registration, follow us on our social networks to keep up-to-date