dbTalk Databases Forums  

Wrapper.IDTSComponentMetaData90

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Wrapper.IDTSComponentMetaData90 in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alex
 
Posts: n/a

Default Wrapper.IDTSComponentMetaData90 - 01-20-2006 , 11:27 AM






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/lib...on entui.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.IDTSComponentMetaData90, ByVal
serviceProvider As IServiceProvider)

As you can see from the sample the Initialize Sub is implemented but is
expecting IDTSComponentMetadata90 as opposed to
Wrapper.IDTSComoponentMetaData90. 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.IDTSComponentMetaData90, ByVal serviceProvider As IServiceProvider),
I get an error message Wrapper.IDTSComponentMetaData90 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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.