"Steve" <steven.poulton @ntlworld.com> schrieb[color=blue]
> does anyone know where i can find an example of directinput for a
> joystick on VB.NET. all the examples i can find apply to vb 6.0.[/color]
but i can only find examples that relate to C#. im looking for VB.net
examples
"Armin Zingler" <az.nospam@free net.de> wrote in message
news:%23avbsMOf FHA.1472@TK2MSF TNGP12.phx.gbl. ..[color=blue]
> "Steve" <steven.poulton @ntlworld.com> schrieb[color=green]
>> does anyone know where i can find an example of directinput for a
>> joystick on VB.NET. all the examples i can find apply to vb 6.0.[/color]
>
> SDK:
> http://msdn.microsoft.com/library/de...st/directx.asp
>
> Newsgroup:
> microsoft.publi c.win32.program mer.directx.man aged
>
>
> Armin[/color]
Ken
-------------
"Steve" <steven.poulton @ntlworld.com> wrote in message
news:obDwe.1089 9$11.3234@newsf e2-win.ntli.net...
but i can only find examples that relate to C#. im looking for VB.net
examples
"Armin Zingler" <az.nospam@free net.de> wrote in message
news:%23avbsMOf FHA.1472@TK2MSF TNGP12.phx.gbl. ..[color=blue]
> "Steve" <steven.poulton @ntlworld.com> schrieb[color=green]
>> does anyone know where i can find an example of directinput for a
>> joystick on VB.NET. all the examples i can find apply to vb 6.0.[/color]
>
> SDK:
> http://msdn.microsoft.com/library/de...st/directx.asp
>
> Newsgroup:
> microsoft.publi c.win32.program mer.directx.man aged
>
>
> Armin[/color]
The sample from the JoyStick in the DirectX SDK 9c is probably very easy to
translate from C# to VBNet. (I did some of the others) .
You can use a converter, if you do not care about the syntax that is created
(The samples are probably translated C++ samples to C#, therefore it looks
in VBNet terrible). It will therefore as well not completly be converted.
Be aware that the referenced DLL in that sample is (probably) completly
unused, it is referenced so that you can direct remove it and have not to
search why it is in the sample.
I have no joystick on my computer so I cannot help you further.
Comment