|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a VB6 application that uses ADO to connect to an MS Access DB that is either in a local or network path. The ADO library I use is 2.1. When I install my application on a machine using the Package files I made through the Package and Deployment Wizard, the installed application can't seem to open the connection. However, right after I install Visual Studio in the targe machine, my application already gets to open the connection.
So what's wrong with my package files? Why do I still have to install visual studio in the target machine before my application works properly? Apparently, my installation files are not installing the correct ADO dlls in order for the application to open a connection. How do I correct this? Jeff |
|
#2
|
||||
|
||||
|
well, the first thing I would do is update VB6 - get ADO 2.7 and SP5. You need to watch when you are creating your deployment package to make sure that the msado.dll reference is being created. If it isn't, then you will need to create it manually during install. On the references screen, click add, and then navigate to (usually) c:\Program Files\Common Files\ado\msado.dll .
a quick question though - what error message are you getting when you try to establish the connection.
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#3
|
|||
|
|||
|
Fisherman,
I don't exactly know what error message is displayed anymore as I've made an "On Error" catch and given it a generic error message. Right now, I dont' have any more machines at hand that I can try to find out the exact message. Sorry. Jeff (aka Dyemid) |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Package and Deployment files dont work |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|