ASCII Character problem in Windows XP

Mr_Fulano
Mr_Fulano used Ask the Experts™
on

Hi, I'm using VB.NET2010 (VS2010), WinForms. I have a Form with a Textbox. At certain points of adding text to my Textbox, I add a "check" character, which is ChrW(10004). It works very well in Windows Vista and in Windows 7, but in XP I get a little square box. Obviously, XP cannot recognize the ASCII character I'm trying to add to the Textbox.

Is there something I can do to avoid this?

I thought of adding an image, but its a Textbox, not a RTB. --- I should be using a RTB and add an image?

Thanks for your advice.
Fulano

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Developer
Commented:
You need to avoid using font-specific features that depends on system configurations or fonts installed. Why do you need to add a "check" character ??
You may prefer to use a rtb with image or some generic solution (it needs to be editable??)

Author

Commented:
Fraiger, I need to add a check character, because my application calls for it, but I may be able to use an image if I can get it into the Textbox or in this case, I'd need to add a RichTextBox to add an image. What do you mean --  "(it needs to be editable??)"...? What needs to be editable?
F IgorDeveloper

Commented:
Can you use a textbox with a checkbox control,
I mean editable when you need to make the text editable by the user,
or it's a fixed text? you probably need a checkbox with text label if the text is fixed

Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

Author

Commented:
No...its an image type of purpose. It simply give the user some into...it has no actual functionality other than being informative.

Author

Commented:
Fraigor, I'm going to award you the points, because its too time consuming to try to get the question deleted, but your answer was not really what I was looking for. I do however think you tried.

In the end the solution was removing the special character and it worked fine.

Fulano

Author

Commented:
Not a great solution, but he tried.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial