Home > Archive > MS SQL Server DTS > January 2006 > Wrapper.IDTSComponentMetaData90









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Wrapper.IDTSComponentMetaData90
Alex

2006-01-20, 1:23 pm

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.

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com