|
-
Jul 5th, 2001, 09:35 AM
#1
Thread Starter
New Member
Strange OCX Behaviour
I have this user that is beta testing an application for me. The files that were installed on his computer were: the EXE, an OCX with six User Controls and four ActiveX DLLs. The application has been working great, without a hiccup at all.
I rececntly added three new User Controls to the OCX and some of the functionality of the underlying DLLs. Because the interfaces changed for some of the classes, I had to break compatibility to recompile all of the components. When I went to install the new components, I unregistered the old ones and registered the new ones using regsvr32.
One User Control called SwitchBoard, is now causing a problem within the application. The code inside the SwitchBoard has not changed from the previous control.
The application gets to the point where it is suppose to show the control and I get this error:
Run-time error '372'
Failed to load control 'SwitchBoard' from SDCAControls.ocx. Your version of SDCAControls.ocx may be outdated. Make sure you are using the version of the control that was provided with you application.
It can not be outdated becuase I recompiled all of the DLLs, the ocx and the EXE on tuesday.
Just out of curiosity, I tried to place the controls on an Access Form. When I placed the SwitchBoard control on the form, this is the error I get:
A problem occured while Microsoft Access was communicating with the OLE server.
Close the OLE server and restart it outside of Microsoft Access. Then try the original operation again in Microsoft Access.
I tried the other controls in the OCX and all of them except one of the new User Controls worked correctly and where placed on the Access Form. The new User Control that is giving me trouble is giving me the some errror as the SwitchBoard control.
Can anyone help me on how to diagnos what is happening to prevent this control from working as it did in the old OCX?
Thank you,
Matt
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|