Lastest snippets

  • 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
  • Convert Documents to EPUB, Split Large Docs & Read on iPod

    The below technical tip shows how to use Aspose.Words for .NET to easily convert any document to EPUB, Split large documents into small parts and read it on iPod. Splitting Document into Parts Splitting a large document into parts when saving as EPUB, helps to make load and display faster on a...
    Tue, Oct 05 2010 6:42 AM by Sher Azam
  • Allow numeric values only in input field using jQuery

    The following code, can be used for input fields which are for numeric purpose only.
    Thu, Sep 16 2010 3:37 PM by Sonu Kapoor
  • Simple Schema Validator for xml

    With xml schemas it is easier to define allowable content, easier to validate the content It is the way for secure data communication The following c# method depicts the simplest way to validate the given xml file
    Tue, Jun 29 2010 6:18 AM by Jaya Nehru kumar
  • Nice way for strip_tags a like

    I found this code works great as the function strip_tags in php to replace html tags from string and I just want to share it with you. Hope it benefits!
    Mon, May 10 2010 7:46 AM by Ali Alghuter
  • css link on page using asp.net jquery

    In this article showing how to apply css style using jquery on client site.Reference Link:<a href='http://www.aspxtutorial.com/post/2010/03/09/css-link-on-page-using-aspnet-jquery.asp'>css-link-on-page-using-aspnet-jquery</a>
    Thu, Apr 08 2010 3:26 AM by Aamir Hasan
  • A StringBuilder extension method for appending generic multiple values

    This is a StringBuilder extension method that can append a collection of generic values. It is very handy, for example, to formulate a SQL IN statement.
    Tue, Mar 16 2010 11:08 AM by Jing Ding
  • Reset Visual Studio Settings

    This little cmd can be used to reset visual studio to its default factory settings.
    Wed, Jan 27 2010 11:47 AM by Sonu Kapoor
  • Function to get the Ordinal Numbers

    Sometimes you would need some function which would give you equivalent ordinal representation for numeric values. This function would give you Ordinal Representation for passed numeric argument.
    Fri, Jan 08 2010 9:19 AM by Kaushal Parik
  • Replace apostophes in javascript using RegEx

    The other day I needed to replace some apostrophes in javascript. We can use standard string.replace("'", "");, however this will replace only the first occurrence, therefore a regex is the best solution.
    Wed, Dec 30 2009 11:00 AM by Sonu Kapoor
  • Concatenate multiple files into single file

    The following code snippet shows how to concatenate multiple files into single file. In this function I am looping through the source file and appending them into the destination file.
    Fri, Dec 18 2009 3:48 AM by Harry L
  • Looping through Folders recursively

    In the following code snippet I am listing out all the sub folders present in the root folder. Here I will pass the root folder path to the GetListOfSubFolders function. Internally this function will call itself recursively to list out all the subfolders present in the root folder in addition to th...
    Tue, Dec 15 2009 4:09 AM by Harry L
  • File information

    In following code snippet I have tried to show the mostly required information from file path. Using Path class we can easily find out the basic information we need from file paths such as File Name, File Extension, File name without exetension, File directory name etc.
    Tue, Dec 15 2009 3:44 AM by Harry L
  • Looping through XML nodes using XML Linq

    Following code snippet shows you how to loop through the xml data using XML Linq.
    Mon, Dec 14 2009 5:23 AM by Harry L
  • Preparing XML using Linq.XDocument

    Always we find need of generating XML data on fly. Using XML Linq it became very easy to prepare xml in runtime. In the following snippet I have shown, how we can create the XML data in runtime using Linq document.
    Mon, Dec 14 2009 3:50 AM by Harry L