Solved

Need ASCII Character Code

Posted on 2014-04-15
9
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 40003047
0
 
LVL 47

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 47

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
troubleshoot a python script 8 114
Documenting and diagramming code flow within a VBA Excel project 5 81
VB6 Enviroment 3 37
Java import explained 4 49
This is an explanation of a simple data model to help parse a JSON feed
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

751 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