473,243 Members | 1,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,243 software developers and data experts.

Chr$(13) in .NET?

Does anyone know how to do Chr$(13) in .NET?

Thanks,

Eddie
Jul 21 '05 #1
16 8761
Hi, Eddie

check Environment.NewLine

HTH
Alex

"Eddie B." <eb*****@earthlink.com> wrote in message
news:eW*************@TK2MSFTNGP09.phx.gbl...
Does anyone know how to do Chr$(13) in .NET?

Thanks,

Eddie

Jul 21 '05 #2
u still able to use VbCr and VbLf as they was available in VB6. They still
works fine
Jul 21 '05 #3
As posted on the other group;

Actually, System.Environment.Newline is equivalent to "\r\n".

Chr$(13) is "\r". Chr$(10) is "\n"

Jul 21 '05 #4
guy can be scared by your "\r" and "\n"

dude, dont forget, that guy asked for VB stuff, so back to earth.

well, my post above is valid for this case.
Jul 21 '05 #5
<spider/> wrote:
guy can be scared by your "\r" and "\n"

dude, dont forget, that guy asked for VB stuff, so back to earth.


.... somehow seems to imply that programming VB means one is ... less abled.

--
Konrad -
http://madrat.net/
Jul 21 '05 #6
Absolutely, if you're using VB.NET - no problem.

Jul 21 '05 #7
<spider/> <bo********@yahoo.com> wrote:
guy can be scared by your "\r" and "\n"

dude, dont forget, that guy asked for VB stuff, so back to earth.


Where did he ask for VB stuff, at least in this post?

The question was also posted in the C# newsgroup, btw, which is a
fairly good reason for Jimi to believe he's interested in C#.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #8
well, guys, you just have to pay attention to what people writing to
you.....
Jul 21 '05 #9
<spider/> <bo********@yahoo.com> wrote:
well, guys, you just have to pay attention to what people writing to
you.....


So where exactly *did* he ask for the solution in VB? As far as I can
see he only said ".NET" which is very different from "VB.NET".

The only other posts I can see from him in this newsgroup have been
non-language-specific.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #10
Jon,

Have a look at this and especialy to my question to crosspost next time, to
Edie

http://www.google.com/gr**************************************@news.free net.de

For the rest I agree

Cor
Jul 21 '05 #11
Cor Ligthert <no**********@planet.nl> wrote:
Have a look at this and especialy to my question to crosspost next time, to
Edie
I entirely agree that cross-posting (or just posting once in the most
appropriate group) would have avoided the problem.
http://www.google.com/gr**************************************@news.free net.de

For the rest I agree


So he posted in a VB.NET group as well. Given that he posted in a C#
group, it's not unreasonable of a person who reads a C# group but not
the VB.NET group to think that he might want it in C#. I think
<spider/>'s post was rather rude, considering that even within the
VB.NET group Eddie didn't specifically ask for "VB stuff".

This is obviously a good demonstration of how multi-posting causes
problems - but that's not (IMO) a good reason for <spider/> to have
been rude.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #12
well, i dont f*ing. care abour xposts and whatever, for last 12 years iv
seen more then enough stuff that makes people nervouse, for me it's just a
daily crap.

so guy, da stupid question is, have u ever seen, that c++ or c# had function
titled **Chr$()** and guy specified Chr$(13), not a &hd, not a 0x0D or
whatever, its was just bloody basic 13 with basic Chr$.

i just dont like messing arround, things are simple, its black or white or
dead or not, its not about being rude, im not, im just pissed off sometimes
about flaming for no reason.

u dont need to answer, i'm not going to do it anyway too.

have a good byte-messing.
Jul 21 '05 #13
How about a group hug?

--
William Stacey, MVP

"<spider/>" <bo********@yahoo.com> wrote in message
news:2g************@uni-berlin.de...
well, i dont f*ing. care abour xposts and whatever, for last 12 years iv
seen more then enough stuff that makes people nervouse, for me it's just a
daily crap.

so guy, da stupid question is, have u ever seen, that c++ or c# had function titled **Chr$()** and guy specified Chr$(13), not a &hd, not a 0x0D or
whatever, its was just bloody basic 13 with basic Chr$.

i just dont like messing arround, things are simple, its black or white or
dead or not, its not about being rude, im not, im just pissed off sometimes about flaming for no reason.

u dont need to answer, i'm not going to do it anyway too.

have a good byte-messing.


Jul 21 '05 #14
why not ;)
Jul 21 '05 #15
<spider/> <bo********@yahoo.com> wrote:
well, i dont f*ing. care abour xposts and whatever, for last 12 years iv
seen more then enough stuff that makes people nervouse, for me it's just a
daily crap.

so guy, da stupid question is, have u ever seen, that c++ or c# had function
titled **Chr$()** and guy specified Chr$(13), not a &hd, not a 0x0D or
whatever, its was just bloody basic 13 with basic Chr$.
That shows he's coming *from* a VB environment. There are plenty of ex-
VB programmers who are no using C#.
i just dont like messing arround, things are simple, its black or white or
dead or not, its not about being rude, im not
Yes, you were rude. You suggested that people weren't paying attention
when they were - they just weren't reading all the groups you were,
just as you weren't reading all the groups they were.
im just pissed off sometimes about flaming for no reason.


That's exactly what I'm annoyed about too - you flamed Jimi (slightly)
for no good reason.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #16
Hi Spider,

You cannot say that Jon and I have often the same idea's and in my opinion
that rude is a little bit overdone. It is in my opinion more that not every
bird has the same note.

However with the point I think he is right, I have always fun arguing with
Jon, so I was thinking first it is CHR so it is VB. However thinking that
Edie would have known the C# equivalent for this is very obvious, so I did
not tell that.

:-)

Cor
Jul 21 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Christian Christmann | last post by:
Hi, I want to read a file line by line and tokenize the content. My code: ifstream Configuration; Configuration.open("config.cfg"); // assume that max. length of line in configuration file...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.