I have to think about doing it with a .DLL. I have done this with an ActiveX EXE. It may be necessary to define a parent executable from the .DLL project.

Either way, you will need Visual Studio 6.