as in
Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As
Integer
If GetAsyncKeyState(VK_SPACEBAR) Then
...
the closest thing i could find in help was in windows.forms keyeventarg or
such
couldn't figure out how to use that plus the project wasn't using winforms
for anything else
thanks
mark
Sorry if this is not what you were asking for, as I have had a long
day... The Virtual Key definitions can be copied from
http://www.pinvoke.net/default.aspx/Enums/VirtualKeys.html, for use in a
VB.Net application.
That site is a good one to keep in your favorites.
--
Mike
I simply use the value what they represent.
Success
Cor
"mp" <nos...@Thanks.com> wrote in message
news:#00Dfiqg...@TK2MSFTNGP05.phx.gbl...
It's not mentioned here
http://msdn.microsoft.com/en-us/library/aa302340.aspx#win32map_keyboardinputfunctions
and I didn't find it in the Framework, so I guess you have to use the API function.
Don't forget to change Long to Integer and Integer to Short.
--
Armin
How to transfer 'GetAsyncKeyState' to the .NET world then?
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
thanks for the site!
mark
To be honest, I use them seldom, I never was a real VB6 developer you know.
The only way I know sometimes use them in Net is with that removing of the
minimize box you once showed.
(Probably some more, but I forget them forever)
Cor
"Herfried K. Wagner [MVP]" <hirf-spa...@gmx.at> wrote in message
news:#mDTqmzg...@TK2MSFTNGP04.phx.gbl...