Home All Groups Group Topic Archive Search About

'KeyCodeConstants is not defined'

Author
21 Jul 2006 3:54 AM
Daniel N
In my never ending search for keyboard simulation I found this code;

http://www.developerfusion.co.uk/show/68/2/

However, when I copy and paste, I get the errors;

'KeyCodeConstants is not defined'
and
'vbKeyShift is not declared'

What do I do to make them work?

Author
21 Jul 2006 6:13 AM
Cor Ligthert [MVP]
Daniel,

I have seen this question before maybe will the answers help you. The
original poster from these messages seems never to look to those.

http://groups.google.com/group/microsoft.public.dotnet.languages.vb/search?group=microsoft.public.dotnet.languages.vb&q=%22Daniel+N%22+key&qt_g=1&searchnow=Search+this+group

I hope those helps,

Cor

Show quoteHide quote
"Daniel N" <saintdark_***@yahoo.com> schreef in bericht
news:KfYvg.520$zA6.327@fe08.lga...
> In my never ending search for keyboard simulation I found this code;
>
> http://www.developerfusion.co.uk/show/68/2/
>
> However, when I copy and paste, I get the errors;
>
> 'KeyCodeConstants is not defined'
> and
> 'vbKeyShift is not declared'
>
> What do I do to make them work?
>
>
>
>
>
>
Author
21 Jul 2006 6:13 PM
Daniel N
After messing with it for a while it worked, THANKS!

Show quoteHide quote
"Daniel N" <saintdark_***@yahoo.com> wrote in message
news:KfYvg.520$zA6.327@fe08.lga...
> In my never ending search for keyboard simulation I found this code;
>
> http://www.developerfusion.co.uk/show/68/2/
>
> However, when I copy and paste, I get the errors;
>
> 'KeyCodeConstants is not defined'
> and
> 'vbKeyShift is not declared'
>
> What do I do to make them work?
>