Is there another way to check for keyboard inputs?

I'm using the Microsoft.VisualBasic namespace:

e.KeyChar <> Microsoft.VisualBasic.ChrW(13)

I'm not sure but it seems to me that it is not the optimal way to use the
new .net classes and namespaces. is this correct?

Any sug?

Re: Microsoft.VisualBasic.ChrW(13) by Sahil

Sahil
Sun Sep 26 22:50:53 CDT 2004

(int)e.KeyChar <> 13

Did u try that?

(I assume ur doin' a windows forms app and C#?)

- Sahil Malik
You can reach me thru my blog -
http://www.dotnetjunkies.com/weblog/sahilmalik



"Ken" <Ken@discussions.microsoft.com> wrote in message
news:E792A125-F487-4B9D-A3C6-59A8734501AC@microsoft.com...
> Is there another way to check for keyboard inputs?
>
> I'm using the Microsoft.VisualBasic namespace:
>
> e.KeyChar <> Microsoft.VisualBasic.ChrW(13)
>
> I'm not sure but it seems to me that it is not the optimal way to use the
> new .net classes and namespaces. is this correct?
>
> Any sug?



Re: Microsoft.VisualBasic.ChrW(13) by Ken

Ken
Mon Sep 27 08:21:01 CDT 2004

hi, no I'm using VB.NET, but what I want to know is if it is a good practice
to use the Microsoft.VisualBasic namespace or there is another way to do the
things..

"Sahil Malik" wrote:

> (int)e.KeyChar <> 13
>
> Did u try that?
>
> (I assume ur doin' a windows forms app and C#?)
>
> - Sahil Malik
> You can reach me thru my blog -
> http://www.dotnetjunkies.com/weblog/sahilmalik
>
>
>
> "Ken" <Ken@discussions.microsoft.com> wrote in message
> news:E792A125-F487-4B9D-A3C6-59A8734501AC@microsoft.com...
> > Is there another way to check for keyboard inputs?
> >
> > I'm using the Microsoft.VisualBasic namespace:
> >
> > e.KeyChar <> Microsoft.VisualBasic.ChrW(13)
> >
> > I'm not sure but it seems to me that it is not the optimal way to use the
> > new .net classes and namespaces. is this correct?
> >
> > Any sug?
>
>
>