I have a section of code executing a SSIS package
Module DataImport
Public Sub LoadData()
Dim pkgLocation As String
Dim pkg As New Package
Dim app As New Application
Dim pkgResults As DTSExecResult
pkgLocation = _
"C:\Users\Me\Documents\Visual Studio 2005\Projects\SSISTest\Integration Services Project1\Package4.dtsx"
pkg = app.LoadPackage(pkgLocation, Nothing)
pkgResults = pkg.Execute()
This process takes a minute or two and I would like a progress bar for the user to see. I would love to have the progress bar keep up with the data load, meaning when it has loaded half the data the progress bar is at 50% (1st priority is just getting a progress bar to appear and move even if it doesn match the actual percentage of the data load)
any help would be greatly appreciated
thank you
joe
Module DataImport
Public Sub LoadData()
Dim pkgLocation As String
Dim pkg As New Package
Dim app As New Application
Dim pkgResults As DTSExecResult
pkgLocation = _
"C:\Users\Me\Documents\Visual Studio 2005\Projects\SSISTest\Integration Services Project1\Package4.dtsx"
pkg = app.LoadPackage(pkgLocation, Nothing)
pkgResults = pkg.Execute()
This process takes a minute or two and I would like a progress bar for the user to see. I would love to have the progress bar keep up with the data load, meaning when it has loaded half the data the progress bar is at 50% (1st priority is just getting a progress bar to appear and move even if it doesn match the actual percentage of the data load)
any help would be greatly appreciated
thank you
joe