Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7986759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:56:42+00:00 2026-06-04T11:56:42+00:00

The below lines does not write anything to the file, ascii.txt. Trying to write

  • 0

The below lines does not write anything to the file, ascii.txt. Trying to write the ascii equivalent of hex “88”. However nothing is written to the file, nor nothing is asssigned to the variable, ascii.

Dim ascii = ChrW(Convert.ToInt32("88", 16))
My.Computer.FileSystem.WriteAllText("e:\ascii.txt", ascii, True)

In excel or openoffice, you can get the ascii equivalent using the below formula. What is wrong with the code?

=CHAR(HEX2DEC("88"))
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:56:44+00:00Added an answer on June 4, 2026 at 11:56 am

    ChrW doesn’t know ASCII, it only knows Unicode code points.

    U+0088 is a control character, it’s non-printable (i.e. it doesn’t normally correspond to a displayable character). It’s therefore not surprising that the file appears empty.

    Furthermore, even ChrW worked with ASCII, the character 0x88 is not ASCII, it’s outside its range. In case you were talking about the former standard Windows character set, codepage 1252, you can use the following code to retrieve the string representation of the character code:

    Dim bytes = New Byte() { &H88 }
    Dim text = System.Text.Encoding.GetEncoding(1252).GetString(bytes)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Below linq query does not work, because the subquery line. if comment the subquery
Can any one tell what does below given lines means? The lines below are
Suppose I have an XSD file having below lines of code; <xsd:simpleType name=test> <xsd:restriction
I grabbed this code form JCarousel and just trying to understand these lines below.
I'm trying to write a method like the below where a list of fields
I am trying to write a command but I do not want one long
I am trying to write my own shell in C. The code below works
Possible Duplicate: C++'s “placement new” in the below code what does Line 3 represents,
What does this line (x = n & 5;) mean in the code below?
Why does the below code give Seg. Fault at last line? char* m=ReadName(); printf(\nRead

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.