What Convert DSN Demo Demonstrates

The Convert DSN Demo uses the ODBC API to enable you to convert User and System DSNs to File DSNs. Convert DSN creates File DSN pointers to machine DSNs by iterating through all User and System DSNs in the Windows Registry and creating a pointer to each.

Note   Convert DSN Demo is provided as a sample.

Features

The Convert DSN Demo iterates through all User and System DSNs and makes a version of the data source name acceptable for use as a filename. Then, Convert DSN Demo expands the name into a full, valid filename and writes the “DSN=” keyword into the File DSN.

Limitations of Convert DSN Demo

Convert DSN Demo does not log the progress of the conversion, nor does it indicate when the conversion is complete.