views:

636

answers:

1

I have a third-party ActiveX dll, and I'd like to register it programmatically at run time, if possible. Can this be done in Java? The application I'm working with is an Eclipse application on Windows XP.

+1  A: 

You could execute regsvr32 via the ProcessBuilder class.

McDowell
I ended up registering the dll in the installation script at the time, but if I still wanted to do it programmatically, I think this is what I would need to do.
Jay Sheridan