FILE: Rdsensub.exe with RDS Conflict Resolution Sample - Includes Binding, Addnew

ID: Q177720


The information in this article applies to:
  • Remote Data Service for ADO versions 1.5, 2.0, 2.1 SP2


SUMMARY

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.

Note that starting with RDS 2.0, you can also extend the functionality of the default RDS business object, the DataFactory object. To do this, you write a custom handler object that implements a specific interface called IDataFactoryHandler. For more information, please see the article listed below.


MORE INFORMATION

The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:

RDSENSUB.exe
Remote Data Services (RDS) provids an 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:


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


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


  6. Review the VBScript 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 code in Testconflict.htm.


Running the Visual Basic 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.



REFERENCES

For more information on creating a custom handler object that implements IdataFactoryHandler, please refer to the following article in Microsoft Developer Network Library:

Using the Customization Handler Feature in RDS 2.0
This article is available on the World Wide Web at the following site:
http://www.microsoft.com/data/ado/rds/custhand.htm

Additional query words:

Keywords : kbDatabase kbRDS150 kbRDS200 kbGrpVBDB kbGrpMDAC kbDSupport kbRDS210SP2 kbMDAC210SP2
Version : WINDOWS:1.5,2.0,2.1 SP2
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: November 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.