You can't comment a block in VB to my knowledge.
Ronda
On Fri, 7 Jan 2005 18:31:55 -0000, Jason Handby <[EMAIL PROTECTED]> wrote:
>
>
> I know you use a ' to comment one line at a time. I haven't found
> how to
> comment a block of code. I knew how to do that in C++ but can't fine
> on the
> web how to do that in VB..................
>
>
> In VB.NET you can use #If False Then ... #End If to tell the compiler
> to ignore a section of code. For example,
>
> Public Sub New()
> MyBase.New()
>
> 'This call is required by the Windows Form Designer.
> InitializeComponent()
>
> 'Add any initialization after the InitializeComponent() call
>
> #If False Then
> 'Anything between the #If and the #End If will not be compiled.
> #End If
>
> End Sub
>
>
> Jason
>
>
> Yahoo! Groups Links
>
>
>
>
>
--
Ronda Pederson
MVP ASP.Net
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/