Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 372 Failed to load control with a user control. 1

Status
Not open for further replies.

mjohnson289

IS-IT--Management
Oct 5, 2001
8
US
I have written an applicaton that has a user control called LbrList. LbrList is a user control that is compiled with the application and not as a seperate file. The application installs and runs fine on most work stations. However one station gets the error message "Runtime error 372 failed to load control 'LbrList' from . Your version may be outdated yada yada yada ..." when the user gets to the part of the program that would load the control.

The executable for all the machines is on a network so everyone is running the exact same code and as the control is loaded from the EXE I don't see how it could be a version problem. I've searched this workstations registry for something with the same name but found nothing. Any iteas?
 
What constituent controls are in your user control? Are those controls being deployed properly?
 
Good Qustion. I have two controls a ms datagrid control and a status bar from the common controls. I have checked the versions on both msdatgrd.ocx and mscomctl.ocx on the machine that doesn't work and they agree with the version running on the machine that works.
 
I found the problem. The problem was with the datagrid there must be some underlying dependencies with stuff from the msde. I created a fresh wise script from the project and it brought in the msde stuff. This fixed the problem. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top