Please help!!! Failed to load control 'item1' from 'item2' 
Author Message
 Please help!!! Failed to load control 'item1' from 'item2'

Hello,
I have an application which consists of a few OCXs and  DLLs. Well, I
deployed my application and installed it on a Win98 and WinNT0(sp3&sp4)
systems. Well it worked fine. And I installed the same set of application on
another WinNT4.0, on a different domain, and it did not work.
The application starts but when I try to open a form which includes an OCX,
I got the error message:

Run-time error '372'
Failed to load'ctlMyOCX' from 'myOCX.ocx'. Your version of 'myOCX.ocx' may
be outdated. Make sure you are using the version of the control that was
provided with your application.

After that I recompiled everthing twice, in the right order(first, I set the
compatibility to none, and then to binary). Then, I checked all the
references and components in each dll, and ocx, there was nothing missed.

Has anyone ran into a problem like this before?
Any suggestions!

Thanks in Advance...........



Sat, 24 May 2003 03:00:00 GMT  
 Please help!!! Failed to load control 'item1' from 'item2'
After you set compatibility to none, did you recompile the app too? If not,
you just broke compatibility. You'll need to recompile the app. You're not
cycling the compatibility setting each time are you?


Quote:
> Hello,
> I have an application which consists of a few OCXs and  DLLs. Well, I
> deployed my application and installed it on a Win98 and WinNT0(sp3&sp4)
> systems. Well it worked fine. And I installed the same set of application
on
> another WinNT4.0, on a different domain, and it did not work.
> The application starts but when I try to open a form which includes an
OCX,
> I got the error message:

> Run-time error '372'
> Failed to load'ctlMyOCX' from 'myOCX.ocx'. Your version of 'myOCX.ocx' may
> be outdated. Make sure you are using the version of the control that was
> provided with your application.

> After that I recompiled everthing twice, in the right order(first, I set
the
> compatibility to none, and then to binary). Then, I checked all the
> references and components in each dll, and ocx, there was nothing missed.

> Has anyone ran into a problem like this before?
> Any suggestions!

> Thanks in Advance...........



Sat, 24 May 2003 03:00:00 GMT  
 Please help!!! Failed to load control 'item1' from 'item2'

Yes, I first compiled with the no compatibilty setting, and right after
that, recompiled with compatibilty set to binary, then I moved to compile
the next component in the order. After all, I recompiled the .EXE, actually,
as I broke the compatibilty, I had to re-reference the controls, and place
them again on the forms.

Cycling the compatibility: No, I am not, I just did this because of the
below error. Actually I have a project group which includes all the
component and the EXE. But, I did the recompilation process I mentioned, on
standalone projects, (I mean I did not use the project group to recompile
everything)


Quote:
> After you set compatibility to none, did you recompile the app too? If
not,
> you just broke compatibility. You'll need to recompile the app. You're not
> cycling the compatibility setting each time are you?



> > Hello,
> > I have an application which consists of a few OCXs and  DLLs. Well, I
> > deployed my application and installed it on a Win98 and WinNT0(sp3&sp4)
> > systems. Well it worked fine. And I installed the same set of
application
> on
> > another WinNT4.0, on a different domain, and it did not work.
> > The application starts but when I try to open a form which includes an
> OCX,
> > I got the error message:

> > Run-time error '372'
> > Failed to load'ctlMyOCX' from 'myOCX.ocx'. Your version of 'myOCX.ocx'
may
> > be outdated. Make sure you are using the version of the control that was
> > provided with your application.

> > After that I recompiled everthing twice, in the right order(first, I set
> the
> > compatibility to none, and then to binary). Then, I checked all the
> > references and components in each dll, and ocx, there was nothing
missed.

> > Has anyone ran into a problem like this before?
> > Any suggestions!

> > Thanks in Advance...........



Sat, 24 May 2003 03:00:00 GMT  
 Please help!!! Failed to load control 'item1' from 'item2'
If that's the case, you may be better off compiling the ocx/dll first (doing
this will update the registry) and then the exe. Are you keeping your
compatibility model seperate from your working model? That is.... it's not a
good idea to simply overwrite the compatibility model each time. For one
thing, if something happens during compile, you'll wipe out the
compatibility model and then you're screwed for compatibility with past
releases.


Quote:
> Yes, I first compiled with the no compatibilty setting, and right after
> that, recompiled with compatibilty set to binary, then I moved to compile
> the next component in the order. After all, I recompiled the .EXE,
actually,
> as I broke the compatibilty, I had to re-reference the controls, and place
> them again on the forms.

> Cycling the compatibility: No, I am not, I just did this because of the
> below error. Actually I have a project group which includes all the
> component and the EXE. But, I did the recompilation process I mentioned,
on
> standalone projects, (I mean I did not use the project group to recompile
> everything)



> > After you set compatibility to none, did you recompile the app too? If
> not,
> > you just broke compatibility. You'll need to recompile the app. You're
not
> > cycling the compatibility setting each time are you?



> > > Hello,
> > > I have an application which consists of a few OCXs and  DLLs. Well, I
> > > deployed my application and installed it on a Win98 and
WinNT0(sp3&sp4)
> > > systems. Well it worked fine. And I installed the same set of
> application
> > on
> > > another WinNT4.0, on a different domain, and it did not work.
> > > The application starts but when I try to open a form which includes an
> > OCX,
> > > I got the error message:

