12-27-2005 06:47 AM
12-27-2005 08:33 AM
12-27-2005 08:51 AM
Thanks tst for your reply,
Well, I just copied the UDL file form the other machine and it works well in the current machine, I can modify it also to what ever I need.
I just don't want to move to DSNs (ODBC) is that I saw many Data Base experts ( from other VB forums) saying that using OLE DB (Which uses UDLs) is better that ODBC (which uses DSNs). They said that it's faster and more efficient.
I really don't have a problem now (by coping the UDL and maybe later I'll include it in my exe package) but I wanted to know why I can't create new ones from the scratch. Well, as you said, a Windows's feature.
Thanks again for reply
12-27-2005 12:21 PM
12-27-2005 12:30 PM
12-28-2005 03:35 AM
@smercurio_fc wrote:
This got changed somewhere with Windows 2000. The "Microsoft Data Link" item got removed, but there was still a .reg file that you could merge into the registry that would add it back. That doesn't seem to exist in XP. Still, you can do the same thing by:
You should then be able to edit the UDL by simply double-clicking on it.
- Select New->Text Document
- Rename the file with an extension of .udl
-Saverio
12-28-2005 03:37 AM
No. It doesn't work .. Thanks anyway for helping people.
@tst wrote:
Actually, I think all you need to do is place a UDL file inside C:\Documents and Settings\USERNAME (or All Users)\Templates. Try it and see if it works.
12-28-2005 06:08 AM
12-28-2005 06:12 AM
12-28-2005 06:23 AM
@falkpl wrote:
I have used the method described by Saverio many times in the past with no problems (changing the extension of a text document), did this work for you?
Greetings fallpl,
Yes it did work as I mentioned in my last post.