Solved

Need ASCII Character Code

Posted on 2014-04-15
9
255 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 45

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 80

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 82

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 45

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

706 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

12 Experts available now in Live!

Get 1:1 Help Now