I haven't done any DirectX programming on my own so a good place to search is
http://directx4vb.vbgamer.com/DirectX4VB/TUT_DX9Start.asp