Thursday, March 22, 2012

why the LoadKeyboardLayout API not work in ASP.NET?

Hi,

I am just wondering why the LoadKeyboardLayout API not work in
ASP.NET? I was developing a window application in VB.NET using the
LoadKeyboardLayout API to load certain keyboard layout and it worked
fine. However, when I transfer the code to a .aspx page, it did not
work (I was not using code behind as Visual Studio takes up too much
space). Does anyone know why?

Thank in advance
Joanne> I am just wondering why the LoadKeyboardLayout API not work in
> ASP.NET?

Because the keyboard is not on the server; it's on the client.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.

"JoanneC" <Joanne.Cheung@.ul.ie> wrote in message
news:c3c239c6.0308220853.695e06ab@.posting.google.c om...
> Hi,
> I am just wondering why the LoadKeyboardLayout API not work in
> ASP.NET? I was developing a window application in VB.NET using the
> LoadKeyboardLayout API to load certain keyboard layout and it worked
> fine. However, when I transfer the code to a .aspx page, it did not
> work (I was not using code behind as Visual Studio takes up too much
> space). Does anyone know why?
> Thank in advance
> Joanne
Is there any way I could load the keyboard layout on the client side? Thanks

"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message news:<u5WdUpNaDHA.3436@.tk2msftngp13.phx.gbl>...
> > I am just wondering why the LoadKeyboardLayout API not work in
> > ASP.NET?
> Because the keyboard is not on the server; it's on the client.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> http://www.takempis.com
> The more I learn, the less I know.
> "JoanneC" <Joanne.Cheung@.ul.ie> wrote in message
> news:c3c239c6.0308220853.695e06ab@.posting.google.c om...
> > Hi,
> > I am just wondering why the LoadKeyboardLayout API not work in
> > ASP.NET? I was developing a window application in VB.NET using the
> > LoadKeyboardLayout API to load certain keyboard layout and it worked
> > fine. However, when I transfer the code to a .aspx page, it did not
> > work (I was not using code behind as Visual Studio takes up too much
> > space). Does anyone know why?
> > Thank in advance
> > Joanne
I don't believe so.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
The more I learn, the less I know.

"JoanneC" <Joanne.Cheung@.ul.ie> wrote in message
news:c3c239c6.0308221250.49caa223@.posting.google.c om...
> Is there any way I could load the keyboard layout on the client side?
Thanks
>
> "Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> wrote in message
news:<u5WdUpNaDHA.3436@.tk2msftngp13.phx.gbl>...
> > > I am just wondering why the LoadKeyboardLayout API not work in
> > > ASP.NET?
> > Because the keyboard is not on the server; it's on the client.
> > --
> > HTH,
> > Kevin Spencer
> > Microsoft MVP
> > .Net Developer
> > http://www.takempis.com
> > The more I learn, the less I know.
> > "JoanneC" <Joanne.Cheung@.ul.ie> wrote in message
> > news:c3c239c6.0308220853.695e06ab@.posting.google.c om...
> > > Hi,
> > > > I am just wondering why the LoadKeyboardLayout API not work in
> > > ASP.NET? I was developing a window application in VB.NET using the
> > > LoadKeyboardLayout API to load certain keyboard layout and it worked
> > > fine. However, when I transfer the code to a .aspx page, it did not
> > > work (I was not using code behind as Visual Studio takes up too much
> > > space). Does anyone know why?
> > > > Thank in advance
> > > Joanne

0 comments:

Post a Comment