Re: ADO - Copy Data from one data source to another via VB6

From: William \(Bill\) Vaughn (billvaRemoveThis_at_nwlink.com)
Date: 08/24/04


Date: Tue, 24 Aug 2004 14:35:32 -0700

Nope, I would search the archives of this list and google--it's been
mentioned before. You're getting paid to write the code--I'm just a
volunteer here and busy with my own work as well.

-- 
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"rmsterling" <rmsterling@avaya.com> wrote in message 
news:D4E49849-2651-44D5-9FAB-EF2672677F28@microsoft.com...
>
> Bill,
>
> Are you able to give some sample code please as I am unfamilar with SQL 
> DMO
> and I have not got time to look up extensive help pages to find the code.
>
> Can you help?
>
> Regards,
> Richard.
>
>
> "William (Bill) Vaughn" wrote:
>
>> Yes, you can write BCP or DTS routines using SQL-DMO from VB6. It would 
>> move
>> the data far faster than ADO.
>>
>> -- 
>> ____________________________________
>> William (Bill) Vaughn
>> Author, Mentor, Consultant
>> Microsoft MVP
>> www.betav.com
>> Please reply only to the newsgroup so that others can benefit.
>> This posting is provided "AS IS" with no warranties, and confers no 
>> rights.
>> __________________________________
>>
>> "rmsterling" <rmsterling@avaya.com> wrote in message
>> news:F8E2F464-F681-4143-9FAE-4FAA00A5C2B0@microsoft.com...
>> > Re: ADO - Copy Data from one data source to another via VB6
>> >
>> > I have two data sources located on two different servers.
>> > Both data sources are defined as a System DSN in the ODBC 
>> > Administrator.
>> >
>> > Currently I open both sources using ADO and copy the records from one
>> > source
>> > to another. As there are thousands of records it takes hours to copy 
>> > the
>> > data.
>> >
>> > I noticed if both sources are SQL Server I can use DTS services. The
>> > problem
>> > with this is that the SQL query is fixed. I need to be able to alter it
>> > from
>> > VB6.
>> >
>> > Does anyone have any VB6 code that does this using a OLE plug-in?
>> > OR
>> > Does anyone know any other way of performing this task quicker than the
>> > way
>> > I am doing it above?
>> >
>> > Please post answers to MSDN Newsgroup thread and to my email address
>> > below.
>> >
>> > Many thanks in advance.
>> >
>> > -- 
>> > ----------------------------
>> > Regards,
>> > Richard Sterling
>> > Senior Software Engineer Tel : +44 (0)1707 392200 ext 4815
>> > Avaya ECS Ltd, United Kingdom
>> > mailto:rmsterling@avaya.com
>> >
>>
>>
>> 


Relevant Pages

  • Re: ADO - Copy Data from one data source to another via VB6
    ... Are you able to give some sample code please as I am unfamilar with SQL DMO ... > William (Bill) Vaughn ... >> Both data sources are defined as a System DSN in the ODBC Administrator. ...
    (microsoft.public.data.ado)
  • Re: Mail Merge Document Loses Its Marbles
    ... > It does happen with all documents and when in safe mode it produces an SQL ... that the data sources are no longer connected when the documents are closed. ... reply in the newsgroup and not by e-mail :-) ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Hello? Is anyone reading these? Im waiting for an answer, and Im not the only one...
    ... William (Bill) Vaughn ... Please reply only to the newsgroup so that others can benefit. ... >> William Vaughn ... >> Microsoft MVP ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Moderated motorcycle NGs?
    ... the Live to Flame and Flame to Live crowd has become a little ... > Live to Flame and Flame to Live crowd got exposed big time.. ... > newsgroup.. ... I think you have your facts wrong, yet again Bill. ...
    (rec.motorcycles)
  • Re: Visit
    ... and visit with Bill. ... One of them used the death of a child to attack the father, ... that newsgroup, ... Breckenridge incident which was also very well explored on usenet.. ...
    (rec.motorcycles)