Daily Archives: November 23, 2004

Magic folders – win32 and also .net

Raymond Chen explains why folders like My Pictures would reappear after you delete them.

There’s actually something that caught me by surprise in .NET that I learned to accept that is along the same lines. I have some code that needs to look for a file in the Application Data folder area for a particular program. But I don’t want to use the CommonAppDataPath, as this creates a new folder for each version of the application. Therefore, I use the GetParent function combined with the folder name I always want to use like this:

dirStore = System.IO.Directory.GetParent(System.Windows.Forms.Application.CommonAppDataPath).ToString & “\filestore”

But this actually creates the CommAppDataPath folder anyway! Maybe there’s an overload I’m missing and I learned to accept it. My data goes where I want it to in the long run and the users never look there anyway.

 

Posted from BLInk!

Vermont IT Jobs: Web Developer:PHP/Perl/MySQL

800Response has a Web Developer job listed in www.sevendaysvt.com. They don’t have the job listed on their website (that I can find). The job descrip says “must be familiarl with Dreamweaver, Fireworks and Flash, and have excellent system architecture and application/database design skills.” There’s more. If you can’t find 7Days, maybe email blesperance@800reponse.com for a job description.

Posted from BLInk!