The blog has moved to a new address. The blog is now located at http://devintelligence.com
Showing posts with label freeware. Show all posts
Showing posts with label freeware. Show all posts

Saturday, September 15, 2007

The set of useful methods that can make developer life easer

Take a look at a list below and you may find a few methods that save your time.The sources  and documentation are here.

Array

GetMissingItems
Gets a list of the items in an array missing from a second array.

RemoveDups
Removes any duplicate items for a list of items.

StringArrayToString
Converts an array of strings into a string.

Collection

CollectionToHtmlTable
Converts a collection to an html string having a table.

Color

ColorToHtml
Converts a color into an html hexadecimal string.

GetColorTable
Get an html table listing color, html hexadecimal, and color name.

GetRandomColor
Gets a random color.

DataSet

ArrayToDataTable
Converts an array of strings to a DataTable.

DataTable2ExcelString
Coverts a DataTable into an Excel string.

DataTableToArray
Creates a string array from a DataTable.

DataTableToString
Converts a DataTable to a string with an html table.

FilterSortData
Filter and sort a dataset.

DateTime

CountWeekdays
Counts the number of weekdays between two dates.

CountWeekends
Counts the number of weekends between two dates.

IsDate
Checks whether an object is a date.

IsWeekDay
Returns true of day is weekday, otherwise false.

IsWeekEnd
Returns true of day is weekend, otherwise false.

TimeBreakdown
Returns a string that enumerates years, months, days, etc.

File

ArrayToFile
Saves a string array as a text file.

FileToArray
Converts the contents of a file to a string array.

GetDirectoryFileInfo
Gets information about the files in a directory and puts it in an array of strings.

GetDirectoryInfo
Gets information about a directory and puts it in an array of strings.

GetFileInfo
Gets information about a file and puts it in an array of strings.

ReadFromFile
Reads from a text file, puts the contents of the file in a string, and returns the string.

WriteToFile
Writes the passed in string to a file.

Forms

SetCheckboxesSelect
Adds a check to the checkboxes whose values are passed in.

SetComboSelectedIndex
Sets which item is selected in a DropDownList.

Math

Triangulate
Sums the numbers from 1 to n.

UnTriangulate
Undoes the Triangulate method.

Network

DNSLookup
Gets DNS information about a url and puts it in an array of strings.

GetHttpHeaders
Gets Http Headers and puts them in an array of strings.

GetImages
Gets the images from a webpage.

GetLinks
Gets the links from a webpage.

GetServerVariables
Gets the ServerVariables and puts them in a string.

ReadWebPage
Reads a web page and returns a string with the contents.

SendMail
Sends an e-mail message.

SendNetSend
Sends a net send message.

Numbers

GetDoubles
Gets an array of double values from the start value to the end value.

GetInts
Gets an array of int values from the start value to the end value.

GetRandomNumber
Gets a random number.

IsNumeric
Check whether an object is numeric.

Stats

GetAvg
Gets the average of an array of doubles or an array of ints.

GetCorrelation
Gets the Correlation between two arrays of numbers.

GetStandardDeviation
Gets the standard deviation of a list of numbers.

Strings

CountStrings
Count how many times a string appears.

GetASCII
Gets a string with ASCII characters.

ProperCase
Converts a string to proper case.

RemoveWhiteSpace
Remove extra white space in a string.

Tuesday, August 21, 2007

SketchPath-XPath development and XML analysis tool

SketchPath is an XPath development and XML analysis tool. It provides an integrated graphical environment for viewing XML files , developing XPath expressions against them and managing the expressions in file libraries.

File libraries of XPath expressions can be saved and loaded as .NET DataTable XML serialized objects. SketchPath supports XML Packages as used by Open XML and ODF.

This .NET tool was originally designed to assist XSLT developers at all levels, but should equally suit any developers or analysts who currently work with XPath 1.0 or who would benefit from using it to exploit XML.

 

Features

  1. Easy to install: A single  350KB .EXE file (Needs .NET 2.0 Also)
  2. XPath Location Step-Tracer - Predicate tracing
  3. Auto-Generate XPath Locations by selecting from
  4. XPath Result list
  5. Regular Expression Result list
  6. Element Tree View
  7. Element Nodes List
  8. XML Text Editor
  9. XPath Variables List
  10. XPath Step Tracer
  11. Save XPath expressions for re-use as variables
  12. Import XPath Expressions from an XML source (eg. XSLT)
  13. Manage Xpath variables lists in groups
  14. Save and load XPath variable groups in library files
  15. ‘As-You-Type’ bookmarking of nodeset results in Element Tree View
  16. Manage Xpath environment
  17. Manage Namespaces
  18. Set the Context Node
  19. Select the group of XPath variables required
  20. Auto-Complete ('Intellisense') uses 'Look-Ahead' to list available location and value nodes when typing
  21. An XPath 'Assist Pane' provides quick access to all XPath Nodes/Axes and Functions
  22. Syntax checking and colorizing of XPath expressions
  23. Uses .NET System.XML.XPath namespace to evaluate expressions
  24. All XML panes synchronized, viewable panes & behavior controlled by modes
  25. Use Regular Expressions (Regex) to resolve XPath locations
  26. Simple User-Interface with just 3 main toolbars with minimal icon-clutter
  27. Package Inspection feature for ZIP compressed XML file structures, support includes:
    1. Word 2007 docx format
    2. Excel 2007 xlsx format
    3. Powerpoint 2007 pptx format
    4. XML Paper Specification xps format
    5. OASIS Open Document Format (ODF)
  28. Fast XPath location generation usin an optimized 'Element Index' (updated as you type)
  29. Free-flow XML Source Editor Pane with well-formedness checking

 

Download SketchPath

Watch Flash Demo of SketchPath

[Via Larkware News]

Monday, August 13, 2007

Refactor! For ASP.NET was released as free download.

DevExpress has announced that Refactor! For ASP.NET is free for download.

Features

  1. Add Validator
  2. Extract ContentPlaceHolder
  3. Extract ContentPlaceHolder (and create master page)
  4. Extract Style (Class)
  5. Extract Style (id)
  6. Extract to UserControl
  7. Move to Code-behind
  8. Move Style Attributes to CSS
  9. Rename Style
  10. Surround with Update Panel

You can find more details on each refactoring from Mark's post.

Make sure to check out the informative 12 minute screencast on the ASP.NET refactoring.

Monday, July 09, 2007

A list of programs for keyboard maniacs

A list of  programs for keyboard maniacs - they helps you rapidly find programs or documents from within the depths of the start menu (or other directories).