Jump to content
  • Advertisement
Sign in to follow this  
Holy-Fire

Using DirectX with VB 2005

This topic is 4557 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!