Discussion Locked

VB 6.0. datalist/Access DB get ADO Error

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I created a datalist in a VB 6.0 prog that successfully accessed a MS Access database. It is connecting with Microsoft Jet 4.0 OLE component. I tested with a desktop shortcut pointing to make "exe" file. All testing was successful on 3 different PC's using O/S Win98 and ME. I ported the files and prog .exe to a remote Win-ME system that has MS-Office 2000 Pro. I am point correctly to the file folder. The following error occurs when I try the shortcut on the .exe file.

"Component "MSADODC.OCX" or one of its dependencies is not correctly registered or a file is missing or invalid"

Any help will be appreciated. I am a guy trying to learn??Gary

3 replies

by sl-campbell

Certain components that a programmer may use in an application may not be available on a client machine and therefore needs to installed and registered. The first 3 PCs obviously had the DC already on the machines. The remote PC doesn't. Porting thefiles does not always work, (there may be dependency files needed by certain components the are not you are not aware of) and can be risky.

The way to do this is to create a set-up program using the P&D wizard included with VB 6 and distribute the program and its' dependencies this way......

This discussion is closed to new replies.