Shamil Salakhetdinov
shamil at users.mns.ru
Tue Mar 25 16:05:31 CDT 2008
Charlotte, What do you think, if I write "I think I have..." would that be accepted/treated here and personally by you as my having "the proper sense of humility"...? :) Sorry, folks, for my today's "bombardment" of this thread with my e-mails, the reason of that are that I have had a lot of work during the last months, and I almost haven't time to post here... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, March 25, 2008 11:35 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] ControlChars in C# LOL, well as long as you have the proper sense of humility .... ! Charlotte -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, March 25, 2008 11:31 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] ControlChars in C# Charlotte, I like VB(A): it literally opened the outer world for me a long ago when I have got my MS Access 2.0 application development contract from big German software house and their customers... ...I can smoothly program on both C# and Visual Basic, and sometimes still do some VB(A) programming but my heart is with C# forever :) Sorry, VB, if I wrote something looking like scoffing you, and thank you VB! -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, March 25, 2008 8:15 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] ControlChars in C# Shamil, That is a VERY sneaky trick, especially when you make gibes at VB! LOL Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, March 25, 2008 9:53 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] ControlChars in C# Hi Gustav, In C# project you can set the reference to Microsoft.VisualBasic assembly, then write: using Microsoft.VisualBasic; .... private void bindingNavigatorPositionItem_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar != ControlChars.Back) e.Handled = true } BTW, unlike Visual Basic this "screwed" above code lines will be compiled well if you'll copy & paste them: I mean while posting Visual basic sample one have to be careful with line wraps etc. C# rules! Visual Basic serves :) (a kind of kidding...) Thanks. -- Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com