Launch Visual Studio 2008 Belgium

by Damiaan Peeters 6. January 2008 15:24

Heroes Happen Here it is called. Go to

Heroes Happen Here is the main theme of an impressive launch.
With it, Microsoft honours the talent of all of our users who transform our products into powerful products for solving real work IT problems.

On Launch day March 11, we'll officially present new versions of Windows Server 2008, Microsoft SQL Server 2008 and Microsoft Visual Studio 2008.

On March 12 and March 13 we stage the TechDays. During workshops IT professionals and developers alike get a chance to go into every single asset of each pack.

The program for the technical sessions on March 12 and 13 are still not available, but i guess this will be soon the case.

Let's meet in Gent.

Connectionstring in another Project (DLL)

by Damiaan Peeters 1. January 2008 16:49

I always put my datalogic into a different project.  Like this i can reuse my DL in other projects with the same purpose or customer.  [more]

To change or get a connectionstring is normally impossible because the Settings class is declared as internal.  This means that the complete project is able to access this property, but other projects (dll's) are not allowed to access this property.

If you try to access this, you will see get an error like this:

'DamPee.MyProject.DL.Properties.Settings' is inaccessible due to its protection level   

If you open the Settings, you will see the Access Modifier.  Change this to Public.



Now you will be able to access the Settings (including the connectionstrings) in your other projects.

connection.ConnectionString = global::DamPee.MyProject.DL.Properties.Settings.Default.MyProjectConnectionString;

Certified Umbraco Master, Part of Umbraco Certified partner comm-it, .Net and Azure developer, seo lover. Magician in my spare time.

Month List