DatabaseLife
Feb 15th, 2000, 10:37 PM
I have to connect a DataEnvironment source to a UDL file.
I have tried using the "FILE NAME=C:\CDBT.udl" in all sorts of ways. Various upper and lower cases, spacing. When compiled, a prompt for a DSN dialog comes up. You can't set the connection string to reach at design time because the connection (connect1) doesn't support ConnectionSource, only ConnectionString which is useless. I want to avoid hard coding the connection, but it looks like I may no alternative. I read at Deja news that some guy asked and had the same problem, in a subsequent post he said he got it to work, but didn't pass along how he came to solve it.
So how can I use the Connect1 property to accept the "FILE NAME=C:\CDBT.udl" and connect like the other ADO objects?
------------------
There's always hope!
I have tried using the "FILE NAME=C:\CDBT.udl" in all sorts of ways. Various upper and lower cases, spacing. When compiled, a prompt for a DSN dialog comes up. You can't set the connection string to reach at design time because the connection (connect1) doesn't support ConnectionSource, only ConnectionString which is useless. I want to avoid hard coding the connection, but it looks like I may no alternative. I read at Deja news that some guy asked and had the same problem, in a subsequent post he said he got it to work, but didn't pass along how he came to solve it.
So how can I use the Connect1 property to accept the "FILE NAME=C:\CDBT.udl" and connect like the other ADO objects?
------------------
There's always hope!