This topic pertains only to applications written in C++. DirectX for Visual Basic does not support direct access to ports.