Hi,

I'm creating a DTS package in VB and I need some help.

The problem is that I need to know the programmatic ID for a text file driver.
The programmatic ID for SQLServer is SQLOLEDB.1

example:

Dim oPackage as New DTS.Package
dim oConnection as DTS.Connection

Set oConnection = oPackage.Connections.New("SQLOLEDB.1")

'The code above is to create a connection to SQLServer
'what about to a text file????

Set oConnection = oPackage.Connections.New("??????")

Thanks in advance,
Jimmy