   [.net] [VB.NET] D3D Error when creating device
  Hi guys,I'm new at this forum and this is my first post.I'm getting error HRESULT: 0x8876086C when trying to create a new device at this piece of code: D3Ddevice = D3D.CreateDevice(CONST_D3DCONST.D3DADAPTER_DEFAULT, CONST_D3DDEVTYPE.D3DDEVTYPE_HAL,Me.Handle.ToInt32, CONST_D3DCREATEFLAGS.D3DCREATE_HARDWARE_VERTEXPROCESSING, D3Dpp)And I have no idea why this is happening,since I'm new to DirectX.I'm running VS 2010 with .NET FW 3.5 and old DX8.Any help would be highly appreciated!EDIT:The error description is:D3DERR_INVALIDCALL   
  Try using the debug runtime.   