Home All Groups Group Topic Archive Search About
Author
29 Jun 2005 6:59 PM
Steve
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.

Thanks

Steve

Author
29 Jun 2005 7:43 PM
Armin Zingler
"Steve" <steven.poul***@ntlworld.com> schrieb
> 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.

SDK:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp

Newsgroup:
microsoft.public.win32.programmer.directx.managed


Armin
Author
29 Jun 2005 8:06 PM
Steve
but i can only find examples that relate to C#. im looking for VB.net
examples

Show quoteHide quote
"Armin Zingler" <az.nospam@freenet.de> wrote in message
news:%23avbsMOfFHA.1472@TK2MSFTNGP12.phx.gbl...
> "Steve" <steven.poul***@ntlworld.com> schrieb
>> 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.
>
> SDK:
> http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp
>
> Newsgroup:
> microsoft.public.win32.programmer.directx.managed
>
>
> Armin
Author
29 Jun 2005 8:10 PM
Herfried K. Wagner [MVP]
"Steve" <steven.poul***@ntlworld.com> schrieb:
> but i can only find examples that relate to C#. im looking for VB.net
> examples

Most C# code can be easily translated to VB.NET using converters:

Converting code between .NET programming languages
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=languageconverters&lang=en>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
30 Jun 2005 12:43 AM
Ken Tucker [MVP]
Hi,

        Directx sdk 9.0b has vb.net samples
http://www.microsoft.com/downloads/details.aspx?FamilyId=1D97F320-9DFD-4E7A-B947-3A037CCF84AF&displaylang=en

Ken
-------------
"Steve" <steven.poul***@ntlworld.com> wrote in message
news:obDwe.10899$11.3234@newsfe2-win.ntli.net...
but i can only find examples that relate to C#. im looking for VB.net
examples

Show quoteHide quote
"Armin Zingler" <az.nospam@freenet.de> wrote in message
news:%23avbsMOfFHA.1472@TK2MSFTNGP12.phx.gbl...
> "Steve" <steven.poul***@ntlworld.com> schrieb
>> 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.
>
> SDK:
> http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp
>
> Newsgroup:
> microsoft.public.win32.programmer.directx.managed
>
>
> Armin
Author
30 Jun 2005 6:42 AM
Cor Ligthert
Steve,

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.

Cor