The Microsoft® ActiveX® replication control sample programs demonstrate how to include the SQL Merge and SQL Distribution controls in a custom application.
The script that creates a Distributor and sample transactional and merge publications is located in the \Mssql7\Devtools\Samples\Sqlrepl\Replctl directory. Use this file:
Sample Microsoft Visual Basic® code that demonstrates how to include the SQL Distribution and SQL Merge controls in a custom application is located in the \Mssql7\Devtools\Samples\Sqlrepl\Replctl\Vb directory. Use these files:
Sample C++ code that demonstrates how to include the SQL Distribution and SQL Merge controls in a custom application is located in the \Mssql7\Devtools\Samples\Sqlrepl\Replctl\Cpp directory. Use these files:
To run the sample programs