Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMPFlag for United States of America

asked on 

OCX Error 372 (Failed to load control)

Hi All,

We have a legacy vb6 app that is still running.  Every once in a while, we'll get a "failed to load control" <control> from name.ocx.  Your version may be outdated.

We are manifesting the file and there should only ever be one version of the DLL.

Other Factors:  

1)  We are running it off of a mapped drive
2)  Error most commonly appears when a user uses a different computer than the one they are normally logged into.

EG:  User A is logged off, User B logs in, runs app, error.

So far it's not consistently reproducable.  If we wait for a while (approx 15 minutes or so . . . and/or a couple of reboots) the problem goes away.


Information is coming from users so is sporatic and questionable at best . . . but trying to narrow down the places to look.

Thanks in advanced.
Visual Basic ClassicVisual Basic.NET.NET Programming

Avatar of undefined
Last Comment
Kyle Abrahams, PMP
Avatar of vb_elmar
vb_elmar
Flag of Germany image

The user(s) could copy the "application.exe" and the .ocx file to a local folder and then run the copied exe (and the copied .ocx) from that local folder.
Avatar of Kyle Abrahams, PMP

ASKER

We're trying to avoid that for easier publishing and what not.  This works for a bunch of other apps but for some reason this decides to bomb . . . some of the time.
SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of vb_elmar
vb_elmar
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Kyle Abrahams, PMP

ASKER

Was an issue with one of the dependencies of our component causing an issue.
Visual Basic Classic
Visual Basic Classic

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.

165K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo