Link to home
Start Free TrialLog in
Avatar of kpurchase
kpurchase

asked on

Microsoft Flexgrid ActiveX Control

We have an application that uses the Microsoft Flexgrid ActiveX control. The frontend of the application runs in Access. The issue is that when I open the form that uses the Flexgrid I get the message ‘The expression MouseMove you entered as the event property setting produced the following error: There was an error loading an ActiveX control on one of your forms or reports.’ This error only occurs on developer machines when working in an .mdb. When we create an .mde the error goes away. The problem is that we cannot do anything on the form with this error. I am able to delete the ActiveX control and then add it back in however when I try and open the form I get the message ‘Run-time error ‘424’ object required.
I am very familiar with ActiveX controls so I have tried re-registering the object. I have also tried Microsoft’s suggested regedit listed here: http://support.microsoft.com/default.aspx?scid=kb;en-us;318597
Avatar of sarabande
sarabande
Flag of Luxembourg image

as far as i understood the workaround microsoft suggested, you need to change the registry at all developer machines adding the correct license information for vsflex grid, then change the form where the grid was included such that the wizard would add correct info, then do a rebuild.

you probably should remove flexgrid registration before for example by the command

regsvr32 /u vsflex8l.ocx

if you were using an older vsflex grid you probably should do an upgrade and i would assume the problem would be solved as well.

Sara
Avatar of kpurchase
kpurchase

ASKER

What do you mean by "then change the form where the grid was included such that the wizard would add correct info."
i would do some changes on the grid such that the design part of the active-x control could add the (new) license information to the resource file. i have worked many years with flexgrid and mean to remember that at design time a block of hex codes were added to the rc file which contain the properties of the grid. if you are lucky it also contains the needed license info.

did you already use the vsflex8l.ocx ?

Sara
I am not sure what vsflex8l.ocx is, we have never used that just msflxgrd.ocx.
ok, i think ms has bought company that developed flexgrid and renamed it.

do you have a rc.file where you could look with normal editor whether it contains hex information for the grid?

Sara
ASKER CERTIFIED SOLUTION
Avatar of kpurchase
kpurchase

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No correct answer added