Sunday, April 22, 2007

Saturday, April 21, 2007

Convert ASCII to Unicode in C#

private string Convert(int asciiCode)
{
    Encoding ascii = Encoding.UTF32;
    
     char c = (char)asciiCode;
     Byte[] b = ascii.GetBytes(c.ToString());

    return ascii.GetString((b));
}


kick it on DotNetKicks.com

Sorting Generic Lists With Anonymous Methods and Reflection



Link to item

Thanks to Kevin Castle .Net

WinMerge - visual text file differencing and merging tool.

Great tool for visual comparison text documents in Windows to change them. WinMerge know how to work with DOS, UNIX and MAC file formats, supports Unicode and has Syntax. It might be very useful, for example, to determine what has changed in one version of the draft over another, as well as for mergers changes to the various versions. Integrates into the Windows shell. Supported expansion plugins.
WinMerge is open-source code and distributed under licence GNU / GPL.

HomePage

Screenshots






More screenshots


Download WinMerge 2.6.6

kick it on DotNetKicks.com

Wednesday, April 18, 2007

C# 2.0 Nullable Data Readers

.NET 2.0 introduced nullable types into the CLR which, for the first time, provided the ability for value types to be assigned a null value. However, ADO.NET 2.0 did not introduce any new features specifically for dealing with nullable types. Therefore, one of the primary goals for the classes presented in this article is to provide a simple API for working with nullable types within the persistence layer.

Link

Monday, April 09, 2007

Foxit PDF Reader Pro

Foxit PDF Reader Pro 2.0 Build 1606 is a freeware program for viewing PDF files. Excellent replacement Acrobat Reader. Compact and fast working programme for the documentary PDF format that does not require the large, and therefore slow launching Adobe Reader. Releases and copy text to the clipboard, as well as to search on the text. Normally working with any language.

Home Page (1.8 MB)
Download

New Features

Foxit Reader 2.0 introduces many exciting new features listed below:
- Interactive form filler: Now you don’t have to print out PDF forms first and then manually fill out paper forms. Instead, you can use PC to fill out interactive forms directly, and then print them out, save them, email them or export the form data into FDF file for further processing.
- Multi-language UI that can be dynamically switched: The user interface of Foxit Reader now can be switched to different languages dynamically, thanks to the generous help from our user community.
- On-demand download of add-on: With add-ons, the function of Foxit Reader can be extended unlimitedly. New function modules and seldom used modules are packed as add-on. Users only download them when needed. Foxit Reader highly respects the security and privacy of users and will never connect to Internet without users’ permission. While Acrobat Reader often silently connect to the Internet in the background.
- Self-upgrade: In the past, when you want to upgrade Foxit Reader, you have to frequently visit Foxit website, check for new release, and then manually download the new version, uninstall the old version and re-install the new version. Now this whole process is simplified and you only need to click on the menu item “Check for update now”.
- Javascript support: Advanced users are able to use Javascript to create complex logic for PDF forms, to validate user input and process data.
- Improved printing speed: Printing a PDF file with many images in it to a PostScript printer used to be slow. Version 2.0 has been optimized for such printing.
- Streamlined UI: Version 2.0 comes with a neat UI. Annotation tool buttons are grouped together, instead of being showed on several toolbars.

Free Reader

Foxit Reader 2.0 itself is free. For add-ons, the critical add-ons are free while advanced add-ons are non-free. For example, you can use the following functions for free:
- View or print PDF document
- Fill out PDF forms and save them
- Convert PDF document into text file
- Critical add-ons, such as UI language package, JPEG2000/JBIG decoder, CJK package, GDI+ for early Windows version, etc

The followings are several examples of non-free, advance add-ons:
- You can try out annotation tool for free. However when you save the annotated document, it will be stamped with an evaluation mark on the top-right corner of the annotated pages. If you purchase a Pro Pack add-on, then there will be no evaluation mark.
- Foxit Converter which allows you to convert non-PDF file into PDF file is non-free.
- Foxit Editor which allows you to modify contents of a PDF file is non-free.