By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

Help with DTS package running in Visual Basic .NET

P: n/a
Hi all,

I created a DTS package in SQL Server 2000 that creates several stored
procedures. I need to run this package as part of an installation program
for an application that uses the stored procedures. In the past I saved the
DTS package as a Visual Basic file, compiled the Visual Basic file in the
Visual Studio 6.0 environment and ran the executable during the installation.

I want to do the same thing using Visual Basic in Visual Studio 2005 but I
can't get past this compiler error:
error BC30547: Interface 'DTS.OleDBProperties' cannot
be indexed because it has no default property.

Below is the offending code:
oConnection.ConnectionProperties("Integrated Security") = "SSPI"
oConnection.ConnectionProperties("Persist Security Info") = True
oConnection.ConnectionProperties("Initial Catalog") = "SSM6000"
oConnection.ConnectionProperties("Data Source") = "SSM_6000_SWE"
oConnection.ConnectionProperties("Application Name") = "DTS Designer"

Any help would be greatly appreciated!

Thanks in advance,
Gloria

Nov 9 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.