B
B. Chernick
I have a Dot Net 2 app that programmatically creates an instance of MS
Project 2003 and then issues an app.FileOpen command. My current use of the
command is essentially: rc = aApp.FileOpen(<DSN Name>\ProjectName, True, , ,
, , , , , "MSProject.odbc")
Given that MS Project 2003 needs a DSN/ODBC connection to load projects from
SQL Server 2000, is there anyway to set up a DSN-less ODBC connection that
the FileOpen command could use?
(I'm looking for options to simplify deployment, to avoid the need to
manually create a DSN on every machine the app is installed on. I'm also
looking at creating a DSN programmatically, but the documentation seems a bit
dated. Also want to avoid looking for something that does not exist.)
Project 2003 and then issues an app.FileOpen command. My current use of the
command is essentially: rc = aApp.FileOpen(<DSN Name>\ProjectName, True, , ,
, , , , , "MSProject.odbc")
Given that MS Project 2003 needs a DSN/ODBC connection to load projects from
SQL Server 2000, is there anyway to set up a DSN-less ODBC connection that
the FileOpen command could use?
(I'm looking for options to simplify deployment, to avoid the need to
manually create a DSN on every machine the app is installed on. I'm also
looking at creating a DSN programmatically, but the documentation seems a bit
dated. Also want to avoid looking for something that does not exist.)