Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: VB6
Expertise: beginner
Feb 3, 2001

Create UDL files the easy way

The standard way to create a UDL file is to right-click in the directory where you want to create it and select the New-Microsoft Data Link menu command. Unfortunately, on many computers, this manual procedure won't work, because the file type "Microsoft Data Link" does not appear on the "New" menu.

The fix is easy, though: choose the "Text Document" file type, and then replace the .TXT extension with a .UDL extension. This is a known issue in Windows 2000, but I have also observed it on both my Windows NT 4.0 (SP4 with Visual Studio 6.0 Enterprise SP3) and Windows 98 Second Edition (with VB 6.0 Pro SP4) computers.

Scott Hutchinson
Thanks for your registration, follow us on our social networks to keep up-to-date