Using DirectX with VB 2005
Hi everyone,
where can I find good sources (either books or web articles) on the basics of using DirectX (not only graphics, but input, audio etc. as well) with Visual Basic 2005? Everything I found so far was about earlier versions which don't seem to be compatible. Thanks.
There are many good tutorials out there, often the ones for C# can be useful as well since they use .Net and its primarily the syntax that changes. The ZMan from the ZBuffer has converted the DirectX SDK tutorials into VB.Net, which will be of great use to you:
http://www.thezbuffer.com/articles/187.aspx
Also of interest to you:
http://www.drunkenhyena.com/cgi-bin/dx9_net.pl
http://www.thezbuffer.com/articles/187.aspx
Also of interest to you:
http://www.drunkenhyena.com/cgi-bin/dx9_net.pl
Great, thanks! The C# tutorials are not very useful to me, as I am new to .net and do not believe I know how to make the conversion to VB. But I will certainly look into the VB links you provided.
Ok, looks like I'm too dense to make my way around these tutorials... What do I need to do in order to make the samples found in the ZBuffer site work? What I did so far was downloading and installing the directX SDK from http://www.microsoft.com/downloads/details.aspx?FamilyId=1FD20DF1-DEC6-47D0-8BEF-10E266DFDAB8&displaylang=en . But VB doesn't recognize many of the definitions in the samples. If that is of any relevance, I'm using the VB Express edition. Thanks.
Quote:Original post by Holy-Fire
Ok, looks like I'm too dense to make my way around these tutorials... What do I need to do in order to make the samples found in the ZBuffer site work? What I did so far was downloading and installing the directX SDK from http://www.microsoft.com/downloads/details.aspx?FamilyId=1FD20DF1-DEC6-47D0-8BEF-10E266DFDAB8&displaylang=en . But VB doesn't recognize many of the definitions in the samples. If that is of any relevance, I'm using the VB Express edition. Thanks.
It sounds like you forgot to add the references for directx.
See here:
vb net tutorial
And unfortunately there will continue to be a lack of resources for vb 2005 and directx since as has already been said above c# and vb2005 code are 99% identical.
That means most tutorials you see will be in c# since you can just use a c# to vb tool to automatically convert your code since it's 99% the same.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement