Re: Error 372 - Failed to load control '<controlname>' from

Thank you Ralph for the detailed analysis. I'd like to supplement the first

Hello David, may I know whether you are launching the VB6 app in Windows
Vista? If yes, the following report might be helpful to you:

Problem Description

After installing an application to a Vista machine the following error is
generated when the application is launched by an account other than that of
the user who installed the application:

Runtime Error: 372 - Failed to load control <controlName> from <blank> .
Your version of <blank> may be outdated. Make sure you are using the
version of the control that was provided with your application

The application had been installed for just the user who had installed the

If the UAC was turned off and a member of the Admin group had attempted to
run the application with elevated privileges, the application would fail
with the same error.

While this action would have been permissible in previous versions of
Windows, the way we handle COM components has been dramatically changed
with Windows Vista. When an application is installed for a specific user,
the COM components referenced in the application are registered in the
HKEY_CURRENT_USER section of the registry. When UAC is turned on and an
Admin attempts to run the application we read these entries and prompt the
Admin to allow the action. When UAC is turned off, we are not able to
prompt the Admin for permission so we do not read the HKEY_CURRENT_USER
section because of the security risk involved.

When we install for All Users, the entries are made to the
HKEY_LOCAL_MACHINE section and the Admin user is able to read these values
when the application is launched. Note that the User account is limited to
Read permission on the HKEY_LOCAL_MACHINE section whereas they have Read
and Write on the HKEY_CURRENT_USER section hence the security risk.

The following website has further information on User Account Control:


It is recommended that any Visual Basic 6 application be installed by a
member of the Admin Group for All Users.

Have a very nice week!

Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:

Get notification to my posts through email? Please refer to

MSDN Managed Newsgroup support offering is for non-urgent issues where an
initial response from the community or a Microsoft Support Engineer within
2 business day is acceptable. Please note that each follow up response may
take approximately 2 business days as the support professional working with
you may need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
This posting is provided "AS IS" with no warranties, and confers no rights.