Archive for August, 2010

DataGridView Flickering When Changing Background Colour

Date August 4th, 2010 Comment No Comments

Since implementing crossfading of tracks in Karaokidex, I’ve indicated the crossfading by gradually fading out the background colour of the first track’s row in the playlist DataGridView and fading in the background colour of the second track’s row. This caused a really annoying flickering. The problem is the DataGridView is not double-buffered by default, nor [...]

Tags: , , , ,

Launching Single-Instance ClickOnce Apps From File Association

Date August 2nd, 2010 Comment No Comments

Since Service Pack 1 of Visual Studio 2008, setting file associations has never been easier. The publish options dialog has four pages; once of which is the “File Associations” page. After one or more entries has been added, and the app published, the ClickOnce app will now be launched whenever an associated file is opened [...]

Tags: , , , ,

Removing The Need For UACLauncher

Date August 2nd, 2010 Comment No Comments

Up ’til now, when I’ve been developing and ClickOnce application, I’ve had to include a UACLauncher as a default option to support any user that is not the administrator on their own machine. The console app has elevated privileges that are passed on to the re-launched ClickOnce app. If I didn’t include this, the application [...]

Tags: , , , ,