Link to home
Create AccountLog in
Avatar of Mr_Fulano
Mr_FulanoFlag for United States of America

asked on

ASCII Character problem in Windows XP


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

ASKER CERTIFIED SOLUTION
Avatar of Francisco Igor
Francisco Igor
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Mr_Fulano

ASKER

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?
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

No...its an image type of purpose. It simply give the user some into...it has no actual functionality other than being informative.
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
Not a great solution, but he tried.