ADO Provider Error in Windows95

First_Timer
12-06-2000, 09:09 AM
I have completed and packaged a setup file for an application. I have sent it off to some people to test on a variety of platforms. It seems to be working great on Windows 98 and later operating systems. Unfortunately, the database components of the program are not working in Windows95. The following messages appear: ADO could not find the specified provider; Run-time error '91' Object variable or With block variable not set. I am assuming that both errors are closely related and that if I can solve my provider error, the object variable not set issue will also disappear. However, I cannot figure out why I am getting this error message.

I included MDAC-typ with the setup and it loads all of its files to their appropriate directories. I have included DCOM95 and run it (first) to load all of its files to the appropriate places. My ADO code specifies the database file (a MS Access database) is found in App.Path & "Datafiles\MyFile.mdb"

So, does anybody have any other suggestions as to how I solve this problem. For some reason, it would seem to me, Windows95 is unable to find the data file.

niktesla
12-08-2000, 10:42 PM
I've had problems if the development system and the client have different versions of the driver. If you specify 4.0 in the code and the client has 3.X or the other way around. I don't know why mdac wouldn't put the newest on there, but compare them anyway.

Good Luck,
Brian


Brian T. Wiehoff

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum