Overview of Migrating ICursor-Based ActiveX Controls to OLE DB

The complexity of the conversion process varies based on design and implementation techniques used for a particular control. For the most part, you can expect to make modifications in the following areas:

You can expect very little change in:

Considerations Before Migrating

Migrating an existing ICursor-based ActiveX control to OLE DB requires that you understand:

Before proceeding, you may want to review the samples shipped with this SDK. Experiment with them to get accustomed to using OLE DB before starting your migration. It may be helpful to look for similarities in the way your existing control and the samples handle data access.

Once you’ve reviewed the samples, you have to decide whether to migrate or rewrite your control. If you decide to migrate, you may want to go through your existing code, and restructure and redesign it to make migration easier. This means removing any ICursor-dependent code from code sections you want to keep.