Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.



  • Please log in to reply
1 reply to this topic

#1 KermitD


  • Members
  • 81 posts
  • Location:Stelle, Illinois
  • Local time:02:12 AM

Posted 01 September 2009 - 11:33 AM

I am in the process of moving and have boxed all of my reference sources. I used to know how to do this, but I'm getting old and haven't been coding for a while. I know the answer is simple and It frustrates me not to be able to come up with it. In the code line:

newChar = Chr(xchr)

Where xchr will be an integer in the ascii range. When xchar = 65 why does newChar = "nothing", instead of "A"?
What have I forgotten?

Thanks in advance
Choices have consequences.

BC AdBot (Login to Remove)


#2 Romeo29


    Learning To Bleep

  • Members
  • 3,194 posts
  • Gender:Not Telling
  • Location:
  • Local time:02:12 AM

Posted 01 September 2009 - 02:54 PM

It should work. Are you compiling from command line or from VB.net IDE? The IDE would trap most of this kind errors.

Make sure you have declared both newChar and xchr. Also make sure you are not making any typos.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users