Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi does anyone know about this error ?

I'm assigned to add a module of a program that used a library AxMSFlexGridLib the codes runs perfectly at first but later on I get error after creating an installer, install it on my Computer and then when I Uninstall the program to make some changes I get this error. :(

I tried changing the build x64 bit and x32bit the error still the same :(
I'd tried running the program to another machine but failed.

Type 'AxMSFlexGridLib.AxMSFlexGrid' is not defined.

MSFLXGRD.OCX file exist on C:\windows\System32

EDIT:

If I add the reference of the DLL

I get this ComException
http://www.symbianize.com/attachment.php?attachmentid=780923&d=1377853146
Posted
Updated 30-Aug-13 0:00am
v2
Comments
[no name] 30-Aug-13 5:58am    
If the ocx exists, did you register it?
iMaker.ph 30-Aug-13 6:02am    
Uhm If its exist on my System32 do I have to install it ?
I tried regSvr32 C:\windows\System32\MSFLXGRD.OCX but I get error
"The Module C:\windows\System32\MSFLXGRD.OCX was loaded but the call to DllRegisterServer failed with error code 0x8002801c"
[no name] 30-Aug-13 8:15am    
Yes you do. An ocx is an ActiveX control and needs to be registered.
iMaker.ph 30-Aug-13 8:40am    
Am doing it right on registering the OCX?

I tried different approach
Regsvr32 C:\windows\System32\MSFLXGRD.OCX
Regsvr32 "C:\windows\System32\MSFLXGRD.OCX"
Regsvr32 MSFLXGRD.OCX
Regsvr32 "MSFLXGRD.OCX"

Am I missing something ?

Btw Thanks for your quick response
[no name] 30-Aug-13 8:52am    
You are missing running the command prompt as an administrator.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900