• IE6 lacks CSS 2 support and as a CSS guy – this generally sucks to deal with. One particular pain point is when stylizing form elements. Sometimes overlooked – it has become one of the first things I usually attack when developing a websi...
  • 使用MS的JDBC驱动程序出错,使用jtds.jar代替,解决了问题。相关配置代码如下:

        <property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>       <prope...
  • 2008-08-18

    Eclipse中配置Ant - [Hibernate]

    Tag:Eclipse Ant
    Eclipse默认设置下,使用Ant编译程序,报com.sun.tools.javac.main错误。解决方法是:在Windows->Preferences->Ant-> Runtime->Classpath->Add External Jars中,添加jdk下面的\lib\tools.jar。
  • 2007-11-08

    C# WeakReference Example

    Tag:c#
    How would you like to be able to write the programming equivalent of “I might need this later….but I’m not so sure”? I’ll show you how.

    A WeakReference is an object with a very interesting behavior, it allows you to keep a reference to an object while still making it possible for it to be garbage collected. See a previous
  • 2007-10-31

    Satellite Assemblies

    Tag:c#
    While looking for the use of satellite assemblies, I came across many examples. But, when I tried to run them, most of them did not fulfill my expectations from a satellite assembly.

    In this article, you'll see what satellite assemblies are, how to create them, and how to use satellite assemblies with strong named assemblies with very simple and small pieces of code chu...
  •   

    Motivation for This ArticleAfter the original article on Asynchronous Socket Programming in C# was published by CodeGuru, I received numerous responses from interested readers. Most of them asked for additional features that were missing i...
  • Asynchronous Socket Programming in C#: Part I
    Client-Server Example with Multiple Simultaneous Clients

     

    ObjectiveThe objective of this article is to demonstrate a socket-based client/server application that will allow two-way asynchronous communication between a server and multiple client applications. Because...
  • Passing Exceptions on to the Caller
    It’s sometimes the case that there’s not much that can be done when an exception occurs; it really has
    to be handled by the calling function. There are three basic ways to deal with this, which are named
    based on their result in the caller: Caller Beware, Caller Confuse, and Caller Inform.
    Caller Beware
    The first way is to...