Join the largest worldwide Community for Developers

The CodeGain is aimed help to our readers through articles,snippets,tips, forums,jobs and more about different technologies in the area of ASP.NET, C#, SharePoint, Silverlight, VB.NET, WPF,WCF,LINQ,Sql Server,JQuery and more. Technology forums are there to help people by proving them an opportunity to be interactive on it. Questions will be answered by other contributors to create a new .NET community.Registration is fast and FREE
 Latest News
What are new Features in Visual Studio 2012
The Microsoft working on new version of the Visual Studio. The next release will be Visual studio 2012.In VS 2010 there are new features in code editor window, IntelliSense, Language Style, on time code modification, and many more. More details here.
By: Sophia Phillips |  On:  19 Feb 2015 05:58:19 |  General
Whether you want to know what your users have to say about your services, or learn about the likes and dislikes of your users, you can do so by conducting a survey for your site. Thanks to WordPress plugins such as the ones discussed above, you can easily conduct surveys via your website effectively.Read more..
By: celinsmith111 |  On:  12 Feb 2015 05:30:13 |  ASP.NET
So, you've successfully created your website, now, what next? How would you plan to create its strong presence in such a competitive scenario? How would you choose an accurate production hardware which will ensure you maximum visibility? How do you plan to automate deployment before going live?Read more..
By: Sophia Phillips |  On:  09 Feb 2015 23:09:45 |  Web Service
Now that you know the method of adding icons for your custom post types in WordPress, I'm sure you'll not get frustrated the next time you need to do the same for your site/blog.Read more..
By: Sophia Phillips |  On:  30 Jan 2015 07:28:17 |  Web Service
Website navigation can make or break your website. Designing a simple, easy to understand and intuitive navigation help users to experience seamless transition from one page to the other.Read more..
By: Sophia Phillips |  On:  21 Jan 2015 07:35:05 |  Windows Service
Every now and then, we come to hear about WordPress websites being affected because of security attacks. This post will help you better understand about the 3 most serious WordPress hacks and how they can be fixed.Read more..
By: Sarah |  On:  13 Jan 2015 06:34:40 |  Web Service
WordPress, we all know, is a leading CMS platform and is great in a way it provides just enough content sophistication.Read more..
By: Mike Swan |  On:  13 Jan 2015 06:06:11 |  Design Patterns
Designing a website that gives priority to the user experience is one of the best practices online players could follow to attract the attention of their web audience.Read more..
By: Sophia Phillips |  On:  16 Jan 2015 07:18:33 |  Web Service
There are a lot of things in Wordpress where the quality bar of your website could be raised using the transient API. However, make sure not to overuse the at all where they don't require to be.Read more..
By: Edward Jones |  On:  16 Dec 2014 03:58:51 |  General
You can find numerous WordPress contact forms plugins available online such as Contact 7 and others – that makes form creation become a breeze. These plugins are ideal for beginners for building their website contact form.Read more..
By: celinsmith111 |  On:  16 Dec 2014 03:15:38 |  JavaScript
RequireJS is an excellent way that helps to organize as well as optimize today's JavaScript language. Reading this article will help you have a basic knowledge of this framework.Read more..
By: jalpesh |  On:  19 Aug 2014 22:29:35 |  ASP.NET
ASP.NET MVC contains great features and Bundling is one of them. The Bundling and Minification features allow you to reduce number of HTTP requests that a web page needs to make by combining individual scripts and style sheet files. It can also reduce a overall size of bundle by minifying the content of application. From ASP.NET MVC 4 bundling also includes CDN support also where you can utilize public CDN available for common libraries. Let’s look this features in details.Read more..
By: pranay rana |  On:  11 Aug 2014 22:56:25 |  General
In this Article I am going to discuss about "Dependency injection" on which I am working and exploring. In this article I am going to discuss about what is dependency injection and why there is need of this software design pattern.Read more..
By: pranay rana |  On:  11 Aug 2014 21:58:21 |  General
This Article is about locating exact location of the Exception in the code. There is always problem for the developer to locate exact location from where Exception raised, because of that it difficult for the developer what actually went wrong. Most of the time problem occurs when there is too many libraries referenced i.e. used in project.Read more..
By: pranay rana |  On:  10 Aug 2014 23:26:17 |  General
This article is about two feature in C# Caller Information Attribute and StackTrac class , which are helpful to get information at runtime from where the call came i.e. both provide information about caller. As purpose of both is same but there is significant difference between both of them. Information provided by both can be used by developer application to provide trace information.Read more..
By: jalpesh |  On:  30 Mar 2014 21:33:03 |  Visual Studios
This Article is a step by step installation guide for Visual Studio 2013.Read more..
By: sherazam |  On:  19 Mar 2014 05:18:42 |  CSharp
This technical tip explains how developers can connect and list messages from Inbox folder of Microsoft Exchange Server using IMAP protocol. Microsoft Exchange Server supports the IMAP protocol for accessing items in a mailbox. Use Aspose.Email's ImapClient class to connect to the Exchange Server using IMAP protocol. This article shows how. To connect to an Exchange Server using IMAP, please first, make sure that IMAP services are enabled for your Exchange Server, Open the Control Panel, Go to ARead more..
By: sherazam |  On:  25 Jun 2013 02:44:11 |  CSharp
This technical tip explains how to convert an email message to PDF using Aspose.Email. Aspose.Email for .NET deals with network protocols and Microsoft Outlook features, and cannot handle direct conversion to PDF. To overcome this, the samples in this article use Aspose.Email to convert the email message to MHTML stream and then use Aspose.Words for .NET to load the MHTML stream and then save it as PDF.Read more..
By: sherazam |  On:  29 May 2013 14:31:38 |  VB.NET
This technical tip explains how to load a Microsoft Outlook Messagefile (*.msg). The MapiMessage class is used to load MSG files, and provides several static loading functions for different scenarios. The code samples below show how to load MSG files from file or from stream. Some important steps for performing this task are Create an instance of MapiMessage from file, Get subject, Get from address, Get message body and Get attachments.Read more..
By: RRaveen |  On:  07 Feb 2013 01:04:48 |  Sql Servers
Today, I am working an enterprise systems, suddenly, we have got a situation that we need to reset most of the tables have AUTO INCREMENT columns. Hence, I write a simple script it do.Read more..
By: RRaveen |  On:  28 Jan 2013 22:27:28 |  CSharp
There are many students ask question in the other forums that how to validate Singaporean NRIC or FIN using C#. Hence, I have spent a little bit time to create a method for it.Read more..
By: Kirti.M.Darji |  On:  17 Jun 2012 11:50:04 |  CSharp
Using this script you are get list of window service installed on your machineRead more..
By: Mostafa Elzoghbi |  On:  25 Oct 2011 08:21:08 |  SharePoint
Recently, one of colleagues asked me that how to open and close the Model Dialog in the SharePoint as like JQuery model popup, I have come up a solution using pure Javascript that I'm going to share with you.Read more..
By: RRaveen |  On:  27 Jul 2011 21:47:14 |  Sql Servers
In this codesnippet, i will show, how to find the procedures in sql server using three different ways. such as by name, by content and by parameter names.Read more..
By: RRaveen |  On:  20 Jul 2011 20:15:30 |  ASP.NET
In this codesnippet, i will show How to Delete Row in GridView using JQuery in ASP.NET.Read more..
By: Mostafa Elzoghbi |  On:  13 Jun 2011 04:22:57 |  ASP.NET
I have seen most of forums, professionals asking how to export ASP.NET to PDF.Because PDF format likes all users almost.Read more..
By: jalpesh |  On:  13 Jun 2011 04:06:07 |  ASP.NET
In this article, I going to explain, how to find weekend dates within given date range in C#.It is useful and easy method.Read more..
By: RRaveen |  On:  25 Apr 2011 05:22:15 |  Windows Mobile
In this code snippet, i will show how to create Editable Cell in DataGrid in Windows Mobile.Read more..
By: pranay rana |  On:  05 Mar 2011 05:56:59 |  LINQ
In this snippet I am going to discuss about how to get list of duplicate items for the collection that we do in sql.Read more..
By: Nimish Garg |  On:  06 Apr 2011 06:28:10 |  Oracle
In this snippet, i will show how to delete duplicate rows from oracle.Read more..
By: Nimish Garg |  On:  06 Apr 2011 06:29:27 |  Oracle
In this snippet, i will show you how to use the TRUNCATE function with DATE in Oracle.Read more..
By: sherazam |  On:  04 Mar 2015 02:00:37 |  JAVA
This technical tip shows how to extract messages from Outlook PST file and save to disk or stream in MSG format using Aspose.Email for Android API. To extract and save messages, use a recursive method to browse through all the folders (including any nested folders) and call the PersonalStorage.extractMessage() method to get Outlook messages in an instance of the MapiMessage class. After that, call the MapiMessage.save() method to save the message in MSG format to either disk or stream.Read more..
By: sherazam |  On:  25 Feb 2015 08:41:38 |  CSharp
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 constructor and then create a TextSearchOptions object which specifies whether the regular expression is used or not. After that get the matching phrases into TextFragments and loop though the matches to Read more..
By: sherazam |  On:  18 Feb 2015 08:22:08 |  Office Development
This technical tip explains how Android developers can produce multiple documents during mail merge inside Android Applications. A typical mail merge operation with Aspose.Words fills just one document with data from a data source (it creates, for example, an invoice or a letter). To produce multiple documents you need to mail merge multiple times. If you need to produce a separate document for each record in your data source then loop through all rows in the data table then load (or clone) theRead more..
By: sherazam |  On:  11 Feb 2015 10:19:59 |  VB.NET
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 of later processing. Using Aspose.OCR we can apply the following correction filters for improving recognition accuracy.Read more..
By: sherazam |  On:  04 Feb 2015 01:35:02 |  JAVA
This technical tip shows how java developers can create Excel chart and embed it in presentation as OLE object using Aspose.Slides for Java. In PowerPoint Slides, the use of editable chats for graphical display of the data is a common activity. Aspose provides the support of creating the Excel Charts with the use of Aspose.Cells for Java and further these charts can be embedded as an OLE Object in the PowerPoint Slide through Aspose.Slides for Java. This article covers the required steps along Read more..
By: sherazam |  On:  28 Jan 2015 09:43:02 |  CSharp
This technical tip shows how .NET developers can determine if the source PDF file is password protected or not inside their .NET applications using Aspose.Pdf for .NET. Aspose.Pdf for .NET provides great capabilities of dealing with PDF documents. When using Document class of Aspose.Pdf namespace to open a PDF document which is password protected, we need to provide the password information as an argument to Document constructor and in case this information is not provided, an error message is Read more..
By: sherazam |  On:  21 Jan 2015 02:27:37 |  IPhone Development
This technical tip show how developers can convert an excel chart to an image in their android applications using Aspose.Cell for Android. Charts are visually appealing and make it easy for users to see comparisons, patterns, and trends in data. For instance, rather than analyzing columns of worksheet numbers, a chart shows at a glance whether sales are falling or rising, or how actual sales compare to projected sales. People are frequently asked to present statistical and graphical informationRead more..
By: sherazam |  On:  07 Jan 2015 07:48:33 |  JAVA
This tutorial describes how java developers can programmatically find and highlight a particular word or a phrase inside a MS Word document using Aspose.Words. It might seem easy at first to just find the string of text in a document and change its formatting, but the main difficulty is that due to formatting, the match string could be spread over several runs of text. Consider the following example. The phrase “Hello World!” consists of three different runs, its beginning is italic, middle is bRead more..
By: sherazam |  On:  01 Jan 2015 05:25:43 |  VB.NET
This technical tip shows how to convert Web page to PDF inside .NET applications. The HtmlLoadOptions option offers the feature to load HTML contents and parse the HTML tags accordingly so that they are rendered respectively inside the resultant PDF. In order to convert Web page contents to PDF format, we can first fetch the HTML page contents using WebRequest instance, create StreamReader object and read page contents. Finally pass the contents to Document object and render the output in PDF fRead more..
By: sherazam |  On:  24 Dec 2014 02:03:47 |  JAVA
This technical tip shows how to embed a font in a PDF file inside android applications. PDF readers support a core of 14 fonts so that documents can be displayed the same way regardless of the platform the document is displayed on. When a PDF contains a font that is outside the core fonts, embed the font to avoid font substitution. Aspose.Pdf for Android supports font embedding in existing PDF documents. You can embed a complete font or a subset. A font subset embeds only the characters that arRead more..
By: sherazam |  On:  17 Dec 2014 07:32:58 |  CSharp
This technical tip shows how .NET developers can access, add, update or Delete Gmail contacts inside .NET application. Aspose.Email supports working with Gmail contacts. Using the IGmailClient interface, users can retrieve contacts from a Gmail account, create new contacts, and update as well as delete existing contacts. Gmail allows developers to perform all these using its public developer's API. The following user information is required for working with Gmail contacts: User name, email addreRead more..
By: sherazam |  On:  10 Dec 2014 09:18:04 |  JAVA
This technical tip shows how Java Developers can read and recognize barcodes from Microsoft Word documents inside their Java apps using Aspose.BarCode for Java. For the purpose of this article, the task has been broken down into two separate tasks. First we will show how to generate a Microsoft Word document, complete with barcode and then read the barcode in the Word document. After that, use Aspose.BarCode for Java to generate a barcode image. Save the image to file and use Aspose.Words for JaRead more..
By: sherazam |  On:  03 Dec 2014 09:06:34 |  VB.NET
In This technical tip, we will learn how .NET developers can add Layout slides in presentation using Aspose.Slides inside their .NET applications. There are cases when there is missing Layout slide in presentation and once can now add the Layout Slides in presentation. Each slide has unique Id and Layout slides are maintained inside presentation Masters. One can access the Layout slide either by Type or by Name. Aspose.Slides for .NET allows developers to add new Layout slides in presentation.Read more..
By: sherazam |  On:  26 Nov 2014 03:47:59 |  JAVA
This technical tip shows how Android developers can create a PDF document from an image using Aspose.Words inside their Android application. While converting images to PDF is not a main feature of Aspose.Words, this example shows how easy it is. To make this code work, add references to Aspose.Words, javax.imageio and java.awt.image to the project. The code below converts single frame images, such as JPEG, PNG or BMP, as well as multi-frame GIF images, to PDF.Read more..
By: sherazam |  On:  19 Nov 2014 09:28:41 |  CSharp
This technical tip shows how .NET developers can integrate table with database (DOM) and populate data from a database using Aspose.Pdf for .NET. Databases are specially built to store and manage data in a better manner. It's a very common practice for programmers to populate different kinds of objects with data from databases. If you want to populate Table object with data from any data source using Aspose.Pdf for .NET then it is possible too. And it's not only possible but it’s very easy too. Read more..
 Featured Article
