Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running a DTS package from VB6

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
0
36
US
objPackage.LoadFromSQLServer("Michelle2", , , , , , , "DataWarehouseTest")

I snatched this from an earlier post and put it in my goodie bag folder.
Now I would like to run a DTS package myself

What else do I need above the objPackage. code line DIM it and SET it to something but what?

Dim objPackage as .....
Set objPackage = .....

TIA DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
You have to reference the Microsoft DTSPackage Object Library;
ie Dim objPackage As DTS.Package
Set objPackage = New DTS.Package

LotusEater
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top