DirectX in Visual Basic

I have been developing 3d games using vb6 for a while, though i have not even managed to create a DirectX7 object in VB.Net 2005 Express edition.

Can anyone give me some detailed guidance of how to create a DirectX7 object, including how to add references




Answer this question

DirectX in Visual Basic

  • Brad Raulston

    Just in case anyone else wants to know how to use DX7 in VB.NET 2005, I've figured out how:

    1. Add a COM reference to the DX7 for VB type library
    2. Add 'Imports DxVbLib' at the top of the form code, before the class decleration

    Now I know how to do it it seems really simple...



  • Sabbas

    Woah, DX7 in Visual Basic 2005   I used to code in DX7 with VB6, but good luck doing that in 2005.  You are probably better off downloading the DirectX 9.0c SDK and using DirectX Managed.  Its actually much easier to use then the COM classes, and has lots of samples.  I'm not a professional game programmer, though, so don't despair yet.
  • Zaid Vb

    OK thanks, i'll try directx 9

  • DirectX in Visual Basic