Archive: VISTA and OCX


VISTA and OCX
Hi everybody,

I have the following problem:

In our company there is an update from XP to VISTA. We don’t have any admin user rights and we will not get it. I have a program which I have developed in VB 6.0 with some OCX files which are no standard installation in VISTA anymore.

Therefore you have to register these files with regserv32. But I don’t have admin rights.

Is there a way to register these files anyway? The administrator of our company told me that they could install the program via MSI packaging. But if they can provide the MSI file I should be able to great such a file too.

Any advice?

Thank you

Sandro


if you have the source to the OCX you should be able to change it so it registers under HKCU.

If not, you can call RegOverridePredefKey before calling its DllRegisterServer function (you can not use regsrv32, you must load the dll and call it yourself)