Geeks With Blogs
Hannes Pavelka It isn't rocket science. Well, unless of course you're NASA November 2005 Entries
WSE 3.0 Configuration Tool does not appear in Visual Studio 2005
If you are having problems to see the WSE 3.0 tool in the IDE you should first follow the instructions from the read me: The WSE Settings Tool does not appear on the Visual Studio 2005 Solution Explorer content menu. This occurs if you install Visual Studio 2005 and then install WSE 3.0 without first having started Visual Studio 2005. Ensure that you start Visual Studio 2005 before installing WSE 3.0. Alternatively you can use the Visual Studio 2005 Add-in Manager available from the Tools menu item ......

Posted On Tuesday, November 22, 2005 6:53 PM

ClickOnce fails with Firefox and other alternative browsers
As you might know Click Once does not support Firefox, to be more specific ClickOnce even requires IE to be your default browser to work 100%.There are a few workarounds available: use IE for installing the Click Once application.This sounds a bit odd, but is probably is the easiest solution. If Firefox is your default browser you might still be able to install a click once app by using IE.The problem: If your Application carries a bootstrapper along with it to install prerequisites before the actual ......

Posted On Tuesday, November 22, 2005 10:07 AM

How to modify a hashtable in a foreach loop
If you try to modify a collection while enumarte over it you will get an Exception : "Collection was modified; enumeration operation may not execute." Personally, I simply copy the keys: Hashtable t = new Hashtable();t.Add(1, 1);t.Add(2, 2);ArrayList a = new ArrayList(t.Keys);foreach (int i in a){ t.Remove(i);} Eric Gunnerson has another aproach. You can read it here ......

Posted On Thursday, November 17, 2005 8:16 PM

Why does the TabControlTask under VS2005 don't offer Edit Tab ?

Could it be so hard to imagine I might want to Edit a tab ???

Add Tab - Edit Tab - Remove Tab would be much more reasonable.

Posted On Thursday, November 17, 2005 7:36 PM

db4o 5.0 with Native Queries
The db4o open source object database is introducing the concept of Native Queries into their new 5.0 release. Native Queries are a new approach to express database queries with .Net syntax, completely without the use of strings. Native Queries are fully checked at compile time, they can be written using IDE autocompletion and they can be automatically refactored by the IDE. An example query would look like this: IList <Cat> cats = db.Query <Cat> (delegate (Cat cat) { return cat.Father.Father.FirstName ......

Posted On Wednesday, November 16, 2005 10:11 AM

NUnit 2.2.3 is available

The new 2.2.3 release of NUnit is compatible with the VS2005 and .NET 2.0 RTM.

You can get it on the NUnit SF Site. By the time of writing you can't find it on yet.

Posted On Wednesday, November 16, 2005 7:26 AM

Visual Studio 2005 InteliSense completes if you hit space bar
Upon default Visual Studio 2005 will complete a selection if you hit the space bar. That means, if you plan to use a not yet declared variable, e.g. "radio" and hit the space bar intellisense will kindly complete it to RadioButton for you. This really is not how I wan't intellisense to behave. It's enough for me if intelisense completes upon tab. Luckily, it's possible to disable that behaviour. Go to Tools->Options->Text Editor->C#->Intellisense and uncheck Committed by pressing the ......

Posted On Friday, November 11, 2005 1:04 PM

Pandora Music V2.0 with unlimited free Version

Pandora Music has added a bunch of new features to their service.

Besides adding a lot of extra candy you can now use pandora for free (ad-supported).

Read all about it at the Pandora developer blog.

Posted On Thursday, November 10, 2005 7:30 PM

Roll your own search engine
The signal-to-noise ratio is still increasing. Our old habits of searching will soon fail. There are several new search engines out to make our search more personalized and thus give us a better search experience. You are probably aware of Yahoo's MyWeb 2.0 , PersonalizedGoogle , IndividualGoogle and Microsoft But did you know about and tried Rollyo and Filangy. Rollyo allows you to take your favorite urls and create a search engine that only searches those domains Filangy remembers every ......

Posted On Tuesday, November 8, 2005 9:26 PM

Top 10 replies by developers when their programs don’t work
This is hilarious (via Enrique Ortiz). Replies by developers when their programs don’t work: 10. 'That's weird...' 9. 'It's never done that before.' 8. 'It worked yesterday.' 7. 'You must have the wrong version.' 6. 'It works, but it hasn't been tested.' 5. 'Somebody must have changed my code.' 4. 'Did you check for a virus?' 3. 'Where were you when the program blew up?'2. 'Why do you want to do it that way?' 1. 'I thought I fixed that ......

Posted On Tuesday, November 8, 2005 4:38 PM

The first internet worm and the first commercial firewall
If you are interested in the history of internet security I can recommend you to read this article on the cisco homepage. Two interesting facts: On November 2, 1988, something happened that changed the Internet forever. Reporting this incident, Peter Yee at the NASA Ames Research Center sent a note out to the TCP/IP Internet mailing list that reported, "We are currently under attack from an Internet VIRUS! It has hit Berkeley, UC San Diego, Lawrence Livermore, Stanford, and NASA Ames. Of course, ......

Posted On Saturday, November 5, 2005 10:38 AM

Declaring Properties on interfaces

Even though this is probably obvious I had to look it up today.

Declaring a property on interface in c# works like this:

public interface IFoo
   string Value { get; set; }


Posted On Wednesday, November 2, 2005 8:46 AM

Copyright © Hannes Pavelka | Powered by: