Re: Encounter Error 374. Please help!!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: J French (erewhon_at_nowhere.com)
Date: 05/26/04


Date: Wed, 26 May 2004 06:54:54 +0000 (UTC)

On Wed, 26 May 2004 11:41:59 +0800, "Vanessa" <vanessa@eclinic.com.sg>
wrote:

>Hi,
>
>In my project, I have include a user control. When I Compile & run the
>executable file on another machine, I
>get a run time error 374. Message as follow,
>
>Failed to activate control 'VB.UserControl'. This control may be
>incompatible with your application. Make sure you are using the version of
>the control that was provided with your application.
>
>Last time it's working fine. Recently I chnage my hard disk so after I
>reinstall VB etc and compile my project, I get this error.
>Does anyone knows how to resolve this error? I need to solve this urgently.

Is the UserControl compiled into your project ?
Or is it compiled to an OCX ?

Is the UserControl yours ?
Does it use any other controls ?

Are you using VB.NET - if so you will need a .NE NG



Relevant Pages

  • Re: Difficulties programming a command button
    ... Twice when I tried to compile Access hung and I just ... and selecting 'Yes' opens the Excel file. ... I doubled checked the sheet names to what I had in the ... The name for the control for the equipment is “txtEquipment”. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Jersey Jack Pinball features
    ... We would write new rulesets, and - upload our rulesets to them, where they would compile them and make sure they will work, then you could download the code into your machine. ... However, it sounds like either there won't be access to the full source code of the system (just the rules - no control over the OS itself, just within their framework) - or if there's an egregious bug in the code, you'd have to either pay twice or at a minimum wait for them to compile it just to test it out. ...
    (rec.games.pinball)
  • Re: User Controls are dissapearing at designTime
    ... go into configuration manager and set all control projects to compile ... The user control is embedded in the project (a ... > reference in the project is not pointing anymore to binary. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Access Violation Exception
    ... In VB6, in the project's properties, go to the Compile tab and select ... This will create a PDB file when you compile ... where the error occurred in the custom control. ... > I have a vb6 app with various custom controls. ...
    (microsoft.public.vb.winapi)
  • Re: Access Violation Exception
    ... This will create a PDB file when you compile ... > where the error occurred in the custom control. ... >> I have a vb6 app with various custom controls. ... App enters into a loop where it displays the exception error and it ...
    (microsoft.public.vb.winapi)