A Test Driven Development Tutorial in C# 4.0

Introduction - Defining the Battlefield

This tutorial is an short introduction to using Test Driven Development (TDD) in Visual Studio 2010 (VS2010) with C#. Like most of my examples it's based on a game.

 Editor's Choice
Learning Experince MOSS 2007 step by step Part1

Introduction

I would like to share my experience in developing a complete website using SharePoint 2007. The website is English/Arabic website features CMS, News and hosts .Net Application.

 The Weeklly Poll
Do you like .NET Framework 4.0?

Add new poll
Most Popular Articles Most Popular Articles
Popular snippets Most Popular snippets
 Most Popular Tips Most Popular tips
 Top Contributors(all time)
  1. RRaveen-2309(Gold Member )
  2. Dhananjay Kumar-2055(Gold Member )
  3. jalpesh-1177(Gold Member )
  4. dpatra-860(Expert Member )
  5. Kirti.M.Darji-741(Expert Member )
  6. Geming Leader-665(Expert Member )
  7. questpond-650(Expert Member )
  8. pranay rana-605(Expert Member )
  9. youngmurukan-430(Senior Member )
  10. amalhashim-429(Senior Member )
  11. abhi2434-425(Senior Member )
  12. sherazam-400(Senior Member )
  13. NikhilJohari-378(Senior Member )
  14. usamawahabkhan-330(Senior Member )
  15. j2inet-290(Senior Member )
  16. André Lage-275(Senior Member )
  17. kirtan007-270(Senior Member )
  18. dotnetfish-260(Senior Member )
  19. skumaar_mca-255(Senior Member )
  20. ninethsense-180(Junior Member )
Points System|More Members
^ Scroll to Top