Tagged Content List
  • Wiki Page: Visual Basic/C# Workaround: WebBrowser DBLClick Word

    Table of Contents What is this article about? Workaround References What is this article about? Recently in the MSDN forums (link below) it was discovered that the WebBrowser control (IE 10 based) exhibits the following unexpected behavior while used on a UserControl: MSDN Forums - WebBrowser...
  • Wiki Page: Running HDInsight C# Hadoop Streaming Sample

    MapReduce is a programming model designed for processing large volumes of data in parallel by dividing the work into a set of independent tasks. Most of the MapReduce jobs are written in Java. Hadoop provides a streaming API to MapReduce that enables you to write map and reduce functions in languages...
  • Wiki Page: C#

    C# is a type-safe, statically typed, object-oriented language that is simple yet powerful, allowing programmers to build a breadth of applications. Combined with the .NET Framework, Visual C# 2008/2010 enables the creation of Windows applications, Web services, database tools, components, controls...
  • Wiki Page: Virtual Execution System

    What is a Virtual Execution System The Virtual Execution System (VES) provides an environment for executing managed code. It provides direct support for a set of built-in data types, defines a hypothetical machine with an associated machine model and state, a set of control flow constructs...
  • Wiki Page: Become More Productive by Making Custom Code Generation Tools

    Download You can download this example project at the following link. MSDN Galleries (C# and Visual Basic examples) Introduction Sometimes when programming, we get stuck spending valuable time performing repetitive tasks. We can forget that it's possible to create our own reusable...
  • Wiki Page: Convert System.Decimal to and from Byte Arrays (VB & C#)

    Table of Contents Introduction ​ Getting the bytes of a System.Decimal Creating an instance of the System.Decimal from bytes Summary References Introduction ​ At first glance converting the datatype (System.Decimal) to and from bytes may appear to be a challenge, this is because the...
  • Wiki Page: C#: Extension Methods in .NET

    Sometimes there is a need to add customized/ user defined methods to existing datatypes. If we write String s1 and then put a dot after s1, we get a list of methods pre-defined such as Aggregate<>, All<>, Average<> etc. With extension methods, we can write out our own method...
  • Wiki Page: Serializing WCF Contract with Object Property

    Table of Contents Introduction WCF Service The issue stems with how to handle contracts with object type properties: WCF Client Initial observations ​ Adding a new class ​ Introduction This sample project is posted in reply to the forum post: http://social.msdn.microsoft.com/Forums/en-US...
  • Wiki Page: C#: PPT to PDF-Unable to Cast COM Object of Type 'Microsoft.Office.Interop.PowerPoint. ApplicationClass' to Interface Type 'Microsoft.Office.Interop.PowerPoint. _Application

    My team have been struggling with COM Component issue for about one week, it almost frustrated the developer, me and project manager. Uff.. after intense amount of googling and trial method, several time repair and installation of office, the problem was still bugging all the team members. Finally...
  • Wiki Page: Business Classes to TableServiceEntity Mapping Using Automapper

    Summary The following illustrates a convenient method of setting up a map between business classes to the Azure Table Storage entities using Automapper. Special Requirements For this example both Automapper and Azure Table Storage were used: Automapper 2.2.1 Windows Azure Storage 2.0.6...
  • Wiki Page: Illegal Attempt to Associate a Collection with Two Open Sessions

    Hi All recently I got this issue when I am working on my application which is using NHibernate as the OR Mapper, and i seriously work around about this issue and got the tail of this issue. This issue raised because I get an model object which had lazy load option true and modified the same object...
  • Wiki Page: Adding a new record to an IQueryable variable

    Recently working on one of my application using Linq, I need to fill the datagridview with selected rows and columns which i can get from querying a list of objects using Linq. Now for every result i need to add an additional static record to the grid view. for this i need to have this record as a...
  • Wiki Page: Converting DataTable to a List of Entity Object

    Recently some one asked me how should I need to convert a DataTable to an List of Entity Object. Let me Explain in detail below… Let say we have following Entity Class called Testimonial with two properties i.e.., Comment and Commentedby here Comment is the property where we have the actual comment...
Page 2 of 14 (350 items) 12345»