> > > Run-time error '372'
> > > Failed to load'ctlMyOCX' from 'myOCX.ocx'. Your version of 'myOCX.ocx'
> may
> > > be outdated. Make sure you are using the version of the control that
was
> > > provided with your application.

> > > After that I recompiled everthing twice, in the right order(first, I
set
> > the
> > > compatibility to none, and then to binary). Then, I checked all the
> > > references and components in each dll, and ocx, there was nothing
> missed.

> > > Has anyone ran into a problem like this before?
> > > Any suggestions!

> > > Thanks in Advance...........



Sat, 24 May 2003 03:00:00 GMT  
 Please help!!! Failed to load control 'item1' from 'item2'
I am keeping the compatibilty model, I did switching to "No Compatibilty"
and back to "Binary Compatibilty", cos I thought VB messed with something
and doing so could help. Anyway, I am sure that I am doing the compiling
process right. I first the components on those my other components are
dependent, then the dependent ones, then the EXE.


Quote:
> If that's the case, you may be better off compiling the ocx/dll first
(doing
> this will update the registry) and then the exe. Are you keeping your
> compatibility model seperate from your working model? That is.... it's not
a
> good idea to simply overwrite the compatibility model each time. For one
> thing, if something happens during compile, you'll wipe out the
> compatibility model and then you're screwed for compatibility with past
> releases.



> > Yes, I first compiled with the no compatibilty setting, and right after
> > that, recompiled with compatibilty set to binary, then I moved to
compile
> > the next component in the order. After all, I recompiled the .EXE,
> actually,
> > as I broke the compatibilty, I had to re-reference the controls, and
place
> > them again on the forms.

> > Cycling the compatibility: No, I am not, I just did this because of the
> > below error. Actually I have a project group which includes all the
> > component and the EXE. But, I did the recompilation process I mentioned,
> on
> > standalone projects, (I mean I did not use the project group to
recompile
> > everything)



> > > After you set compatibility to none, did you recompile the app too? If
> > not,
> > > you just broke compatibility. You'll need to recompile the app. You're
> not
> > > cycling the compatibility setting each time are you?



> > > > Hello,
> > > > I have an application which consists of a few OCXs and  DLLs. Well,
I
> > > > deployed my application and installed it on a Win98 and
> WinNT0(sp3&sp4)
> > > > systems. Well it worked fine. And I installed the same set of
> > application
> > > on
> > > > another WinNT4.0, on a different domain, and it did not work.
> > > > The application starts but when I try to open a form which includes
an
> > > OCX,
> > > > I got the error message:

> > > > Run-time error '372'
> > > > Failed to load'ctlMyOCX' from 'myOCX.ocx'. Your version of
'myOCX.ocx'
> > may
> > > > be outdated. Make sure you are using the version of the control that
> was
> > > > provided with your application.

> > > > After that I recompiled everthing twice, in the right order(first, I
> set
> > > the
> > > > compatibility to none, and then to binary). Then, I checked all the
> > > > references and components in each dll, and ocx, there was nothing
> > missed.

> > > > Has anyone ran into a problem like this before?
> > > > Any suggestions!

> > > > Thanks in Advance...........



Sat, 24 May 2003 03:00:00 GMT  
 Please help!!! Failed to load control 'item1' from 'item2'

The only other thing I can think of off the top of my head is.... Do these
workstations all have the same service pack installed? If yours has sp6 and
the others have sp<6, this may be a problem (depending on support files)


Quote:
> I am keeping the compatibilty model, I did switching to "No Compatibilty"
> and back to "Binary Compatibilty", cos I thought VB messed with something
> and doing so could help. Anyway, I am sure that I am doing the compiling
> process right. I first the components on those my other components are
> dependent, then the dependent ones, then the EXE.



Sat, 24 May 2003 03:00:00 GMT  
 Please help!!! Failed to load control 'item1' from 'item2'
Yes, I deployed on WinNT4.0(SP4), workstation has SP4 installed, and I also
have VB SP4 installed on my development system.


Quote:
> The only other thing I can think of off the top of my head is.... Do these
> workstations all have the same service pack installed? If yours has sp6
and
> the others have sp<6, this may be a problem (depending on support files)



> > I am keeping the compatibilty model, I did switching to "No
Compatibilty"
> > and back to "Binary Compatibilty", cos I thought VB messed with
something
> > and doing so could help. Anyway, I am sure that I am doing the compiling
> > process right. I first the components on those my other components are
> > dependent, then the dependent ones, then the EXE.



Sat, 24 May 2003 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. **************!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Help me !!!!!!!!!!!!!!!!!!!!!!!!'''''''''''''''''''''''*************

2. Failed to activate control 'VB.UserControl'.

3. Can't load control error, PLEASE HELP !

4. '' Cannot be loaded - HELP

5. Please help me with 'newspaper' columns

6. 'Poke'ing and 'peek'ing other process's memory in VB6

7. Sheridan's (or anyone's) treeview - some help please

8. Run time error '3709' - Please Help

9. Please Help me with - 'Null'

10. Please help: Run-time error '3001'

11. error '59' - Please Help

12. Please help: to get 'opposite' colour

 

 
Powered by phpBB® Forum Software