CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2001
    Posts
    26

    runtime error 374

    I am distributing my VB 6.0 application.I use ADO using Jet 4.0 to connect to Access 2000 database.
    I am using Installshield Professional 6.3 for this purpose.

    When I try to run the application on target machine, i get error.

    runtime error 374 saying
    "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"


    What could have gone wrong?

    Any help is highly appreciated.


  2. #2
    Join Date
    Jul 2000
    Posts
    223

    Re: runtime error 374

    Just a guess...
    Check if the version of specific control on your target machine is the same as the version you have on your machine where you did all the work. If not, try to install appropriate VB-runtime files, I think that it should work fine with the vbrun60.exe (see http://support.microsoft.com/support.../q192/4/61.asp for more info). Consider to include this file in your depl.package.

    Keep in mind that I'm a beginner, so I may be WRONG . . .
    hth

    Sead

  3. #3
    Join Date
    Mar 2001
    Posts
    26

    Re: runtime error 374

    Thanks but did not help.
    I still get the same error.


  4. #4
    Join Date
    Jun 2001
    Location
    Northeast Tennessee
    Posts
    15

    Re: runtime error 374

    Are you sure that the latest version of your control is registered on the non-development machine ? You can use this utility to register/unregister ActiveX controls:

    http://www.mvps.org/ccrp/download/co...regutil120.zip


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured