.NET Connection is a new free .NET based tool for MS Excel to create and store connection strings in to a various number of databases and to other sources. This is my first public free .NET based tool for MS Excel and it will be followed by additional tools based on the .NET technology in the future.
It can create connection strings with both the Data Link Wizard as well as with the .NET Data Link Wizard. The .NET Data Link Wizard provides us with access to .NET Framework Data Providers to create connection strings with. These Data Providers are not available through the Data Link Wizard.
To store and handle the connection strings it uses a Microsoft Database (aka Access database). It may appear as an ‘overkill’ but in the future it will also handle additional data of different types.
Requirements & Installation
- Excel 2000, 2002, 2003 or 2007
- .NET Framework 2.0 and higher
- Windows 2000 SP-4, Windows XP SP-2 or Windows Vista
- (The option “Trust access to the VBA Project object model” must be checked – I still prefer that this is done by the owners of the computers then changing it through Windows Registry – code of ethics )
To install .NET Connection Tool You download it from here, save it to the hard drive and then execute the MSI-package.
The package has intentionally been kept simple and clean. It does not check if the above requirements are met or not.
Using .NET Connection Tool
After the installation of the tool a new item has been added to the menu in the VB Editor as the following screenshot shows:
The following dialogforms are similar to both Wizards which make it possible to store the created connection string with a unique name:
Please also see the startpage at MSDN for .NET Data Providers
Let me me know what You think about it and also how it can be improved.
The .NET Connection Tool is provided “AS IS” and with no liabilities from Dennis Wallentin or XL-Dennis.