LovelyGreeting has asked for the wisdom of the Perl Monks concerning the following question:
It fails at $Conn->Open line, but I can use the same Connection String("DSN=ENG_DB;UID=enguser;PWD=yt12xcj") in VB program successfully. Any idea or suggestion will be greatly appreciated! Thanks.use strict; use Win32::OLE; my $Conn; my $RS; $Conn = Win32::OLE->new("ADODB.Connection","Close") or die "ADO New Co +nnection failed $!"; $RS = Win32::OLE->new("ADODB.Recordset") or die "ADO New Recordset fai +led $!"; $Conn->Open("DSN=ENG_DB;UID=enguser;PWD=yt12xcj") or die "ADO Connecti +on open failed $!"; $RS->Close; $Conn->Close;
edited: Mon Jul 1 18:47:35 2002 by jeffa - title change
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ADO
by kodo (Hermit) on Jul 01, 2002 at 09:50 UTC | |
by smitz (Chaplain) on Jul 01, 2002 at 09:56 UTC | |
|
Re: ADO
by Courage (Parson) on Jul 01, 2002 at 16:20 UTC | |
by LovelyGreeting (Novice) on Jul 02, 2002 at 02:53 UTC |