Click here to Skip to main content
15,906,708 members
Home / Discussions / C#
   

C#

 
GeneralRe: ComboBox limiting editing Pin
Ista29-Jul-03 9:12
Ista29-Jul-03 9:12 
GeneralFocus Question Pin
Zachery29-Jul-03 5:41
Zachery29-Jul-03 5:41 
GeneralRe: Focus Question Pin
Alex Korchemniy29-Jul-03 7:13
Alex Korchemniy29-Jul-03 7:13 
GeneralRe: Focus Question Pin
J. Dunlap29-Jul-03 8:20
J. Dunlap29-Jul-03 8:20 
Generalgraphic control question.... Pin
LongRange.Shooter29-Jul-03 5:39
LongRange.Shooter29-Jul-03 5:39 
GeneralRe: graphic control question.... Pin
leppie29-Jul-03 7:00
leppie29-Jul-03 7:00 
GeneralMessageBox & Interesting User Requests Pin
MrEyes29-Jul-03 4:18
MrEyes29-Jul-03 4:18 
GeneralRe: MessageBox & Interesting User Requests Pin
Ista30-Jul-03 4:24
Ista30-Jul-03 4:24 
GeneralRe: MessageBox & Interesting User Requests Pin
MrEyes30-Jul-03 4:55
MrEyes30-Jul-03 4:55 
GeneralRe: MessageBox & Interesting User Requests Pin
Ista30-Jul-03 8:27
Ista30-Jul-03 8:27 
GeneralRe: MessageBox & Interesting User Requests Pin
Ista30-Jul-03 8:28
Ista30-Jul-03 8:28 
GeneralMS Outlook MailItem attachments problem Pin
..Hubert..29-Jul-03 2:50
..Hubert..29-Jul-03 2:50 
GeneralEnterprise security for remoting,etc... Pin
SimonS29-Jul-03 2:19
SimonS29-Jul-03 2:19 
GeneralMicrosoft Web Browser problem Pin
Meysam Mahfouzi29-Jul-03 2:16
Meysam Mahfouzi29-Jul-03 2:16 
GeneralC# and Glyph Pin
adamwelchuk29-Jul-03 0:44
adamwelchuk29-Jul-03 0:44 
AnswerRe: C# and Glyph Pin
Abel Braaksma9-Oct-09 0:56
Abel Braaksma9-Oct-09 0:56 
GeneralDatagrid / Datarow Pin
MrEyes28-Jul-03 23:04
MrEyes28-Jul-03 23:04 
GeneralRe: Datagrid / Datarow Pin
MrEyes29-Jul-03 0:16
MrEyes29-Jul-03 0:16 
GeneralListView complication Pin
aeros28-Jul-03 22:48
aeros28-Jul-03 22:48 
GeneralRe: ListView complication Pin
Ista30-Jul-03 4:25
Ista30-Jul-03 4:25 
GeneralRe: Multibyte character Pin
Julian Bucknall [MSFT]29-Jul-03 9:33
Julian Bucknall [MSFT]29-Jul-03 9:33 
GeneralRe: Multibyte character Pin
Nick Parker29-Jul-03 17:33
protectorNick Parker29-Jul-03 17:33 
DeanAgan wrote:
Its actually read from a textbox. Translation into a standard unicode? How do u do that? The code is suppose to block input in the textbox that exceeds 32 characters. But if I would input in Chinese characters, which has a double byte character set, then even if only 32 characters are inputted, problems would still arise coz its actually 64 characters in single byte character set. Im looking for what class to use, though I can solve it without using a class and just by looping through it.

When you are talking about the MaxLength property of the TextBox, that is refering to the actual number of character entries that are allowed, not the number of bytes. Under .NET, the TextBox's Text property returns a String data type which is of Unicode encoding where all characters are two bytes long.

-Nick Parker
QuestionHow to compile to native app? Pin
EastDragon28-Jul-03 21:27
EastDragon28-Jul-03 21:27 
AnswerRe: How to compile to native app? Pin
Alexander Kojevnikov28-Jul-03 23:10
Alexander Kojevnikov28-Jul-03 23:10 
QuestionWhy C# app build by vs.net 2003 can resize itself? Pin
EastDragon28-Jul-03 21:04
EastDragon28-Jul-03 21:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.