How to generate an ADO Connection String
For database connections in UltraDev you often need to supply an ADo Connection String. Here is a tip how to generate such string very easily.
(Windows only)
- Go to your desktop
- Right click and choose NEW/Microsoft Data Link - if you don't have this option on your menu, just choose NEW/Text Document
- If you have make a new text file - change the file extension from .txt to .udl
- Double click on the new file - you will see now the Microsoft Connection wizard (Data Link Properties)
- Choose your database driver and connection properties
- Test the connection
- Choose OK to save the file
- Now click on the Start Menu (button) and choose Run...
- Type WRITE (or Notepad)
- Drag the file from your desktop just behind the command that you type on step 9 - you will see the file name and path appear just after WRITE
- Run the command - you will see now the text editor started with your connection file open in it. It is all text
- Select and copy the line after the comment "; Everything after this line is ..."
- This you your ADO connection string! You can use this in UltraDev now! Just paste it into UltraDev connection dialog.
That's it - have fun!
Comments
I do not follow
RE: I do not follow
I mean that you should just right click on the desktop and from the popup menu choose the option NEW and then from the expanded menu with options you choose Microsoft Data Link (or Text Document if it does not exist).
Is this still very unclear? Maybe my English is not so well. I this case rewite the FAQ and send it back to me (e-mail)
RE: RE: I do not follow
RE: RE: RE: I do not follow
I went into the control panel and just added udl as a new MIME type, and still can not launch Microsoft Connection wizard (Data Link Properties).
Am I on the right track?
You must me logged in to write a comment.