Jun 05
The day before yesterday was my personal 2869 nightmare day. My 2869 occured during the uninstall of Guidance Automatic Extensions CTP June 2006. I have tried all that “msiexec /blablabla wahwahwah.msi” stuff with/without UAC disabled, from an admin-command-shell and from a batchfile. Everything without success. Finally i was able to uninstall my package by following the procedure that Greg Duncan describes in his blog (although it’s about another error). Give it a try.
Oh, schould not forget to give you the link to Gregs blog
patterns & practices - Smart Client Guidance - Discussions
Feb 25
Jeremy from Digital Blasphemy brought up the question of how to iterate only over certain objects in a list. In his example, he has a list filled with Cats and Dogs where both are inherited from the base class Animal. What he wanted to do is to use a foreach statement to iterate over the Dogs only without any kind of filtering inside the foreach loop. I pointed out that this is easy to achieve using an anonymous delegate as the predicate in the FindAll method of the List type. The code looks like that:
List<Animal> animals = new List<Animal>();
animals.Add(new Cat("Fluffy"));
animals.Add(new Dog("Spot"));
animals.Add(new Dog("Lucky"));
animals.Add(new Cat("Frisky"));
animals.Add(new Dog("Fido"));
foreach (Dog dog in animals.FindAll(delegate(Animal a) {return a is Dog;}))
{
Console.WriteLine("Found a dog named " + dog.Name);
}
Dez 26
Just go to Start/Run, type "IExpress" and press enter.
Mai 30
Valuable Infos for creating an unattended Windows Setup: MSFN's Unattended XP CD
Letzte Kommentare