Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Virus, Spyware, and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, 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.


 
Reply to this topicStart new topic
> VB2008.net, a Type-conversion question
KermitD
post Sep 1 2009, 11:33 AM
Post #1


Member
**

Group: Members
Posts: 78
Joined: 28-April 05
From: Stelle, Illinois
Member No.: 18,385



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
KermitD


--------------------
KermitD
Choices have consequences.
Go to the top of the page
 
+Quote Post
Romeo29
post Sep 1 2009, 02:54 PM
Post #2


Forum Addict
******

Group: BC Advisor
Posts: 1,813
Joined: 6-July 08
Member No.: 220,807



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.


--------------------

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 15th March 2010 - 08:34 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Virus Removal Guides

© 2003-2010 All Rights Reserved Bleeping Computer LLC.