Browse by Tags

Related Posts

  • Custom Control Challenge - Entry #2

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Threading; namespace PageLoadingDisplayControls { [ ToolboxData ( "<{0}:PageLoadingDisplay runat=server></{0}:PageLoadingDisplayControl>...
    Posted to -[Danny Chen]- Blog of an ASP.NET QA tester (Weblog) by dannychen on 03-02-2006, 12:00 AM
    Filed under: Code
  • Custom Control Challenge - Entry #1

    Credit goes to: crms -at- sina.com using System; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace TestCode { [ ToolboxData ( "<{0}:WaitCursor runat=server></{0}:WaitCursor>" )] public class WaitCursor : Control { protected override void OnInit( EventArgs e...
    Posted to -[Danny Chen]- Blog of an ASP.NET QA tester (Weblog) by dannychen on 03-02-2006, 12:00 AM
    Filed under: Code
  • Using WMI to monitor process creation, deletion and modification in .NET

    WMI is a powerful tool and I have just recently discovered some of its power. Previously I though the only way to detect process creation was by creating a windows hook but now I know it is fairly simple to due with .NET using the Windows.Management namespace. Below is simple ProcessWatcher class that...
    Posted to Wes' Puzzling Blog (Weblog) by puzzlehacker on 02-11-2006, 12:00 AM
    Filed under: Windows, .NET, Code
  • Code Listing for 1/27/2006

    TemplateLibrary.cs using System; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Collections.Generic; namespace MSSamples { /// <summary> /// TemplateLibrary - custom control that holds a list of templates /// This control provides a way to store an arbitrary...
    Posted to -[Danny Chen]- Blog of an ASP.NET QA tester (Weblog) by dannychen on 01-27-2006, 12:00 AM
    Filed under: Code
  • VS 2005 Debugging Tips

    Jim Gries has posted a number of excellent "Debugger Tips, Tricks and Tools". Two that I've found very useful and use quite a bit now in my day-to-day debugging are: Debugger Tips, Tricks and Tools #3 - Use tracepoints to log execution flow and even modify it. No more debug print statements and the trick...
    Posted to Wes' Puzzling Blog (Weblog) by puzzlehacker on 12-24-2005, 12:00 AM
    Filed under: .NET, Code
  • Code Listing for 12/19/05 (C#)

    using System.ComponentModel; using System.Collections.Generic; using System.Collections; using System.Web.UI.WebControls; using System.Web.UI; using System.Web; using Microsoft.VisualBasic; namespace My { public class RecursiveULMenu : HierarchicalDataBoundControl { // Template Declarations private ITemplate...
    Posted to -[Danny Chen]- Blog of an ASP.NET QA tester (Weblog) by dannychen on 12-19-2005, 12:00 AM
    Filed under: Code
  • Code Listing for 12/19/05 (VB)

    RecursiveULMenu.vb Imports Microsoft.VisualBasic Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Collections Imports System.Collections.Generic Imports System.ComponentModel Namespace My Public Class RecursiveULMenu Inherits HierarchicalDataBoundControl ' Template...
    Posted to -[Danny Chen]- Blog of an ASP.NET QA tester (Weblog) by dannychen on 12-19-2005, 12:00 AM
    Filed under: Code
  • Code Listing for 2005_12_13 (VB)

    MyTreePath.vb Imports Microsoft.VisualBasic Imports System.Web Imports System.Web.UI.WebControls Imports System.Web.UI Namespace My Public Class TreePath Inherits SiteMapPath Private _tree As TreeView Public Property TreeViewID() As String Get Dim o As String = CType (ViewState( "TreeID" ), String )...
    Posted to -[Danny Chen]- Blog of an ASP.NET QA tester (Weblog) by dannychen on 12-13-2005, 12:00 AM
    Filed under: Code
  • Added support for Monad scripts to CodeHTMLer

    For all those people posting Monad scripts to their blogs you might be interested in making your scripts look better by using CodeHTMLer . Just paste in your code script and select MSH as the language and it will output some stylized HTML that can easily be copied into your blog post. Of course you can...
    Posted to Wes' Puzzling Blog (Weblog) by puzzlehacker on 10-20-2005, 12:00 AM
    Filed under: Monad, Code, Tools
  • Code Listing for 2005_10_20 (C#)

    <%@ Page Language="C#" %> <%@ Import Namespace="System.Collections.Generic" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <script runat="server"> // Recursively searches the tree for all nodes at...
    Posted to -[Danny Chen]- Blog of an ASP.NET QA tester (Weblog) by dannychen on 10-20-2005, 12:00 AM
    Filed under: Code
Page 1 of 20 (194 items) 1 2 3 4 5 Next > ... Last ยป