The blog has moved to a new address. The blog is now located at http://devintelligence.com

Adsense

Monday, November 27, 2006

XML Notepad 2007

XML Notepad 2007 provides a simple intuitive user interface for browsing and editing XML documents.

Features:

 

  • Tree View synchronized with Node Text View for quick editing of node names and values.
  • Incremental search (Ctrl+I) in both tree and text views, so as you type it navigates to matching nodes.
  • Cut/copy/paste with full namespace support.
  • Drag/drop support for easy manipulation of the tree, even across different instances of XML Notepad and from the file system.
  • Infinite undo/redo for all edit operations.
  • In place popup multi-line editing of large text node values.
  • Configurable fonts and colors via the options dialog.
  • Full find/replace dialog with support for regex and XPath.
  • Good performance on large XML documents, loading a 3mb document in about one second.
  • Instant XML schema validation while you edit with errors and warnings shown in the task list window.
  • Intellisense based on expected elements and attributes and enumerated simple type values.
  • Support for custom editors for date, dateTime and time datatypes and other types like color.
  • Handy nudge tool bar buttons for quick movement of nodes up and down the tree.
  • Inplace HTML viewer for processing xml-stylesheet processing instructions.
  • Built-in XML Diff tool.
New features included in this version:
  • Added keyboard accelerators for find again (F3) and reverse find (SHIFT+F3).
  • Added support for loading IXmlBuilder and IXmlEditor implementations from different assemblies using new vs:assembly attribute.
  • Made source code localizable by moving all error messages and dialog strings to .resx files.
  • Added a default XSL transform.
  • New icons, a play on the Vista "Notepad" icons.

 

Download XML Notepad 2007

[Via Larkware News]

 

 

Technorati tags: , ,

System.Data: Export table to a CSV file

In this post I will present a function that can be used to export a data table to a CSV file. The function first loops through the columns of the data table to export the names of all the data columns. And then in next loop the code iterates over each data row to export all the values in the table.

/// <summary>
/// Exports the table to CSV string.
/// </summary>
/// <param name="table">The table.</param>
/// <param name="printHeaders">
/// if set to <c>true</c> print headers.</param>
/// <returns>CSV formated string</returns>
private static string ExportTableToCsvString(
DataTable table,
bool printHeaders
)
{
StringBuilder sb
= new StringBuilder();

if (printHeaders)
{
//write the headers.
for (int colCount = 0;
colCount
< table.Columns.Count; colCount++)
{
sb.Append(table.Columns[colCount].ColumnName);
if (colCount != table.Columns.Count - 1)
{
sb.Append(
",");
}
else
{
sb.AppendLine();
}
}
}

// Write all the rows.
for (int rowCount = 0;
rowCount
< table.Rows.Count; rowCount++)
{
for (int colCount = 0;
colCount
< table.Columns.Count; colCount++)
{
sb.Append(table.Rows[rowCount][colCount]);
if (colCount != table.Columns.Count - 1)
{
sb.Append(
",");
}
}
if (rowCount != table.Rows.Count - 1)
{
sb.AppendLine();
}
}

return sb.ToString();
}


Technorati tags: , , ,

Sunday, November 26, 2006

Free open-source e-mail server

hMailServer is a free, open source, GPL-licensed e-mail server for Microsoft Windows. It supports all the common e-mail protocols (IMAP, SMTP and POP3) and comes with an easy-to-use COM library that can be used for integration with other software.

Download hMailServer

 

[Via LarkWare News]

Technorati tags: , , , ,

Monday, November 20, 2006

Powershell Analyzer

Powershell Analyzer is a rich interactive environment for Windows Powershell. Its goal is to be the powershell host of choice for IT professionals and system administrators. It has all the typical editor and IDE functionality that you would expect when working on a modern language, but it focuses on the real time interactive experience as if you were at the console, helping you compose the commands you want to use, and also giving you rich graphical visualization of the results. Powershell may seem to just return text like the average Unix shell, but in reality, it is returning rich self describing Dotnet objects.  Powershell Analyzer not only helps you with the INPUT, but also with the output.  It shows you the properties of the rich objects that the commands return, as well as specific visualizers to help you interact with output such as XML, HTML, charts, tables, and hierarchical data structures.

Get the Latest build here: http://www.powershellanalyzer.com/downloads/PowerShellAnalyzer-1-0-1-4.zip

Friday, November 17, 2006

ReSharper 2.5

ReSharper 2.5 is a minor release dedicated to improving performance and stability of ReSharper 2.0. It will work for Visual Studio 2005 only. The following list of performance improvements and features will be available as part of the relase.

 

  1. Performance Improvements
    1.  Installation time
    2.  Typing
    3.  Code completion autopopup on typing identifier
    4. Updating completion list on typing
    5.  Typing when parameter information is shown
    6.  Showing parameter information with large number of signatures
    7.  Visual Studio startup
    8. Opening solution
    9. Opening single file in Visual Studio
    10.  Navigation inside a file which isn't currently open in Visual Studio
    11.  Live templates expansion
    12.  Typing with "Change All" or "Inline Rename" active
    13.  "Change All" quickfix
    14. Creating new files
    15.  Format code
    16.  Stepping in debugger
  2.  Features
    1.  Improved find results view (screenshot)
    2.  "Navigate From Here" – single shortcut for all navigational actions available at this point (screenshot)
    3.  Go to File Member — Control+F12 now allows navigation to symbols declared in the current file similar to Go To Type (Control+N) (screenshot)
    4.  Option page for disabling individual context actions
    5.  NullReferenceException analysis (screenshot)
    6.  More context actions and quickfixes
  3.  Experimental Read Only Visual Basic .NET support (note that this is experimental functionality and it might not be included in 2.5 release if we are not able to make it production quality by the time of release)
    1.  Navigation & search features (go to declaration, base, inheritor(s); find usages; go to type/file; etc.)
    2.  Matching brace highlighting
    3.  Extend selection (Control+W)
    4.  Quick documentation popup (Control+Q)
    5.  Parameter info (doesn't pop up automatically)
    6.  Identifier highlighting
    7.  Error highlighting

In addition this release offers better user interface design (see screenshots) and significant stability improvements.

 

From this page you can download the EAP builds for ReSharper 2.5.

 

[Via Larkware News]

A full set of professionally designed icons for ASP.NET applications.

There are more than 300  awsome designed icons for your ASP.NET applications in this package. And, they all are completely free!You can use them in your web applications, both personal and commercial.

Download ASP.NET Icons

Windows PowerShell 1.0

Windows PowerShell 1.0 is finally released.

Download Windows PowerShell 1.0

Don't forget to check out related resources like:

Windows PowerShell FAQ

Windows PowerShell Blog

Remember to download the Windows PowerShell Documentation Pack that includes a Getting Started Guide, Quick Reference chart and a 100+ page Windows PowerShell primer.

Monday, November 06, 2006