Solved

Need ASCII Character Code

Posted on 2014-04-15
9
258 Views
Last Modified: 2014-05-11
Hi Experts,
What is the ASCII code for CRLF (Carriage Return, Line Feed)?  My program was written in VB6.  

Thanks in advance,
mrotor
0
Comment
Question by:mainrotor
9 Comments
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 40003047
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 250 total points
ID: 40003058
You can use the built in constants and in this case it's VBCrLf.
0
 
LVL 81

Assisted Solution

by:byundt
byundt earned 250 total points
ID: 40003090
The carriage return is 13 and the line feed is 10.

I get those values by using ASC(vbcr) and ASC(vblf)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40003249
This is a pretty good table of the ASCII codes: http://www.ascii-code.com/   For more complete information about character sets, I usually go here: http://www.alanwood.net/
0
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 40004962
Did the link I sent provide the codes you needed?
0
 
LVL 40
ID: 40005040
The .NET way of working with that is to use Environment.NewLine.

You usually do not need the ASCII code themselves. If you could show us some sample code, we could tell you what is most appropriate for the situation.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40057279
I've requested that this question be closed as follows:

Accepted answer: 125 points for TG-TIS's comment #a40003047
Assisted answer: 125 points for byundt's comment #a40003090
Assisted answer: 125 points for MartinLiss's comment #a40003058
Assisted answer: 125 points for DaveBaldwin's comment #a40003249

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now