Cool well if u know objects and functions then u'll find it easy enough. Heres that first line of code again.

Dim DX as DirectX8

This will declare the object DirectX8 (pretty much the same as u declare a variable)

Then u create it

Set DX = new directX8

Then u have access to all the functions belonging to the object.

The same goes for all the other objects u create. All u need to know now is what the functions do (thats the time consuming bit).

GL man u'll get it in no time.