Hi All.
Actually I have 2 Questions Related to Registry Problem.
1.
System : Windows 7, 64Bit
I'm getting an eror Code : 0x8002801c
if I'm trying to Reg. the files "Tabctl32.ocx" and "COMCTL32.OCX"
and 0x80040151 when I'm trying to Reg. the file "FM20.DLL"
To get around it, the Computer should be started as SAFE MODE!
then above files can be Registered OK.
When The Errors Code Shows up,
- I have Logged AS ADMINISTRATOR.
- The above OCX/DLL files located at <Windows\SysWOW64\>
- The Command used Regsvr32.exe at the same Dir.
Note : With Windows Xp no such problem.
Is there any way to get it Registered not using SAFE MODE?
2.
With VB6 registring DLL/OCX Files Programaticaly using the following Functions
"DllRegisterServer" and
"DllUnregisterServer"
Private Declare Function <Function Name> Lib "<Path\DLL/OCX filename>" Alias "DllRegisterServer" () As Long
This function Ok to use only when the <Path\DLL/OCX filename> is Constant Fixed String.
and can not be used if <Path\DLL/OCX filename> defined as String Variables.
Is there any Programmatically Registry Functions that allow using <Path\DLL/OCX filename> as Variable?
(e.g Dim sDllName as String / sDllName = FM20.DLL
Private Declare Function <Function Name> Lib sDllName Alias "DllRegisterServer" () As Long )
Hope to get a clear Answer
Thanks In Advance
Hilik