I've create a DTS package on SQL Server which simply imports a tab delimited text file into a table in SQL Server.
I've referenced the Microsoft DTS Package Object Library in my VB project and written some code to load the package from SQL Server and execute it. This all works fine.
The problem is the name of the text file is different each time the package is executed inside my VB project.
How can I pass into the DTS package the name of the text file I wish to import, at runtime?
Thanks in advance