Does anybody know how to save an ocx file into a sql server database and how to retrieve it out of the database and register it again
You need to use the SQL Server BLOB datatype and the ADO object's Stream methods. Here's a link that describes the process a bit better. support.microsoft.com/default.aspx?scid=kb;en-us;Q258038