|
-
June 20th, 2001, 07:17 PM
#1
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.
-
June 21st, 2001, 05:04 AM
#2
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
-
June 21st, 2001, 12:27 PM
#3
Re: runtime error 374
Thanks but did not help.
I still get the same error.
-
June 21st, 2001, 03:54 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|