>This program was compiled on a different machine.
>1.Can I programmatically register this (my.exe)?
>2.I have used my.exe /register from the run form, it did not work.
>3.What am I doing wrong?
In all probabilitry, it requires additional components to be properly installed before it can register - if this is a ougt-of-process server compiled with VFP, then at a minimum, the VFP runtime itself must be installed before the server can register. You can determine what additional file dependencies exist using DEPENDS.EXE, the file dependency walker that ships as a part of Visual Studio.