Hi everybody

I'm trying to create an .exe file that will be accessed throught the ineternet (http://whatever/test.exe) - and this .exe file must have access to my database. I have created a file-DSN (works fine in ASP), and I want to connect to the database using that same file-DSN. When I do this:

DBconnection.Open "DSN=infish.dsn;uid=admin;pwd=;database=infish"



it doesn't work...
- I get an error number 19:

Object variable or With block variable not set. Does anyone have a clue on what I'm doing wrong ? The database is not password protected, but I get the same error if I use the following strings:
DBconnection.Open "DSN=infish.dsn", "", ""


or
DBconnection.Open "DSN=infish.dsn"



Do I have to specify the DSN more specific ? or is it something else ?

Any help will be greatly appreciated

best regards
Jan Hansen