Where is the option to use either one of those that you need to pick from?
Video cards support both formats, and the game and program pretty much dictate which one they use. For the most part, DirectX will be faster in most games under most drivers. OpenGL is used in more scientific programs like gene modeling under UNIX/LINUX, but is used for some games as well, just not nearly as many as ActiveX.