Archive for December 2005

 
 

Introducing Devintelligence.com Sitemap Generator!

A simple and easy to use Sitemap Generator tool to help you make Google sitemaps.

 

 

 

Current feature list

The following features are currently included in Sitemap Generator:

  • Crawl website based on known URL
  • Edit the list of collected URLs Edit priority and frequency data per URL
  • Only working URLs are automatically included in the listing
  • Automatically create sitemap files
  • Automatically gzip sitemap files
  • Automatically upload sitemap files by FTP

Download Sitemap Generator

ASP.NET 2.0 QuickStart Samples

The ASP.NET QuickStart is a series of ASP.NET samples and supporting commentary designed to quickly acquaint developers with the architecture and power of the ASP.NET Web programming framework.

Use BackgroundWorker with any class

BackgroundWorker works only with the classes that implements interface ISynchronizeInvoke - in order to use BackgroundWorker with any class necessary to make the following changes in the code.

The code after the changes ( BackgroundWorker.cs ):

private void InvokeDelegate(Delegate del, params object[] args)
{
    ISynchronizeInvoke synchronizer = del.Target as ISynchronizeInvoke;
    try
    {
        if(synchronizer != null) //A Windows Forms object
        {
            if (synchronizer.InvokeRequired == false)
            {
                del.DynamicInvoke(args);
                return;
            }
            synchronizer.Invoke(del, args);
        }
        else //Not a Windows Forms object
        {
            del.DynamicInvoke(args);
        }
    }
    catch (Exception e)
    {
        Trace.WriteLine(e.Message);
    }
}

 

 

Thanks to Roy Osherove for help in the solution of this problem


Page 2 of 212