[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?

Joel,

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:

http://p2p.wrox.com/archive/aspx/2002-08/62.asp
[searched google "vbCRLF not declared", first link  :-) ]

Joshua





More information about the thelist mailing list