Solved

Need ASCII Character Code

Posted on 2014-04-15
9
266 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
Technology Partners: 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb wildfly example 2 70
VBA: copy range dynamically based on config sheet v2 3 55
Assignment from incompatible pointer type? 2 34
Java array 10 55
In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

735 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