|
| Hi,
I am trying to add custom GUI to my custom data source component.
I use this code sample as a base:
http://msdn2.microsoft.com/en-us/li...omponentui.aspx (I use VB.NET).
There is seems to be a couple of problems though:
1. As I pasted this sample into VS I get this error message:
Class SampleComponentUI must implement Sub Initialize(ByVal
dtsComponentMetadata
As Wrapper. IDTSComponentMetaDat
a90, ByVal
serviceProvider As IServiceProvider)
As you can see from the sample the Initialize Sub is implemented but is
expecting IDTSComponentMetadat
a90 as opposed to
Wrapper. IDTSComoponentMetaDa
ta90. I guess there is an issue with
documentation.
2. When I try to change the signature of the Initialize Sub to
Sub Initialize(ByVal dtsComponentMetadata
As
Wrapper. IDTSComponentMetaDat
a90, ByVal serviceProvider As IServiceProvider),
I get an error message Wrapper. IDTSComponentMetaDat
a90 is not declared.
I must be missing some Imports or references, but by going through
documentation I can't seem to figure out what is missing.
Here is the list of my imports statments:
Imports System
Imports System.Windows.Forms
Imports Microsoft.SqlServer.Dts.Runtime
Imports Microsoft.SqlServer.Dts.Pipeline.Design
Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper
Could somebody shed some light on this.
Thanks in advance
Alex.
|
|