Visual Basic 6.0 problem!



I have a fairly simple program I'm writing in VB6 to do basic project
scheduling. It runs just fine on my computer. I've created an
install set using the package & deployment wizard. Here's the
problem... it only works on SOME of the computers I install it on. I
have the following code:

Public CnxnCQ As ADODB.Connection
Public CnxnGP as ADODB.Connection
Public CnxnCV As ADODB.Connection
Public rsListOrders As ADODB.Recordset
Public UserInfo as clsUser
Public OrderInfo as clsOrder
Public strSQL as String


Sub Main()

ConnectToTables

End Sub


Sub ConnectToTables()

Set CnxnCQ = New ADODB.Connection
CnxnCQ.ConnectionString = "Provider=SQLOLEDB;Data
Source=CORSICABINETS02;" & _
"Initial Catalog=CorsiTables;" & _
"Integrated Security=SSPI;"
CnxnCQ.CursorLocation = adUseClient
CnxnCQ.Open

frmLogon.Show


For some computers, this code works just fine and the program runs
without incident. For other computers, it gets as far as
'CnxnCQ.Open', then it gives me an "Object Required" error.

Please help! I can't figure out why it's not working. I've already
made sure the msado15.dll is correct for all the PCs I'm trying to
install it on. Does anyone have any ideas why this would error out?

Thank you!
.



Relevant Pages

  • Re: 0x80070005 error on multiple computers
    ... Booted into safe mode and ran Windows Update. ... Ran Windows update again and was allowed to install the package installer ... Have you only recently become responsible for these computers, ... do clean install of WinXP... ...
    (microsoft.public.windowsupdate)
  • Re: Alerting - Malicious software removal tool
    ... >needed to install an application that she could not install from ... >"Administrator" account. ... You failed to analyze the root cause and correct it ... use their computers to have fun. ...
    (microsoft.public.security.virus)
  • Re: winXP and win98 and pegasus mail
    ... Ive installed the app on the win98 machine and shared the relevant ... share the folder where Pegasus stores its ... Install Pegasus on the XP machine, and configure it to use the ... Install Pegasus on both computers. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Installing Legal Copy of XP Pro
    ... being Windows XP on all your computers, for your very own personal home ... Wayne please by all means install the WinXP on all your computers and ... Install on one machine and activate it. ...
    (microsoft.public.windowsxp.general)
  • Re: OS Future now that Fedora Legacy defunct
    ... The lack of long-term support will hurt Fedora. ... Why should one install the ... wife's computer or my development network 13 months even is way too short. ... it on dozens of computers as I am. ...
    (Fedora)