[thelist] vbCrLf or vbNewLine in .NET?

Joshua Olson joshua at waetech.com
Thu Aug 2 14:25:28 CDT 2007

> -----Original Message-----
> From: Joel D Canfield
> Sent: Thursday, August 02, 2007 3:16 PM
> here's the error I get, using either:
>     BC30451: Name 'vbNewLine' is not declared.
> of course, if I use vbCrLf that's what's not declared.
> how do y'all insert line breaks in your code for readibility when
> viewing the page source?


Er, I use vbCRLF.  If you're using ASP then this should work and the CONST
need not be defined.  You are using ASP, right?  I'm guessing you are using
ASP.NET though:

[searched google "vbCRLF not declared", first link  :-) ]


More information about the thelist mailing list