Why can't I set a connectionString?
-
I am writing a VB app (called FISWDC) with a data environment (called DataEnv). I believe I should be able to do: DataEnv.Connection.connectionString = "File Name=" & App.Path & "\FISWDC.UDL;" or, at least DataEnv.Connection.connectionString = "File Name=FISWDC.UDL;" or maybe DataEnv.Connection.Open "File Name=" & App.Path & "\FISWDC.UDL;" or something like that, but whatever I do I just keep getting the error "The parameter is incorrect" or "Connection was denied. New connection you requested has different characteristics than the one already in use." Can anyone help? Dave
-
I am writing a VB app (called FISWDC) with a data environment (called DataEnv). I believe I should be able to do: DataEnv.Connection.connectionString = "File Name=" & App.Path & "\FISWDC.UDL;" or, at least DataEnv.Connection.connectionString = "File Name=FISWDC.UDL;" or maybe DataEnv.Connection.Open "File Name=" & App.Path & "\FISWDC.UDL;" or something like that, but whatever I do I just keep getting the error "The parameter is incorrect" or "Connection was denied. New connection you requested has different characteristics than the one already in use." Can anyone help? Dave