Lastest snippets

  • How to Extract Barcode Data from a Scanned OMR Form inside .NET Apps

    This technical tip shows how to extract Barcode Data from a Scanned Image inside .NET applications. Aspose.OMR for .NET contains BarcodeElement which provides the functionality to extract barcode information from a scanned OMR form. Aspose.OMR API uses the Aspose.BarCode API for the extraction of ba...
    Fri, Mar 27 2015 6:31 AM by Sher Azam
  • jual semut jepang

    disini saya akan menerangkan bahawa saya menjual semut jepang karena semut jepang bisa menyemuhkan penyakit dan bisa juga untuk vitalitas tubuh manusia
    Wed, Mar 25 2015 8:07 AM by Hendi Wahyudi
  • harga semut jepang

    semut jepang mempunyai khasiat yang sangat bagus untuk kesehatan tubuh manusia dan untuk terapi pengobatan penyakit diabetes asam urat jantung dan lain sebagainya kami siap antar bisa kirim melalui jasa pengiriman JNE POS Indonesia dan lain lain
    Thu, Mar 19 2015 5:29 AM by Hendi Wahyudi
  • Fetch Email Messages from IMAP Server & Save it as EML, MSG inside .NET Apps

    This technical tip explains how .NET developers can fetch email messages from IMAP server and save it to disk in different formats. The first example shows how to fetch email messages from a server and save them, in EML format, to disk. The following steps are required to save the messages to disk: ...
    Wed, Mar 11 2015 8:57 AM by Sher Azam
  • How to Search Text in a PDF using Regular Expression & Add Hyperlink over It

    This technical tip shows how .NET developers can search text inside PDF file using a regular expression and adding hyperlinks over the matches inside their .NET applications. To find a phrase and add hyperlink over it, first pass the regular expression as a parameter to the TextFragmentAbsorber cons...
    Wed, Feb 25 2015 4:27 AM by Sher Azam
  • How to Apply Correction Filters before Document Recognition inside .NET Apps

    This technical tip shows how to improve recognition accuracy by applying correction filters before document recognition. In image recognition, we often need to perform some kind of noise reduction corrections on an image. Such noise reduction is a typical pre-processing step to improve the results ...
    Wed, Feb 11 2015 3:57 AM by Sher Azam
  • Select Attachment in PDF & Download Selected Attachment Using REST API

    This technical tip allows developers to download selected attachment in PDF file using Saaspose.Pdf REST API in your .NET applications. Saaspose.Pdf is a REST API to create, edit & manipulate PDF files. It also convert PDF file to DOC, DOCX, HTML, XPS, TIFF etc. You can create a new PDF either f...
    Wed, Aug 15 2012 8:12 PM by Sher Azam
  • Take screenshots automatically with GrabzIt

    Take screenshots with GrabzIt for free with the open source GrabzIt Library. This can be downloaded from: You will need to register here to get your application key and secret. The snippet code below is the code requi...
    Thu, Jun 21 2012 4:31 PM by Dominic Skinner
  • Paging Query Using LINQ

    Using LINQ we can achive paging logic in your application much easier by exposing the Skip and Take methods. The Skip method enables you to skip a defined number of records in the resultset. The Take method enables you to specify the number of records to return from the resultset. By calling Skip an...
    Tue, May 29 2012 10:21 AM by Jayesh Sorathia
  • Read Email Messages from Thunderbird Mail Storage Using Aspose.Email

    This technical tip shows how to read messages from Thunderbird Mail Storage. Below steps are required to read the messages 1. Open the Thunderbird’s storage file in FileStream 2. Create an instance of MboxrdStorageReader class and pass the above stream to it’s constructor 3. Call ReadNextMessage(...
    Wed, Apr 18 2012 12:39 AM by Sher Azam
  • How to Reset the Identity Column of a table in Sql Server.

    Sometimes If we delete all data from Sql Server table having an Identity Column with Identity Seed as 1 and insert new value,we find that data Identity column value doesn't get reset and it starts from last number of the identity. If table were having 5 records and we insert new records after de...
    Wed, Mar 28 2012 11:47 PM by Akhil Mittal
  • Algorithms for get overlapped time ranges

    In the daily business, we need to know the overlapped time ranges among a big size of discrete time ranges to do further special business analysis. This algorithm has carried it out and it has been referenced in quite a few of our projects. Please feel free to let me know if there is room to improve...
    Tue, Feb 21 2012 3:27 AM by Zongying Cao
  • Access & Read Email Messages from MS SharePoint Document Library

    This technical tip shows how to read email messages from Microsoft SharePoint document library. For accessing the files from SharePoint document library, SharePoint SDK must be installed on the system, which provides the necessary API for logging in and accessing files from the document library. I...
    Mon, Feb 20 2012 2:18 AM by Sher Azam
  • Extented DataConversion

    The C# 3.0 extended method feature gives us great convenicence in coding. I think the code snippet below would be helpful to you if you have heavy work on the data conversion on the IDataReader. Here I just list the methods in my practice. And I will update the code snippet as soon as I have more c...
    Sun, Feb 12 2012 10:54 AM by Zongying Cao
  • Create & Download Email Messages from Public Folders of Exchange Server

    This technical tip shows how to download Messages from Public Folders of Exchange Server. Microsoft Exchange Server provides the facility to create public folders and post messages in it. You can use ExchangeWebServiceClient class of Aspose.Email to connect to the Exchange Server and read/download ...
    Thu, Dec 29 2011 4:17 AM by Sher Azam
  • Extract Text From a Specific Part of the Image Using Aspose.OCR

    This technical tip shows how to Extract Text from Specific Part of the Image. Aspose.OCR for .NET provides OcrEngine class to extract text from a specific part of the image document. The OcrEngine class requires following three items for character recognition: 1. Source Image 2. Language 3. Re...
    Thu, Nov 24 2011 1:29 AM by Sher Azam
  • Copy Worksheets with Tables, Charts & Images Within or b/t Workbooks

    This technical tip shows how to Copy or Move worksheets within or between workbooks. Sometimes, you do need a number of worksheets with common formatting and data entry. For example, if you work with quarterly budgets, you might want to create a workbook with sheets that contain the same column head...
    Fri, Sep 30 2011 3:31 AM by Sher Azam
  • How to replace a string without using REPLACE function using C#?

    This code snippet is used to replace the string without using the replace function using C#.Most of the times we get a requirement to replace the String with a certain string.
    Fri, Jul 29 2011 6:24 AM by HemanthKumar V
  • You may have seen Transact-SQL code that passes strings around using an N prefix. This denotes that the subsequent string is in Unicode (the N actually stands for National language character set). Which means that you are passing an NCHAR, NVARCHAR or NTE

    This code snippet is used to replace the string without using the replace function using C#.Most of the times we get a requirement to replace the String with a certain string.
    Fri, Jul 29 2011 6:21 AM by HemanthKumar V
  • How to retrive the Contact from gmail using Google API in Asp.Net?

    What are the Google Contacts APIs? The Google Contacts APIs allow client applications and other data consumers to request Google Contacts content. If read-only access is sufficient for your needs, then consider using the Portable Contacts API. If you need write access to Google Contacts, then ...
    Fri, Jul 29 2011 1:04 AM by HemanthKumar V
  • Reverse of a string without using String Function()

    This is a simple code snippet for reversing a string without using Reverse Function.For example we have a string "KUMAR" without using function we can reverse it using this code snippet.This code is given in both C# and Vb also.This is will be more helpful to the learners.If any queries pl...
    Thu, Jul 21 2011 5:20 AM by HemanthKumar V
  • Marking BarCode Regions in the Image

    This technical tip shows how to read the image and mark all the barcode regions, for all the recognized barcodes in the image. The barcode region is the part of the image that only contains the barcode itself. In a large image, it is possible that there are other texts or images along with the barco...
    Wed, Jun 01 2011 6:52 AM by Sher Azam
  • Extension methods for string hasing and ecryption

    This collection deals with strings security, with these extensions you can properly use hashing and encryption. Since MD5 and SHA1 are not consider secure any more, the hashing is done using SHA256 with a random salt. The salt can be hardcoded into your code or stored in a database. You can call the...
    Sun, May 15 2011 6:00 PM by Stefan Prodan
  • Publishing page based one page layout in SharePoint2010

    This code is very usefull when you need to create publishing page based on page layout.You need to pass the parameters.This is a reusable code you can call whenever you need to create pages.
    Sat, Apr 16 2011 12:40 AM by Ravishankar Singh
  • Merge Xml Files in PDF Document & Reduce Code Duplication

    This technical tip shows how to merge Xml Files in PDF Document. Sometimes different PDF documents share some same content. For example, a number of PDF documents may have the same header or footer. In such cases, a lot of code duplication might be experienced by developers. To reduce this code dup...
    Tue, Mar 15 2011 2:57 AM by Sher Azam