The platform that enables you to build rich, interactive communities
in
All Tags » C#/.NET (RSS)

Browse by Tags

  • The project type is not supported by this installation

    To work on WPF in VisualStudio, download .NET 3.0 is not enough. You also need to download “Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP”. It provides developers with support for building .NET Framework 3.0 applications using the released version of Visual Studio...
    Posted to snowcounty (Weblog) by rliang on 09-24-2007
  • Determin your computer processor type

    To use the set command to determine the processor type, follow these steps: 1. Click Start , click Run , type cmd in the Open box, and then press ENTER. 2. At the command prompt, type set , and then press ENTER. 3. Note the string that is displayed next to PROCESSOR_IDENTIFIER.
    Posted to snowcounty (Weblog) by rliang on 09-21-2007
  • Http icons

    To make your own icon through a third party web site: http://tools.dynamicdrive.com/favicon/ Another way to create icon, you can download tool from http://www.mindvision.com . It has a tool called PixelToolbox
    Posted to snowcounty (Weblog) by rliang on 09-03-2007
  • Service Unavailable

    One way to fix this: Open the server’s local security policy (start>run>secpol.msc), expand local polices and browse to User Rights assignment. Once in User Rights Assignment, open up the “Log on as Service“ right. Any account or group in this list will be able to logon as a service. So, click...
    Posted to snowcounty (Weblog) by rliang on 08-18-2007
  • Code Snippet

    1. How to customize VS menu to add code snippet manager If the Code Snippets Manager menu item is not available in the Tools menu then right click on the tool bars within Visual Studio 2005 and choose Customize from the context menu that appears. In the Categories list box choose the Tools (menu) and...
    Posted to snowcounty (Weblog) by rliang on 08-16-2007
  • Array, ArrayList, Generic List

    An array is designed to store a specific number of items of the same type in a contiguous fashion. The ArrayList maintains an internal object array and provides automatic resizing of the array as the number of elements added to the ArrayList grows. Because the ArrayList uses an object array, developers...
    Posted to snowcounty (Weblog) by rliang on 05-10-2007
  • Async Call without Callback

    Async call can speed up application performance by forking child process to work on async tasks. Some tasks may require a call back from children processors once the children processors done with their work. In time that we don’t need a call back, such as database insertion for log, audit purposes. Using...
    Posted to snowcounty (Weblog) by rliang on 04-23-2007
  • Type Conversion

    Some interesting type conversion here. public static ResultSet Sort(ResultSet set) { IComparer wc = new WeightComparer(); ResultSet sortedSet = new ResultSet(); ArrayList al = new ArrayList(); for (int index = 0; index < set.Count; index++) { T r = (T)set.internalSet[index]; Type resultType = typeof...
    Posted to snowcounty (Weblog) by rliang on 04-17-2007
  • Use interface to simulate multiple call back methods

    Delegate only can have one call back method. What if you need more than one call back method within one processing scope? One way to work around is to use an interface. The interface can contain any numbers of call back methods you want to. public interface INotificationCallbacks { void FinishedProcessingSubGroup...
    Posted to snowcounty (Weblog) by rliang on 04-15-2007
  • Build a data type that Sortable

    The data type needs to implement the IComparable interface on the class. With this interface, you can take advantage of the Array, ArrayList, List generic, and SortedList classes. The algorithm for sorting are built into those classes; all you need to do is to tell them how to sort your classes via the...
    Posted to snowcounty (Weblog) by rliang on 04-10-2007
Page 1 of 6 (53 items) 1 2 3 4 5 Next > ... Last »