Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

VB6 - SQLSMO

 
   Database Forums (Home) -> MSDE RSS
Next:  db2 restore database TSM  
Author Message
user2257

External


Since: Dec 20, 2004
Posts: 2



(Msg. 1) Posted: Fri Feb 01, 2008 6:05 pm
Post subject: VB6 - SQLSMO
Archived from groups: microsoft>public>sqlserver>msde (more info?)

I have a SQL 2000 maintenance program written in VB6 that I update and
distribute when I want to make changes to SQL 2000 database I have to
support. I have to update the program to use SQL 2005, but can't get SQLDMO
to work with SQL 2005.

I've gone thru Google searches to see the options I have, but can't find
anybody that has been able to use SQLSMO in VB6. I have found a reference
to SQLSMO.dll but can't find it in my SQL 2005 folders.

Is it possible to use a VB6 program to access SQLSMO, or use SQLDMO to
access SQL 2005?

Thanks for any info.

Jim K.

 >> Stay informed about: VB6 - SQLSMO 
Back to top
Login to vote
Andrea Montanari

External


Since: Sep 13, 2003
Posts: 851



(Msg. 2) Posted: Sat Feb 02, 2008 8:02 am
Post subject: Re: VB6 - SQLSMO [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hi,
JimK wrote:
> I have a SQL 2000 maintenance program written in VB6 that I update and
> distribute when I want to make changes to SQL 2000 database I have to
> support. I have to update the program to use SQL 2005, but can't get
> SQLDMO to work with SQL 2005.
>
> I've gone thru Google searches to see the options I have, but can't
> find anybody that has been able to use SQLSMO in VB6. I have found a
> reference to SQLSMO.dll but can't find it in my SQL 2005 folders.
>
> Is it possible to use a VB6 program to access SQLSMO, or use SQLDMO to
> access SQL 2005?
>
> Thanks for any info.

try staring reading
http://msdn2.microsoft.com/en-us/library/zsfww439(VS.71).aspx
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz http://italy.mvps.org
DbaMgr2k ver 0.21.1 - DbaMgr ver 0.65.1 and further SQL Tools
--------- remove DMO to reply

 >> Stay informed about: VB6 - SQLSMO 
Back to top
Login to vote
Chris.Cheney

External


Since: Mar 20, 2007
Posts: 18



(Msg. 3) Posted: Sat Feb 02, 2008 4:31 pm
Post subject: Re: VB6 - SQLSMO [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"JimK" wrote in


> I have a SQL 2000 maintenance program written in VB6 that I update and
> distribute when I want to make changes to SQL 2000 database I have to
> support. I have to update the program to use SQL 2005, but can't get
> SQLDMO to work with SQL 2005.
>
> I've gone thru Google searches to see the options I have, but can't
> find anybody that has been able to use SQLSMO in VB6. I have found a
> reference to SQLSMO.dll but can't find it in my SQL 2005 folders.
>
> Is it possible to use a VB6 program to access SQLSMO, or use SQLDMO to
> access SQL 2005?

SQL Server 2000 SQLDMO works for me against SQL Server 2005 Express.

If SQL Server 2000 SQLDMO is not available, see

http://www.microsoft.com/downloads/details.aspx?familyid=D09C1D60-A13C-
4479-9B91-9E8B9D835CDC&displaylang=en

for Microsoft SQL Server 2005 Backward Compatibility Components:

"The SQL Server Backward Compatibility package includes the latest versions
of Data Transformation Services 2000 runtime (DTS), SQL Distributed
Management Objects (SQL-DMO), Decision Support Objects (DSO), and SQL
Virtual Device Interface (SQLVDI). These versions have been updated for
compatibility with SQL Server 2005 and include all fixes shipped through
SQL Server 2000 SP4"

HTH
 >> Stay informed about: VB6 - SQLSMO 
Back to top
Login to vote
user2257

External


Since: Dec 20, 2004
Posts: 2



(Msg. 4) Posted: Sun Feb 03, 2008 2:00 pm
Post subject: Re: VB6 - SQLSMO [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for the reply.

I was using an old version of SQLDMO and the links were just what I needed.


"Chris.Cheney" wrote in message

> "JimK" wrote in
>
>
>> I have a SQL 2000 maintenance program written in VB6 that I update and
>> distribute when I want to make changes to SQL 2000 database I have to
>> support. I have to update the program to use SQL 2005, but can't get
>> SQLDMO to work with SQL 2005.
>>
>> I've gone thru Google searches to see the options I have, but can't
>> find anybody that has been able to use SQLSMO in VB6. I have found a
>> reference to SQLSMO.dll but can't find it in my SQL 2005 folders.
>>
>> Is it possible to use a VB6 program to access SQLSMO, or use SQLDMO to
>> access SQL 2005?
>
> SQL Server 2000 SQLDMO works for me against SQL Server 2005 Express.
>
> If SQL Server 2000 SQLDMO is not available, see
>
> http://www.microsoft.com/downloads/details.aspx?familyid=D09C1D60-A13C-
> 4479-9B91-9E8B9D835CDC&displaylang=en
>
> for Microsoft SQL Server 2005 Backward Compatibility Components:
>
> "The SQL Server Backward Compatibility package includes the latest
> versions
> of Data Transformation Services 2000 runtime (DTS), SQL Distributed
> Management Objects (SQL-DMO), Decision Support Objects (DSO), and SQL
> Virtual Device Interface (SQLVDI). These versions have been updated for
> compatibility with SQL Server 2005 and include all fixes shipped through
> SQL Server 2000 SP4"
>
> HTH
 >> Stay informed about: VB6 - SQLSMO 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> MSDE All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]