Home All Groups Group Topic Archive Search About

How to comment a block codes

Author
23 Sep 2005 10:07 AM
ajd
Hello,

I get a small question. How can I comment a block of codes without do it
line by line in VB?

Thanks in advance to anyone can help me

Author
23 Sep 2005 10:47 AM
DRBarkley
ajd,

You have crossposted this message.
You should read up on Multiposting vs Crossposting.
This message was already answered in another area.
If you had Multiposted, instead, the response would have shown up in each
place, simultaniously.

DRBarkley

Show quoteHide quote
"ajd" <some***@mi.com> wrote in message
news:OJlYjaCwFHA.724@TK2MSFTNGP14.phx.gbl...
> Hello,
>
> I get a small question. How can I comment a block of codes without do it
> line by line in VB?
>
> Thanks in advance to anyone can help me
>
>
>
Author
23 Sep 2005 11:41 AM
Matt Williamson
You have that backwards. Multiposting is bad. Cross-posting is ok as long as
it's done to relevant, targeted groups and only a few. At least then, one
answer goes back to each group.

-Matt

Show quoteHide quote
"DRBarkley" <David.NOSPAMBarkley@L-3NOSPAMCom.com> wrote in message
news:OgnhDxCwFHA.2076@TK2MSFTNGP14.phx.gbl...
> ajd,
>
> You have crossposted this message.
> You should read up on Multiposting vs Crossposting.
> This message was already answered in another area.
> If you had Multiposted, instead, the response would have shown up in each
> place, simultaniously.
>
> DRBarkley
>
> "ajd" <some***@mi.com> wrote in message
> news:OJlYjaCwFHA.724@TK2MSFTNGP14.phx.gbl...
>> Hello,
>>
>> I get a small question. How can I comment a block of codes without do it
>> line by line in VB?
>>
>> Thanks in advance to anyone can help me
>>
>>
>>
>
>
Author
23 Sep 2005 12:55 PM
DRBarkley
Doh!  Thanks for the catch.

DRBarkley

Show quoteHide quote
"Matt Williamson" <ih8spam@spamsux.org> wrote in message
news:%23VpN4ODwFHA.612@TK2MSFTNGP10.phx.gbl...
> You have that backwards. Multiposting is bad. Cross-posting is ok as long
as
> it's done to relevant, targeted groups and only a few. At least then, one
> answer goes back to each group.
>
> -Matt
>
> "DRBarkley" <David.NOSPAMBarkley@L-3NOSPAMCom.com> wrote in message
> news:OgnhDxCwFHA.2076@TK2MSFTNGP14.phx.gbl...
> > ajd,
> >
> > You have crossposted this message.
> > You should read up on Multiposting vs Crossposting.
> > This message was already answered in another area.
> > If you had Multiposted, instead, the response would have shown up in
each
> > place, simultaniously.
> >
> > DRBarkley
> >
> > "ajd" <some***@mi.com> wrote in message
> > news:OJlYjaCwFHA.724@TK2MSFTNGP14.phx.gbl...
> >> Hello,
> >>
> >> I get a small question. How can I comment a block of codes without do
it
> >> line by line in VB?
> >>
> >> Thanks in advance to anyone can help me
> >>
> >>
> >>
> >
> >
>
>
Author
23 Sep 2005 3:23 PM
Saga
Another reason multiposting is bad is becasue if I wanted to see what
reply you got (maybe I want to know how to do this too) there is no
way I can even begin to guess where it is you got the answer.

I could Google using the author or subject line, but here I need to
assume that you (the OP) used the same name and/or subject line.

Regards,
Saga

Show quoteHide quote
"DRBarkley" <David.NOSPAMBarkley@L-3NOSPAMCom.com> wrote in message
news:OgnhDxCwFHA.2076@TK2MSFTNGP14.phx.gbl...
> ajd,
>
> You have crossposted this message.
> You should read up on Multiposting vs Crossposting.
> This message was already answered in another area.
> If you had Multiposted, instead, the response would have shown up in
> each
> place, simultaniously.
>
> DRBarkley
>
> "ajd" <some***@mi.com> wrote in message
> news:OJlYjaCwFHA.724@TK2MSFTNGP14.phx.gbl...
>> Hello,
>>
>> I get a small question. How can I comment a block of codes without do
>> it
>> line by line in VB?
>>
>> Thanks in advance to anyone can help me
>>
>>
>>
>
>
Author
23 Sep 2005 5:56 PM
Barry
I agree with the cross/multi posting replies below - however the answer
to your question is - there is no shortcut key to comment & uncomment
blocks in VB6 - only the menu icons.

However, you can create your own shortcut keys...


Right click on the Comment Block Icon... Then choose Customize

Then right click on Comment Block Icon again...

Choose Image and Text

Then right click on Comment Block Icon again...

Go to the Name "area" and add an Ampersand infront
of the C so it looks like &Comment Block

Do the same thing for UnComment Block, this time using
&UnComment Block...


Then close the Customize window...


Now, Alt-C and Alt-U will Coment and Uncomment a block of text...


This info is courtsey of dnagel posted on Feb 13 2003, 6:48 pm.

Although, you should note that ALT & U is used for a different shortcut
(Query Menu) so I'd change the uncomment to something else.

HTH

Barry