Add quick notes in vc6.0

Source: Internet
Author: User

forgive me for being ignorant. A few months ago, I learned that there are many shortcuts for pressing CTRL + a key in 2005, the most common commands are Ctrl + k, CTRL + C, and CTRL + k, CTRL + U. Now I suddenly want to use it in this book, only 6.0. I found a method, which is feasible as follows:
open notepad, enter the following Code :

sub commentblock ()
with activedocument. selection
'select the text from the document opened in the current window
. replacetext "% ","//", dsmatchregexpb
'added at the start position // comment
end with
end sub

sub uncommentblock ()
with activedocument. selection
. replacetext "% //", "", dsmatchregexpb
'Similarly, remove the annotator found in the selection text header
end with
end s UB

install and use this macro file:

1. Name this file commentmac. DSM, save it to O: \ vs6 \ common \ msdev98 \ macros under your vs installation directory;

2. Right-click the toolbar of vs6, click customize

1), add-ins and macro files properties page, and select commentmac.

2) select the keyboard property page, select macros under category, and select the shortcut key for commands

.

top

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.