From: "mb" <[EMAIL PROTECTED]>
> I'm asking to connect to a DSN system (on windows98) ... I ceated a
> DSN file so to get connection on it.
Beg your pardon? What excatly did you create? A User DSN? A System DSN? A File
DSN?
> and when excecuting the small
> lignes bellow .
>
> #!/perl/bin/perl
> use Win32::ODBC;
> my($db) = new Win32::ODBC("ConnectGestion100;UID=mouna;PWD=mennou;");
If it was a User DSN you have to delete it and use either System DSN or File DSN. If
it
was a System DSN your code should work. And if it was a file DSN you have to use :
my($db) = new
Win32::ODBC("fileDSN=ConnectGestion100;UID=mouna;PWD=mennou;");
Plus if the ConnectGestion100.dsn file is not in the
c:\Program Files\Common Files\ODBC\Data Sources
directory you have to provide the path to the file.
Jenda
=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
--- me
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]