|
 |
aspx thread: What happened to "VBCRLF" ?
Message #1 by "Oliver, Wells" <WOliver@l...> on Thu, 15 Aug 2002 13:35:56 -0700
|
|
Is it part of some namespace?
I get:
Compiler Error Message: BC30451: Name 'vbCrLf' is not declared.
Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com
Message #2 by Philo <philo@r...> on Thu, 15 Aug 2002 16:54:59 -0400
|
|
At 01:35 PM 8/15/2002 -0700, Oliver, Wells wrote:
>Is it part of some namespace?
>
>I get:
>Compiler Error Message: BC30451: Name 'vbCrLf' is not declared.
In C# it's replaced by \n
"This will \n write on two lines"
Not sure about VB.Net.
Philo
Message #3 by "Lindahl, Ron" <Ron.Lindahl@L...> on Thu, 15 Aug 2002 16:52:06 -0400
|
|
I've used this in one of my ASP.NET projects, and it's working normally. It
doesn't appear to be a part of a specific namespace. You can also try
vbNewLine. It's a constant which evaluates to the same two ASCII characters
(13 and 10) as vbCrLf. Or use the ASCII character functions explicitly.
Strange...maybe you could post the code from the compiler offending line,
maybe a couple lines before and after also.
-----Original Message-----
From: Oliver, Wells [mailto:WOliver@l...]
Sent: Thursday, August 15, 2002 4:36 PM
To: ASP+
Subject: [aspx] What happened to "VBCRLF" ?
Is it part of some namespace?
I get:
Compiler Error Message: BC30451: Name 'vbCrLf' is not declared.
Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com
---
ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442
ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450
These books are a complete reference to the ASP.NET namespaces
for developers who are already familiar with using ASP.NET.
There is no trivial introductory material or useless .NET
hype and the presentation of the namespaces, in an easy-to use
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes,
giving you those real-world tips that the documentation doesn't
offer, and demonstrating complex techniques with simple
examples.
---
Message #4 by Imar Spaanjaars <Imar@S...> on Thu, 15 Aug 2002 23:01:16 +0200
|
|
Are you using Visual Studio, or do you just create aspx pages??
I believe that Visual Studio creates a reference for you so that it is
available globally.
Outside VS, you may need to change it to: Microsoft.VisualBasic.vbCrLf
HtH
Imar
At 04:54 PM 8/15/2002 -0400, you wrote:
>At 01:35 PM 8/15/2002 -0700, Oliver, Wells wrote:
>>Is it part of some namespace?
>>
>>I get:
>>Compiler Error Message: BC30451: Name 'vbCrLf' is not declared.
>
>In C# it's replaced by \n
>"This will \n write on two lines"
>
>Not sure about VB.Net.
>
>Philo
>
>
Message #5 by "Mingkun Goh" <mangokun@h...> on Fri, 16 Aug 2002 12:18:20
|
|
Yes, Lindahl, Ron is right.
I also used vbNewLine in one of my .net project.
Previous message:
> Is it part of some namespace?
I get:
Compiler Error Message: BC30451: Name 'vbCrLf' is not declared.
Wells Oliver
Web Application Programmer
Leviton Voice & Data
xxx-xxx-xxxx
http://www.levitonvoicedata.com
|
|
 |