![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, i want execute in my DTS a function .NET that has been define in a dll file ! Thanks Mick |
#3
| |||
| |||
|
|
817248 - HOW TO: Call Visual Basic .NET Assembly from Visual Basic 6.0 and Call Visual Basic COM Component from Visual Basic .NET (http://support.microsoft.com/default...8&Product=vbNE T) You will need to expose your assembly to COM, see the section "Expose .NET Framework Assemblies to COM Clients" in the KB link. You can then call this via COM in an ActiveX Script Task. An alternative would be to create a full custom task and leverage the .Net functions that way- 328587 - HOW TO: Create a DTS Custom Task by Using Visual Basic .NET (http://support.microsoft.com/default...7&Product=vbNE T) -- Darren Green http://www.sqldts.com sadmick (AT) hotmail (DOT) com> wrote in message news:d44c18b1.0404260114.2440abbb (AT) posting (DOT) google.com... Hi, i want execute in my DTS a function .NET that has been define in a dll file ! Thanks Mick |
#4
| |||
| |||
|
|
Hi, I have "Expose .NET Framework Assemblies to COM Clients" (use command Tlbexp and regasm) and now, how i call my function in activeX ? Once you have made you assembly available through COM via regasm you |
![]() |
| Thread Tools | |
| Display Modes | |
| |