<< back to Chapleau.info

July 2008 - Posts

Some switch, and you're done...

http://blogs.technet.com/seanearp/archive/2008/05/19/installing-fedora-9-sulphur-in-virtual-pc-2007.aspx

-f.

After a couple of hours searching and tweaking some solutions, I want to share what I found, that is able to resize a transparent GIF.

The solution was found by John Kim at

http://frontendframework.com/dot-net/dynamic-image-size-converter-c/

The basic idea is to write the transparent image on an other image that is already the size that you want with the background that you want.

Thanks John.

-f.

That is what I call a really nice overview of async programming in .NET.

From the most basic way to the most complex way to do asynchronous processing.

http://www.codeproject.com/KB/cs/AsyncMethodInvocation.aspx

-f.

This simple utility is good to do that, the parameters are great, and do not try the hour parameter, it's not configured in the Demo Project...

http://www.codeproject.com/KB/files/deleteold.aspx

-f.

When using an ASP.Net application (so, with a compiled source assembly) you may encounter this error.

This can occur in many circumstances, but in my case when the ASP.NET page has a src tag and not a code behind tag. This produce an other assembly for the page that is concurencing the actual generated application assembly, so ASP.NET can't choose the good one. By changing the src attribute by the CodeBehind attribute, this is solved.

Ex:

<%@ Control Language="C#" src="test.ascx.cs" Inherits="Assembly.namespace.test" AutoEventWireUp="false" %>

by

<%@ Control Language="C#" codebehind="test.ascx.cs" Inherits="Assembly.namespace.test" AutoEventWireUp="false" %>

-f.

Error 2 Unable to copy file   to . The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Why this limitation exists. I don't know, but the only way I've found to correct that is to change the build location.

-f.