FILE: Rdsensub.exe with RDS Conflict Resolution Sample

Last reviewed: March 5, 1998
Article ID: Q177720
The information in this article applies to:
  • Remote Data Service for ADO versions 1.0, 1.1, 1.5

SUMMARY

In version 1.5 of Remote Data Services (RDS), the SubmitChanges method returns that an update either failed or succeeded. In the future, RDS will support providing more information about failures. However, that feature is not available in the 1.5 release.

The RDS Enhanced Submit sample creates a custom business object, which when changes are submitted, generates and returns a recordset with each record that failed to be submitted.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Rdsensub.exe (size: 62463 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

Remote Data Services (RDS) does provide the architecture by which a developer could implement an update status mechanism through the use of custom business objects. This sample provides an example of how this functionality would be implemented by a developer.

Server Installation

The following steps are to be followed for a server-side installation of Rdsensub.dll:

  1. Copy Rdsensub.dll and Launchsafe.reg to a folder on your RDS server.

  2. Register Rdsensub using Regsvr32.exe using the following command line syntax:

          regsvr32 Rdsensub.dll
    

  3. Make Rdsensub.dll Launch Safe by double-clicking Launchsafe.reg in Windows Explorer.

  4. Test Rdsensub.dll by using Testconflict.htm or Testconflict.exe.

  5. Review the VBScript (VBS) code in Testconflict.htm.

Running the HTML Sample

  1. Copy Testconflict.htm to a folder on your RDS client or a folder on your Internet Information Server (IIS) accessible by your Web browsers.

  2. Open the Testconflict.htm page. Running multiple instances of Testconflict.htm is a way to reproduce an actual conflict situation.

  3. Review the VBScript (VBS) code in Testconflict.htm.

Running the VB Sample

  1. Copy Testconflict.exe, Testconflict.vbp, and Testconflict.frm to your RDS Client computer.

  2. Run Testconflict.exe. Running multiple instances of Testconflict.exe is a way to reproduce an actual conflict situation.

  3. Review the Visual Basic for Applications (VBA) code in Testconflict.frm.

Keywords          : rdsAll rdsMisc
Version           : WINDOWS:1.0,1.1,1.5
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.