Installing Microsoft Data Access Components (MDAC) on a system adds an association to Windows Explorer that lets users double-click an existing .udl file to automatically open the Data Link Properties dialog box. You can edit the .udl file and change the various connection properties. However, whereas Windows 2000 includes MDAC 2.5, it has no association that lets you add new .udl files directly from Windows Explorer. You can manually modify the Registry to add a new Data Link option to Windows Explorer's File, New menu.
- First, use Notepad or another text editor to create a datalink.reg file that contains the following lines:
- Next, run regedit, and from the Registry menu, select the Import Registry File option to import the file into your system's Registry. Importing the file will add a Data Link option to Explorer's File, New menu. Note that if you don't know which version of MDAC you are using, you can download the MDAC Component Checker from http://www.microsoft.com/data/download.htm. This utility will report the version of MDAC that you're using and any Registry or compatibility problems.