Hi everyone

I’ve been learning VB for almost two months now and have completed a database project.

The last two weeks I’ve spent some time looking at games programming. I’ve messed around with GDI+ and decided to move onto DirectX, though I’m at that stage where I still don’t really know what I’m doing.

It’s quite confusing for a beginner because most of the tutorials seem quite old and they create their own forms, which I haven’t done, but would like to.

Anyway, I eventually got the DirectX SDK downloaded and found out that I need to reference the dll’s in Express.

So in Add References I browsed and selected:

C:\WINDOWS\Microsoft.NET\DirectX for ManagedCode\1.0.2911.0\
Microsoft.DirectX.Direct3DX.dll

C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\
Microsoft.DirectX.dll

Then, from a tutorial I coded:

Imports Microsoft.DirectX
Imports Microsoft.DirectX.Direct3D

Public Class Form1
Private device As Direct3D.Device

End Class

But I get errors Type Direct3D.Device not defined.

I tried to delete the references from the project but now Express keeps hanging with a delay notification that never ends and I have to force my PC to restart.

I’ve scrubbed the project and will try again

Incidentally, in add references the two references show in the Recent listing, not the .Net listing. For good housekeeping, can I get rid of them?

And any hints on what I need to do to get up and running with DirectX would be appreciated.