-
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(...
-
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...
-
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...
-
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...
-
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...
-
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 ...
-
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...
-
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...
-
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.
-
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.
-
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 ...
-
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...
-
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...
-
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...
-
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.
-
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...
-
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...
-
The following code, can be used for input fields which are for numeric purpose only.
-
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
-
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!
-
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>
-
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.
-
This little cmd can be used to reset visual studio to its default factory settings.
-
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.
-
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.