![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Im really stuck on this and its a major part of the entire DTS. I have a task ( acticex dll written in vb6), which is registered using the register |
|
I have three String ( varchar ) properties for this task ( name, infile & outfile ), which i can manually inseret data to and the task will complete |
|
Is this possible ? and if so are there any examples i can look at Thanks for any help with this |
#3
| |||
| |||
|
|
Alan, Ive tried that but keep comming up with the error that the Task was not found. Im not sure as to where im going wrong, if i look at the Workflow properties of the task i get "DTSStep_ConvertFileForSQL.ClsConvert_1" How would i get the proper 'Task' name to ensure that im at least using the correct details |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Alan, That did the trick as far as eliminating the error, but i now have a new one. on this line tsk.Properties("Description").Value = "Hello World" the error message = object doesnt support this property or method: tsk.Properties |
#6
| |||
| |||
|
|
Alan, The Active X task is below, its one im using to try and test this problem '************************************************* ********************* ' Visual Basic ActiveX Script '************************************************* *********************** Function MAIN() dim tsk set tsk = DTSGlobalVariables.Parent.Tasks("DTSTask_ConvertFi leForSQL.ClsConvert_1").Cu |
|
set tsk.Properties("NewOutputFileName").Value = "Hello World" Main = DTSTaskExecResult_Success End Function If you need the coding for the vb6 activex dll let me know |
#7
| |||
| |||
|
|
Alan, I tried it both ways, once with the second set and once without, same result though object doesnt support this property or method: Set tsk.Properties |
#8
| |||
| |||
|
|
Alan, i am using tsk.Properties("NewOutputFileName").Value = "Hello World" and still getting the same error message. I am at a loss as to why or what to do to rectify this. Is is a SQL/DTS setup problem or a VB6 ActiveX |
#9
| |||
| |||
|
|
Alan, Just got home, give me a min to try out the last suggestion, if that doesnt work where should i send this zipp file to ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |