Home All Groups Group Topic Archive Search About
Author
13 Aug 2006 12:41 PM
Poldie
I thought it would be fun to try and learn about vb.net by writing a
DirectX game.  It seems that the .net languages should compile to very
similar code, so that there'd be little difference which language to
use in terms of speed of execution.  But it seems that there's some
problem with using vb, and that only c# has samples in the SDK.   Is it
possible to use the 2005 version of VB to write a directx game, and if
so, why are there so few references to this on the net?

Cheers.

Author
13 Aug 2006 2:08 PM
Cor Ligthert [MVP]
Poldie,

>  Is it
> possible to use the 2005 version of VB to write a directx game, and if
> so, why are there so few references to this on the net?
>
Because the Microsoft DirectX team is probably not able to do things for
..Net, what I have seen in that is in my idea from a very low level.

They do still everything in C++, the samples I have seen for C# are as well
not in the same amount as for C++  while the C# samples are easily to throw
in a converter to make it  (very bad) VBNet code.

Cor
Author
13 Aug 2006 2:14 PM
Poldie
Cor Ligthert [MVP] wrote:
> Poldie,
>
> >  Is it
> > possible to use the 2005 version of VB to write a directx game, and if
> > so, why are there so few references to this on the net?
> >
> Because the Microsoft DirectX team is probably not able to do things for
> .Net, what I have seen in that is in my idea from a very low level.
>
> They do still everything in C++, the samples I have seen for C# are as well
> not in the same amount as for C++  while the C# samples are easily to throw
> in a converter to make it  (very bad) VBNet code.

ok, thanks.  But can a programmer using vb or c# under the .net
framework access all of DirectX? Or is some of it out of bounds?  If
..net sort of wraps the underlying OS so that all of Windows is
accessible from it then the answer would be yes, but I'm not sure if
that's the case, or that even if it were the case whether it would be
true for DirectX.
Author
13 Aug 2006 7:09 PM
GhostInAK
Hello Poldie,

Of the samples that come with the DX9 SDK ~80% are written in VB.NET as well
as C#.  There is an option in the samples explorer application to filer for
VB and/or c# samples.

-Boo

Show quoteHide quote
> Cor Ligthert [MVP] wrote:
>
>> Poldie,
>>
>>> Is it
>>> possible to use the 2005 version of VB to write a directx game, and
>>> if
>>> so, why are there so few references to this on the net?
>> Because the Microsoft DirectX team is probably not able to do things
>> for .Net, what I have seen in that is in my idea from a very low
>> level.
>>
>> They do still everything in C++, the samples I have seen for C# are
>> as well not in the same amount as for C++  while the C# samples are
>> easily to throw in a converter to make it  (very bad) VBNet code.
>>
> ok, thanks.  But can a programmer using vb or c# under the .net
> framework access all of DirectX? Or is some of it out of bounds?  If
> .net sort of wraps the underlying OS so that all of Windows is
> accessible from it then the answer would be yes, but I'm not sure if
> that's the case, or that even if it were the case whether it would be
> true for DirectX.
>
Author
16 Aug 2006 5:33 PM
Poldie
> Hello Poldie,
>
> Of the samples that come with the DX9 SDK ~80% are written in VB.NET as well
> as C#.  There is an option in the samples explorer application to filer for
> VB and/or c# samples.

Thanks,  I'll take a look.