<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>C# Feed - Programmer's Heaven</title>
    <link>http://www.programmersheaven.com/feed/Tag/1276/RSS.aspx</link>
    <description>Events at Programmer's Heaven related to C#.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 18 Jun 2013 16:40:29 -0700</pubDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <item>
      <title>Nevron Chart for SQL Server Reporting Services</title>
      <link>http://www.programmersheaven.com/download/56115/download.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/Nevron+LLC/"&gt;Nevron LLC&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/download/56115/download.aspx"&gt;file&lt;/a&gt;.&lt;/p&gt;Nevron Chart for SQL Server Reporting Services (SSRS) is an advanced report item, which delivers a complete set of 2D and 3D charting types, highly customizable axes, tight data integration and unmatched visual effects to your reports. It also instantly improves your report authoring experience, with its polished visual editors, exhaustive and refined settings and well-organized structure.

Nevron Chart for SSRS is an indispensible tool for any serious Business Intelligence, Scorecard, Presentation, Scientific or general purpose report. 

Features include: 
- Multiple Charting Areas. 
- Multiple Legends. 
- Multiple Tittles. 
- Complete set of 2D/3D Charting Types. 
- Advanced Axis Model. 
- The industry-leading set of XY and XYZ scatter charts. 
- The industry-leading support for 3D charting. 
- The only chart for SSRS with Grid, Mesh and Triangulated Surface Charts. 
- The only chart for SSRS with Photoshop-like effects. 
- The only chart for SSRS with HTML-like rich-text formatting. 
- Seamless integration with SQL Server Reporting Services 2005 and 2008.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/download/56115/download.aspx</guid>
      <pubDate>Mon, 13 Aug 2012 04:48:15 -0700</pubDate>
    </item>
    <item>
      <title>Automated Unit Testing in .NET</title>
      <link>http://www.programmersheaven.com/article/107864-Automated+Unit+Testing+in+.NET/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/107864-Automated+Unit+Testing+in+.NET/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;A 14-part series of articles describing the use of automated unit testing techniques for the C# programmer. The tutorial includes the use of NUnit and Moq but is also relevant for other testing frameworks.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/107864-Automated+Unit+Testing+in+.NET/info.aspx</guid>
      <pubDate>Sun, 15 May 2011 13:28:38 -0700</pubDate>
    </item>
    <item>
      <title>A LINQ Style Median Operator</title>
      <link>http://www.programmersheaven.com/article/107387-A+LINQ+Style+Median+Operator/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/107387-A+LINQ+Style+Median+Operator/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Language Integrated Query (LINQ) includes an operator that calculates the average value of a sequence containing numerical data. The Average method calculates the mean of the sequence. This article describes an operator that determines the median.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/107387-A+LINQ+Style+Median+Operator/info.aspx</guid>
      <pubDate>Sat, 12 Mar 2011 12:05:19 -0700</pubDate>
    </item>
    <item>
      <title>Telnet over SSL with VT100</title>
      <link>http://www.programmersheaven.com/mb/csharp/422283/422283/ReadMessage.aspx#422283</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/neerom/"&gt;neerom&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/422283/422283/ReadMessage.aspx#422283"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I need to develop an application using c# or C or cpp which talks to a unix server (server response is given using VT100 terminal).&lt;br /&gt;
&lt;br /&gt;
I have used openssl and was able to connect but openssl does not support VT100. I need to decode the server response.&lt;br /&gt;
Please help me.&lt;br /&gt;
&lt;br /&gt;
I need to connect to a remote DNS server using port 992 and process the response from the server. &lt;br /&gt;
for that i need a terminal emulation software that support the Telnet specification RFC 854 and the SSL 3.0 specification. The software needs to be incorporated in my program.&lt;br /&gt;
&lt;br /&gt;
It is preferable it that software is free.&lt;br /&gt;
&lt;br /&gt;
Configuring Terminal Emulation Software&lt;br /&gt;
&lt;br /&gt;
  ¿ Terminal Type. Select a member of the Virtual Terminal (VT) family&lt;br /&gt;
  (e.g., VT100 or VT220).&lt;br /&gt;
¿ SSL Version. SSL3..&lt;br /&gt;
¿ Port 992. &lt;br /&gt;
¿ Destination Host Type. Unix.&lt;br /&gt;
¿ User Certificate Mode. No user certificate is required&lt;br /&gt;
¿ Host Certificate. &lt;br /&gt;
&lt;br /&gt;
Please help me doing this&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have tried with SecureCRT, Z/scope. I was able to connect. I need to develop an application like the same.&lt;br /&gt;
&lt;br /&gt;
Thanx and regards &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/422283/422283/ReadMessage.aspx#422283</guid>
      <pubDate>Tue, 08 Mar 2011 22:49:39 -0700</pubDate>
    </item>
    <item>
      <title>Getting Free and Total Memory Details (Windows / C#)</title>
      <link>http://www.programmersheaven.com/article/107321-Getting+Free+and+Total+Memory+Details+(Windows+/+C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/107321-Getting+Free+and+Total+Memory+Details+(Windows+%2f+C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Some software monitors the amount of physical or virtual memory that is available to the operating system, or obtains this information before attempting processes that will use large amounts of RAM. Total and available memory can be read using WMI.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/107321-Getting+Free+and+Total+Memory+Details+(Windows+%2f+C%23)/info.aspx</guid>
      <pubDate>Sat, 05 Mar 2011 10:48:02 -0700</pubDate>
    </item>
    <item>
      <title>Re: how to display parent node attribute name in xmlDocument</title>
      <link>http://www.programmersheaven.com/mb/csharp/421805/421983/ReadMessage.aspx#421983</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/anthrax11/"&gt;anthrax11&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/421805/421983/ReadMessage.aspx#421983"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;Try this:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
town.ParentNode.Attributes.GetNamedItem("code").Value
&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/421805/421983/ReadMessage.aspx#421983</guid>
      <pubDate>Thu, 24 Feb 2011 14:33:56 -0700</pubDate>
    </item>
    <item>
      <title>SW Engineer C# .NET Winforms</title>
      <link>http://www.programmersheaven.com/mb/jobs-available/421812/421812/ReadMessage.aspx#421812</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/lashbeck/"&gt;lashbeck&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/jobs-available/421812/421812/ReadMessage.aspx#421812"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/jobs-available/Board.aspx"&gt;Jobs Available&lt;/a&gt; forum.&lt;/p&gt;&lt;br /&gt;
PDS Tech has an excellent opportunity for an experienced Software Engineer for a position in the Nashua, NH area.&lt;br /&gt;
&lt;br /&gt;
U.S. Citizen  Green Card required&lt;br /&gt;
&lt;br /&gt;
Job is at client site&lt;br /&gt;
 &lt;br /&gt;
Need someone who is fairly strong in .Net/C# Windows forms. The focus of this position will be 100% on development which is inclusive of Unit Testing. The objective for this position is to assist in the development of new features. There will be some maintenance done on ongoing projects as well. This team has many applications or programs bundled under the framework of host integration tools. This development work will contribute developing the host integration tools suite. This team's core product is SAN/Storage focused on creating network storage solutions.&lt;br /&gt;
Qualifications&lt;br /&gt;
Required Skills and Experience (5+ years working in C# .NET):&lt;br /&gt;
&lt;br /&gt;
1. Expert Windows C# .NET Developer with networking or storage background.&lt;br /&gt;
2. Strong knowledge of object oriented design, data structures, multi-threading and circular log files.&lt;br /&gt;
3. Strong experience and knowledge of Windows Forms and WPF&lt;br /&gt;
4. Strong experience and knowledge of WCF and .NET Remoting.&lt;br /&gt;
5. Professional experience with GUI development using .NET C#&lt;br /&gt;
6. Professional experience with managing data files in client server environment with file sharing.&lt;br /&gt;
7. Professional experience with data compression &amp;amp; encryption.&lt;br /&gt;
8. Professional experience with implementing services on the Microsoft Windows platform.&lt;br /&gt;
9. Professional experience with 3rd party GUI/Charting packages such as DevExpress or similar&lt;br /&gt;
10. Understanding of Microsoft Window platform and security issues.&lt;br /&gt;
&lt;br /&gt;
Experience with any combination from following list is a big plus:&lt;br /&gt;
&lt;br /&gt;
11. Collecting data and presenting them in form of graphs and other UI elements.&lt;br /&gt;
12. Monitoring various devices using SNMP and collecting data.&lt;br /&gt;
13. Professional Experience with C++.&lt;br /&gt;
14. TCP/IP, SMIS, Storage fundamentals&lt;br /&gt;
15. Experience with graphical packages such as Adobe Illustrator or similar&lt;br /&gt;
&lt;br /&gt;
https://pdstech.taleo.net/careersection/2/jobdetail.ftl?lang=en&amp;amp;job=11001305&lt;br /&gt;
&lt;br /&gt;
cpursley@pdstech.com&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/jobs-available/421812/421812/ReadMessage.aspx#421812</guid>
      <pubDate>Thu, 17 Feb 2011 11:48:02 -0700</pubDate>
    </item>
    <item>
      <title>Salted Password Hashing (C#)</title>
      <link>http://www.programmersheaven.com/article/107090-Salted+Password+Hashing+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/107090-Salted+Password+Hashing+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;There are many ways in which passwords can be stored, with varying levels of security. Salted password hashing uses a non-reversible hashing algorithm with the inclusion of a randomised element to make it more difficult to obtain user passwords.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/107090-Salted+Password+Hashing+(C%23)/info.aspx</guid>
      <pubDate>Sun, 06 Feb 2011 17:46:51 -0700</pubDate>
    </item>
    <item>
      <title>Changing the Desktop Wallpaper (C#)</title>
      <link>http://www.programmersheaven.com/article/107065-Changing+the+Desktop+Wallpaper+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/107065-Changing+the+Desktop+Wallpaper+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;The .NET framework does not natively support changing the desktop wallpaper. However, it is possible to set the wallpaper image using Platform Invocation Services (P/Invoke) by calling the SystemParametersInfo function.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/107065-Changing+the+Desktop+Wallpaper+(C%23)/info.aspx</guid>
      <pubDate>Thu, 03 Feb 2011 15:36:10 -0700</pubDate>
    </item>
    <item>
      <title>Controlling XML Serialization of Attributes (.NET)</title>
      <link>http://www.programmersheaven.com/article/107038-Controlling+XML+Serialization+of+Attributes+(.NET)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/107038-Controlling+XML+Serialization+of+Attributes+(.NET)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;The default action, when serializing objects to XML, is for each public property and field to generate an XML element. The XmlAttribute attribute can be applied to public members to modify this behaviour and instead generate XML attributes.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/107038-Controlling+XML+Serialization+of+Attributes+(.NET)/info.aspx</guid>
      <pubDate>Mon, 31 Jan 2011 14:21:21 -0700</pubDate>
    </item>
    <item>
      <title>Controlling Serialization of XML Elements (.NET)</title>
      <link>http://www.programmersheaven.com/article/106990-Controlling+Serialization+of+XML+Elements+(.NET)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106990-Controlling+Serialization+of+XML+Elements+(.NET)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;When serializing classes to XML, each public property and field value is transformed into an XML element. The name of the element matches the name of the property. The XmlElement attribute allows the names and formatting of XML tags to be modified.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106990-Controlling+Serialization+of+XML+Elements+(.NET)/info.aspx</guid>
      <pubDate>Tue, 25 Jan 2011 16:43:22 -0700</pubDate>
    </item>
    <item>
      <title>The SOLID Principles</title>
      <link>http://www.programmersheaven.com/article/106964-The+SOLID+Principles/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106964-The+SOLID+Principles/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;A series of six article desribing each of the five SOLID principles used for dependency management in object-oriented design and programming. When followed, these principles can enhance the maintainability of software. Articles include example code in C#.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106964-The+SOLID+Principles/info.aspx</guid>
      <pubDate>Sat, 22 Jan 2011 09:38:28 -0700</pubDate>
    </item>
    <item>
      <title>Is a Square a Rectangle? (Liskov Substitution Principle)</title>
      <link>http://www.programmersheaven.com/article/106898-Is+a+Square+a+Rectangle%3f+(Liskov+Substitution+Principle)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106898-Is+a+Square+a+Rectangle%3f+(Liskov+Substitution+Principle)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;In Geometry, a square is a special case of rectangle where the height and width of the shape are equal. When modelling squares and rectangles in object-oriented programming languages, defining this relationship can lead to unexpected bugs.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106898-Is+a+Square+a+Rectangle%3f+(Liskov+Substitution+Principle)/info.aspx</guid>
      <pubDate>Sat, 15 Jan 2011 12:50:11 -0700</pubDate>
    </item>
    <item>
      <title>C# - executing bcp command on a database residing on the remote server</title>
      <link>http://www.programmersheaven.com/mb/csharp/420883/420883/ReadMessage.aspx#420883</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/shigarr/"&gt;shigarr&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/420883/420883/ReadMessage.aspx#420883"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;Hi guys,&lt;br /&gt;
&lt;br /&gt;
I have the following query that executes BCP on a database residing on the remote server&lt;br /&gt;
&lt;br /&gt;
EXEC XP_CMDSHELL 'bcp "SELECT [surname],'', ''+[forename] AS forename, [honours] AS honours, REPLACE(REPLACE(REPLACE([body_text], ''&amp;amp;amp;'', ''&amp;amp;''), ''..'', ''.''), '';.'', ''.'') + CHAR(10) AS body_text FROM [Doctors_Latest].[dbo].[vw_ks_xml_practitioners_output] AS doctor WHERE surname like ''A%'' or surname like ''*A%'' order by strSurnameSortkey, strForenameSortkey FOR XML PATH(''doctor''), ROOT(''root'')" queryout "F:\Test\MedicalPract_SURNAME_STARTS_WITH_A\Medical_Practitioners_Surname_Start_with_A_201115_112631.xml" -c -C65001 -r -q -S ServerName -t \t -U username -P password '&lt;br /&gt;
&lt;br /&gt;
This query works fine if executed from within SQL Server Management Studio on the client machine but does not work from the code written in C# (residing on the client machine) :&lt;br /&gt;
&lt;br /&gt;
private void ExecuteQuery()&lt;br /&gt;
&lt;br /&gt;
        {&lt;br /&gt;
&lt;br /&gt;
            conn.Open();&lt;br /&gt;
&lt;br /&gt;
            SqlCommand cmd = new SqlCommand();&lt;br /&gt;
&lt;br /&gt;
            cmd.CommandTimeout = 5000;&lt;br /&gt;
&lt;br /&gt;
            cmd.Connection = conn;&lt;br /&gt;
&lt;br /&gt;
            cmd.CommandType = CommandType.Text;&lt;br /&gt;
&lt;br /&gt;
            cmd.CommandText = query;&lt;br /&gt;
&lt;br /&gt;
            cmd.StatementCompleted += new StatementCompletedEventHandler(cmd_StatementCompleted);&lt;br /&gt;
&lt;br /&gt;
            OnTableProgressStart(this.message, queryCount);&lt;br /&gt;
&lt;br /&gt;
            int rows = cmd.ExecuteNonQuery();&lt;br /&gt;
&lt;br /&gt;
            queryCount++;&lt;br /&gt;
&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
ExecuteNonQuery always returns 3&lt;br /&gt;
&lt;br /&gt;
Any idea please?&lt;br /&gt;
&lt;br /&gt;
I wonder why it works from within SQL Server Management Studio and not from a code written in C#&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/420883/420883/ReadMessage.aspx#420883</guid>
      <pubDate>Wed, 12 Jan 2011 07:13:03 -0700</pubDate>
    </item>
    <item>
      <title>Controlling XML Serialization of the Root Element (C#)</title>
      <link>http://www.programmersheaven.com/article/106795-Controlling+XML+Serialization+of+the+Root+Element+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106795-Controlling+XML+Serialization+of+the+Root+Element+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Every XML document includes a root element that contains all of the other information held. When serializing objects to XML the root element's construction is linked to the name of the class or structure unless modified with the XmlRoot attribute.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106795-Controlling+XML+Serialization+of+the+Root+Element+(C%23)/info.aspx</guid>
      <pubDate>Tue, 04 Jan 2011 16:45:17 -0700</pubDate>
    </item>
    <item>
      <title>Mouse Clipping (Windows Forms.NET)</title>
      <link>http://www.programmersheaven.com/article/106711-Mouse+Clipping+(Windows+Forms.NET)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106711-Mouse+Clipping+(Windows+Forms.NET)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Specialised applications can require that the mouse pointer is limited to a fixed portion of the screen, known as a clipping rectangle. This region can be determined and controlled by reading and setting a property of a standard .NET class.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106711-Mouse+Clipping+(Windows+Forms.NET)/info.aspx</guid>
      <pubDate>Mon, 20 Dec 2010 13:41:31 -0700</pubDate>
    </item>
    <item>
      <title>Whats the Fastest Way to Display Images in a C#.NET application</title>
      <link>http://www.programmersheaven.com/mb/csharp/420301/420301/ReadMessage.aspx#420301</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/gemini99/"&gt;gemini99&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/420301/420301/ReadMessage.aspx#420301"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;Hello there&lt;br /&gt;
&lt;br /&gt;
I have developed a C#.NET application that reads image data from a camera. The images are 1600*1200 and are 24bpp. I am trying to stream the images as fast as possible to a child window for display. My first attempt involved creating a Bitmap object and using SetPixel to create the bitmap. This is then sent to a PictureBox control in the child Window.&lt;br /&gt;
&lt;br /&gt;
However its well know SetPixel is chronically slow. So I downloaded a FastBitmap class that uses unsafe mode and locks the bits and draws the bitmap faster. This speeds it up by about 80% or so but it still looks very slow to me. &lt;br /&gt;
&lt;br /&gt;
Can this be done using DirectX? Has anyone tried something like this?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/420301/420301/ReadMessage.aspx#420301</guid>
      <pubDate>Thu, 16 Dec 2010 10:01:14 -0700</pubDate>
    </item>
    <item>
      <title>Determining if Values are Coprime (C#)</title>
      <link>http://www.programmersheaven.com/article/106636-Determining+if+Values+are+Coprime+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106636-Determining+if+Values+are+Coprime+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Two integer values are said to be coprime, or relatively prime, when they share no common divisors other than the number one. This article describes the process for determining whether two positive values are coprime, with C# example code.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106636-Determining+if+Values+are+Coprime+(C%23)/info.aspx</guid>
      <pubDate>Mon, 06 Dec 2010 13:13:59 -0700</pubDate>
    </item>
    <item>
      <title>Re: Create a trial application</title>
      <link>http://www.programmersheaven.com/mb/csharp/393511/419910/ReadMessage.aspx#419910</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/ssware/"&gt;ssware&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/393511/419910/ReadMessage.aspx#419910"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;You are much better off using a ready made licensing tool instead of trying to come up with your own. Check out &lt;a href="http://www.ssware.com/cryptolicensing/cryptolicensing_net.htm"&gt;CryptoLicensing&lt;/a&gt; which does trials as well as full licenses and other scenarios too.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/393511/419910/ReadMessage.aspx#419910</guid>
      <pubDate>Thu, 25 Nov 2010 01:29:15 -0700</pubDate>
    </item>
    <item>
      <title>Converting Between RGB and HSL Colour Models (C#)</title>
      <link>http://www.programmersheaven.com/article/106541-Converting+Between+RGB+and+HSL+Colour+Models+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106541-Converting+Between+RGB+and+HSL+Colour+Models+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;The RGB colour model is ideal for producing images on display devices but counter-intuitive for people who wish to adjust colours. The HSL model is intuitive but not fully supported by .NET. This article explains how to convert between the two models.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106541-Converting+Between+RGB+and+HSL+Colour+Models+(C%23)/info.aspx</guid>
      <pubDate>Wed, 17 Nov 2010 12:58:17 -0700</pubDate>
    </item>
    <item>
      <title>Euclid's Algorithm (C#)</title>
      <link>http://www.programmersheaven.com/article/106524-Euclid's+Algorithm+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106524-Euclid's+Algorithm+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Euclid's algorithm, also known as the Euclidean algorithm, can be used to efficiently calculate the greatest common divisor (GCD) for two integer values. This article describes the algorithm and provides several C# methods that calculate the GCD.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106524-Euclid's+Algorithm+(C%23)/info.aspx</guid>
      <pubDate>Sun, 14 Nov 2010 04:41:31 -0700</pubDate>
    </item>
    <item>
      <title>C# Random Element Picking with Probability</title>
      <link>http://www.programmersheaven.com/article/106480-C%23+Random+Element+Picking+with+Probability/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/VCKicks/"&gt;VCKicks&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106480-C%23+Random+Element+Picking+with+Probability/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Pick a random element in a C# list based on the probability of each element.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106480-C%23+Random+Element+Picking+with+Probability/info.aspx</guid>
      <pubDate>Thu, 04 Nov 2010 23:51:28 -0700</pubDate>
    </item>
    <item>
      <title>Using Tuples (C#)</title>
      <link>http://www.programmersheaven.com/article/106450-Using+Tuples+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106450-Using+Tuples+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;The .NET Framework version 4.0 introduced the ability to create tuples using several related, generic Tuple classes. Tuples provide a convenient way in which to link several values or objects, without first creating a class or structure to hold them.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106450-Using+Tuples+(C%23)/info.aspx</guid>
      <pubDate>Tue, 02 Nov 2010 10:57:02 -0700</pubDate>
    </item>
    <item>
      <title>Using Tuples (C#)</title>
      <link>http://www.programmersheaven.com/article/106451-Using+Tuples+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106451-Using+Tuples+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;The .NET Framework version 4.0 introduced the ability to create tuples using several related, generic Tuple classes. Tuples provide a convenient way in which to link several values or objects, without first creating a class or structure to hold them.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106451-Using+Tuples+(C%23)/info.aspx</guid>
      <pubDate>Tue, 02 Nov 2010 10:57:02 -0700</pubDate>
    </item>
    <item>
      <title>LINQ To Objects Tutorial</title>
      <link>http://www.programmersheaven.com/article/106441-LINQ+To+Objects+Tutorial/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106441-LINQ+To+Objects+Tutorial/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;A seventeen part tutorial explaining the use of LINQ to Objects with examples in C#. Begins by describing LINQ query expression syntax and standard query operators. Continues to cover all major LINQ operators.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106441-LINQ+To+Objects+Tutorial/info.aspx</guid>
      <pubDate>Sat, 30 Oct 2010 04:58:45 -0700</pubDate>
    </item>
    <item>
      <title>Creating Performance Counters Programmatically (C#)</title>
      <link>http://www.programmersheaven.com/article/106425-Creating+Performance+Counters+Programmatically+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106425-Creating+Performance+Counters+Programmatically+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Performance counters allow numerical information about the current state of the operating system or an application to be recorded and monitored using standard tools. This article explains how to create custom performance counters using C# code.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106425-Creating+Performance+Counters+Programmatically+(C%23)/info.aspx</guid>
      <pubDate>Wed, 27 Oct 2010 15:28:31 -0700</pubDate>
    </item>
    <item>
      <title>A Basic IoC Container (C#)</title>
      <link>http://www.programmersheaven.com/article/106394-A+Basic+IoC+Container+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106394-A+Basic+IoC+Container+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Inversion of control (IoC) containers provide a specialised form of the service locator pattern that simplifies the way in which dependencies are registered and later resolved. This article describes how to create a basic IoC container using generics.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106394-A+Basic+IoC+Container+(C%23)/info.aspx</guid>
      <pubDate>Thu, 21 Oct 2010 13:47:37 -0700</pubDate>
    </item>
    <item>
      <title>Service Locator Design Pattern (C# Examples)</title>
      <link>http://www.programmersheaven.com/article/106374-Service+Locator+Design+Pattern+(C%23+Examples)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106374-Service+Locator+Design+Pattern+(C%23+Examples)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;The service locator pattern is a design pattern that is used to decouple a class from its dependencies. Rather than the dependant class instantiating its dependencies directly, they are requested from a centralised service locator object.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106374-Service+Locator+Design+Pattern+(C%23+Examples)/info.aspx</guid>
      <pubDate>Mon, 18 Oct 2010 12:15:59 -0700</pubDate>
    </item>
    <item>
      <title>Re: Multiple Classes with same functions in another file</title>
      <link>http://www.programmersheaven.com/mb/csharp/418772/419113/ReadMessage.aspx#419113</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/alaniane/"&gt;alaniane&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/418772/419113/ReadMessage.aspx#419113"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;From your description, I would re-think your solution.  It sounds like your trying to make everything a class like&lt;br /&gt;
&lt;br /&gt;
class BigPerson;&lt;br /&gt;
class LittlePerson;&lt;br /&gt;
class ShortPerson;&lt;br /&gt;
&lt;br /&gt;
instead of just creating one class Person that can be used by all the programs.&lt;br /&gt;
If all of your classes share the same types of functions and variables and have the same behaviour, but differ only in the size of the arrays, then create one class definition that allows you to instatiate it with varying array sizes.  Then reference the class definition file in the various programs.  Then create a class object in the program based on the particular array dimensions for that program.&lt;br /&gt;
&lt;br /&gt;
Something like&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;public class foo{
  private int[] arry;
  
  public foo(int dimArry)
  {
    arry = new int[dimArry];
  }
...
  // other common functions
}&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Then instatiate it in the program as an object.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;foo myFoo = new foo(5);&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;foo yourFoo = new foo(10);&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/418772/419113/ReadMessage.aspx#419113</guid>
      <pubDate>Wed, 13 Oct 2010 13:49:00 -0700</pubDate>
    </item>
    <item>
      <title>.NET Formatting Reference Sheet</title>
      <link>http://www.programmersheaven.com/article/106350-.NET+Formatting+Reference+Sheet/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106350-.NET+Formatting+Reference+Sheet/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Various native .NET framework types include an overloaded version of the ToString method that accepts a format string. This reference sheet provides a list of standard formats and custom format specifiers for numeric types, DateTimes, GUIDs and enums.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106350-.NET+Formatting+Reference+Sheet/info.aspx</guid>
      <pubDate>Tue, 12 Oct 2010 09:32:53 -0700</pubDate>
    </item>
    <item>
      <title>Executing WMI Queries</title>
      <link>http://www.programmersheaven.com/article/106335-Executing+WMI+Queries/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106335-Executing+WMI+Queries/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Windows Management Instrumentation provides a number of services that allow gathering of information about the operating system, software and hardware of a machine. Using WQL, this information can be retrieved using familiar, text-based queries.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106335-Executing+WMI+Queries/info.aspx</guid>
      <pubDate>Sat, 09 Oct 2010 03:16:58 -0700</pubDate>
    </item>
    <item>
      <title>C# Interface Events</title>
      <link>http://www.programmersheaven.com/article/106238-C%23+Interface+Events/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106238-C%23+Interface+Events/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;An interface can be created to define a contract containing members that classes that implement it must provide. Interfaces can define events, sometimes leading to classes that implement several interfaces being required to declare an event name twice.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106238-C%23+Interface+Events/info.aspx</guid>
      <pubDate>Fri, 24 Sep 2010 10:04:12 -0700</pubDate>
    </item>
    <item>
      <title>Try the C# board</title>
      <link>http://www.programmersheaven.com/mb/CandCPP/418677/418722/ReadMessage.aspx#418722</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/bilderbikkel/"&gt;bilderbikkel&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/CandCPP/418677/418722/ReadMessage.aspx#418722"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/CandCPP/Board.aspx"&gt;C and C++&lt;/a&gt; forum.&lt;/p&gt;&amp;gt; I am new to C#&lt;br /&gt;
Then try the C# board.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/CandCPP/418677/418722/ReadMessage.aspx#418722</guid>
      <pubDate>Thu, 16 Sep 2010 05:14:22 -0700</pubDate>
    </item>
    <item>
      <title>Dependency Injection (C#)</title>
      <link>http://www.programmersheaven.com/article/106167-Dependency+Injection+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106167-Dependency+Injection+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Dependency injection is a technique used in object-oriented programming languages. It promotes loose coupling of components by passing dependencies to an object, rather than having an object instantiate its own dependencies.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106167-Dependency+Injection+(C%23)/info.aspx</guid>
      <pubDate>Sun, 12 Sep 2010 01:01:09 -0700</pubDate>
    </item>
    <item>
      <title>The XOR Swap Algorithm (C#)</title>
      <link>http://www.programmersheaven.com/article/106122-The+XOR+Swap+Algorithm+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106122-The+XOR+Swap+Algorithm+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;The XOR Swap algorithm provides a means to swap the values in two integer variables without requiring the use of a third, temporary variable. This algorithm is interesting to know, although its use is unnecessary in high-level languages.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106122-The+XOR+Swap+Algorithm+(C%23)/info.aspx</guid>
      <pubDate>Fri, 03 Sep 2010 11:23:21 -0700</pubDate>
    </item>
    <item>
      <title>Re: Arrays</title>
      <link>http://www.programmersheaven.com/mb/csharp/418416/418459/ReadMessage.aspx#418459</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/asponge/"&gt;asponge&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/418416/418459/ReadMessage.aspx#418459"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;An array in C# is simply a collection of objects in sequential order.  Each item in the array can be referenced by an integer index.  Array indices start at zero and go to the length of the array -1.  To output each array element, a for or while loop can be used.&lt;br /&gt;
&lt;br /&gt;
Therefore to print an array in order:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
string[] ar = new string[] {"one", "two", "three"};
for(int i=0; i&amp;lt;ar.Length; i++)
{
    Console.WriteLine(ar[i]);
}
&lt;/pre&gt;&lt;br /&gt;
OR&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
string[] ar = new string[] {"one", "two", "three"};
int i = 0;
while(i &amp;lt; ar.Length)
{
    Console.WriteLine(ar[i]);
    i++;
}
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
To print the array in reverse order you start at the last array index and go backwards:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
string[] ar = new string[] {"one", "two", "three"};
for(int i=ar.Length-1; i &amp;gt; -1; i--)
{
    Console.WriteLine(ar[i]);
}
&lt;/pre&gt;&lt;br /&gt;
OR&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
string[] ar = new string[] {"one", "two", "three"};
int i = ar.Length - 1;
while(i &amp;gt; -1)
{
    Console.WriteLine(ar[i]);
    i--;
}
&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/418416/418459/ReadMessage.aspx#418459</guid>
      <pubDate>Thu, 26 Aug 2010 21:06:50 -0700</pubDate>
    </item>
    <item>
      <title>Public Application Settings (C#/.NET)</title>
      <link>http://www.programmersheaven.com/article/106062-Public+Application+Settings+(C%23/.NET)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106062-Public+Application+Settings+(C%23%2f.NET)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Application settings, created using Visual Studio's project properties, are of internal scope by default, allowing them to be used from within the same assembly. The scope can be changed to public to allow settings to be shared between projects.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106062-Public+Application+Settings+(C%23%2f.NET)/info.aspx</guid>
      <pubDate>Wed, 25 Aug 2010 13:31:42 -0700</pubDate>
    </item>
    <item>
      <title>Adding Descriptive Text to Enumerations (C#)</title>
      <link>http://www.programmersheaven.com/article/106012-Adding+Descriptive+Text+to+Enumerations+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106012-Adding+Descriptive+Text+to+Enumerations+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Enumerations allow a number of constants to be declared in a group. These constants provide names for numeric values to make code easier to read and maintain. The names are not ideally formatted for display to users but can be enhanced with descriptions.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106012-Adding+Descriptive+Text+to+Enumerations+(C%23)/info.aspx</guid>
      <pubDate>Sat, 07 Aug 2010 14:19:57 -0700</pubDate>
    </item>
    <item>
      <title>Setting the System Time (C#)</title>
      <link>http://www.programmersheaven.com/article/106008-Setting+the+System+Time+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/106008-Setting+the+System+Time+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Some software applications include the requirement to change the system clock time. This can be achieved using C# by calling a Windows API function. This article describes how to declare and use the SetSystemTime function and related SYSTEMTIME structure.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/106008-Setting+the+System+Time+(C%23)/info.aspx</guid>
      <pubDate>Sat, 07 Aug 2010 04:14:12 -0700</pubDate>
    </item>
    <item>
      <title>Setting Performance Counters (.NET)</title>
      <link>http://www.programmersheaven.com/article/105988-Setting+Performance+Counters+(.NET)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105988-Setting+Performance+Counters+(.NET)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Microsoft Windows provides a large number of performance counters that can be monitored with tools such as Performance Monitor. It is possible to add new counters and set their values to allow such tools to monitor custom .NET applications and services.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105988-Setting+Performance+Counters+(.NET)/info.aspx</guid>
      <pubDate>Tue, 03 Aug 2010 04:15:43 -0700</pubDate>
    </item>
    <item>
      <title>Grouping on Multiple Properties with LINQ</title>
      <link>http://www.programmersheaven.com/article/105980-Grouping+on+Multiple+Properties+with+LINQ/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105980-Grouping+on+Multiple+Properties+with+LINQ/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;LINQ allows queries to be executed that include grouping. The GroupBy query operator and the group clause both allow grouping using a single key selector. When it is necessary to group by multiple keys, the selector must include an expression.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105980-Grouping+on+Multiple+Properties+with+LINQ/info.aspx</guid>
      <pubDate>Sat, 31 Jul 2010 14:01:06 -0700</pubDate>
    </item>
    <item>
      <title>Passing a Variable to a TextBox in ReportViewer C#.NET WinForm</title>
      <link>http://www.programmersheaven.com/mb/csharp/418022/418022/ReadMessage.aspx#418022</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/chip050555/"&gt;chip050555&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/418022/418022/ReadMessage.aspx#418022"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;Hi All&lt;br /&gt;
&lt;br /&gt;
I am having a problem and been looking for days on passing a variable to a textbox in reportviewer.&lt;br /&gt;
&lt;br /&gt;
Currently I have one date string and eventually will have six that I want to pass to textboxes in my .rdlc report.  I am pulling information from a database to place in the report and have constructed a dataset.  The dataset does not allow me to pull the dates I need since they are future dates, i.e. timecards/dairycards and the dates are picked from a calendar control,  The dates are stored as variables and placed in an array for the report.&lt;br /&gt;
&lt;br /&gt;
I keep getting the following error message when I run the report:&lt;br /&gt;
&lt;br /&gt;
LocalProcessingException was unhandled.&lt;br /&gt;
&lt;br /&gt;
Microsoft.Reporting.WinForms.LocalProcessingException was unhandled&lt;br /&gt;
&lt;br /&gt;
  Message="An error occurred during local report processing."&lt;br /&gt;
&lt;br /&gt;
  Source="Microsoft.ReportViewer.WinForms"&lt;br /&gt;
&lt;br /&gt;
  Below is my code for the btnRun_Click event:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
private void btnRun_Click(object sender, EventArgs e)
        {
            reportViewer1.ProcessingMode = ProcessingMode.Local;
            LocalReport localReport = reportViewer1.LocalReport;
            reportViewer1.LocalReport.ReportPath = "Report1.rdlc";
            
            string param0 = GlobalClass.GlobalVar;
            ReportParameter inputdata = new ReportParameter("inputdata", param0);
            &lt;span style="color: Red;"&gt;this.reportViewer1.LocalReport.SetParameters(new ReportParameter[] {inputdata});&lt;/span&gt;
             
            // TODO: This line of code loads data into the 'AttendanceDataSet.EMPLOYEES' table. You can move, or remove it, as needed.
            this.EMPLOYEESTableAdapter.Fill(this.AttendanceDataSet.EMPLOYEES);
            
            this.reportViewer1.RefreshReport();
        }
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
I have highlighted the line of code that the exception is thrown at.&lt;br /&gt;
&lt;br /&gt;
I do have on my report the textbox expression set as:&lt;br /&gt;
&lt;br /&gt;
=Parameters!inputdata.Value&lt;br /&gt;
&lt;br /&gt;
I have looked everywhere I can think to find a solution.  Any advice would be helpful.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/418022/418022/ReadMessage.aspx#418022</guid>
      <pubDate>Wed, 21 Jul 2010 05:58:21 -0700</pubDate>
    </item>
    <item>
      <title>Getting the Mouse Pointer Position (C#/WinForms)</title>
      <link>http://www.programmersheaven.com/article/105919-Getting+the+Mouse+Pointer+Position+(C%23/WinForms)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105919-Getting+the+Mouse+Pointer+Position+(C%23%2fWinForms)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Many Windows-based programs require the ability to determine the mouse pointer's location. Sometimes the screen position is used, even if the cursor is beyond the boundaries of a window. In other cases the location relative to a form or control is needed.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105919-Getting+the+Mouse+Pointer+Position+(C%23%2fWinForms)/info.aspx</guid>
      <pubDate>Tue, 13 Jul 2010 13:03:30 -0700</pubDate>
    </item>
    <item>
      <title>C# Box Blur</title>
      <link>http://www.programmersheaven.com/article/105897-C%23+Box+Blur/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/VCKicks/"&gt;VCKicks&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105897-C%23+Box+Blur/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Implementing a box blur effect in C# via image convolution.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105897-C%23+Box+Blur/info.aspx</guid>
      <pubDate>Sun, 11 Jul 2010 14:04:03 -0700</pubDate>
    </item>
    <item>
      <title>XML Serialization</title>
      <link>http://www.programmersheaven.com/article/105892-XML+Serialization/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105892-XML+Serialization/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;With XML serialisation, the public state of objects can be converted into an XML document. Such XML information is often stored on disk to persist data for later use, or is transported over a network or the Internet to send messages between computers.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105892-XML+Serialization/info.aspx</guid>
      <pubDate>Fri, 09 Jul 2010 14:44:01 -0700</pubDate>
    </item>
    <item>
      <title>Extracting the Icon for a File (.NET)</title>
      <link>http://www.programmersheaven.com/article/105826-Extracting+the+Icon+for+a+File+(.NET)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105826-Extracting+the+Icon+for+a+File+(.NET)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;In Microsoft Windows, all files have an associated icon that can help the user to quickly identify the file type. Icons may be embedded in an executable or dynamic linked library (DLL), or held in an icon file. In each case, it is easy to access the icon.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105826-Extracting+the+Icon+for+a+File+(.NET)/info.aspx</guid>
      <pubDate>Sat, 26 Jun 2010 14:53:54 -0700</pubDate>
    </item>
    <item>
      <title>Creating Secure Strings</title>
      <link>http://www.programmersheaven.com/article/105756-Creating+Secure+Strings+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105756-Creating+Secure+Strings+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Highly confidential information, such as passwords or banking details, should be encrypted in memory during use to reduce the risk that it may be revealed to malware or forensic examination. The SecureString class provides this encryption automatically.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105756-Creating+Secure+Strings+(C%23)/info.aspx</guid>
      <pubDate>Tue, 22 Jun 2010 11:00:19 -0700</pubDate>
    </item>
    <item>
      <title>The Nullable&lt;T&gt; Structure</title>
      <link>http://www.programmersheaven.com/article/105806-The+Nullable&lt;T&gt;+Structure/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105806-The+Nullable%3cT%3e+Structure/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;One of the problems with most value types is the inability to specify that they contain an undefined value. This is unlike reference types, which may hold a null reference to indicate that they have no value. The Nullable&amp;lt;T&amp;gt; structure resolves this issue.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105806-The+Nullable%3cT%3e+Structure/info.aspx</guid>
      <pubDate>Tue, 22 Jun 2010 10:59:17 -0700</pubDate>
    </item>
    <item>
      <title>Creating Secure Strings</title>
      <link>http://www.programmersheaven.com/article/105756-Creating+Secure+Strings+(C%23)/info.aspx</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/BlackWasp/"&gt;BlackWasp&lt;/a&gt; submitted a new &lt;a href="http://www.programmersheaven.com/article/105756-Creating+Secure+Strings+(C%23)/info.aspx"&gt;article&lt;/a&gt;.&lt;/p&gt;Highly confidential information, such as passwords or banking details, should be encrypted in memory during use to reduce the risk that it may be revealed to malware or forensic examination. The SecureString class provides this encryption automatically.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/article/105756-Creating+Secure+Strings+(C%23)/info.aspx</guid>
      <pubDate>Tue, 15 Jun 2010 13:59:46 -0700</pubDate>
    </item>
    <item>
      <title>Re: Pulling a table from HTML</title>
      <link>http://www.programmersheaven.com/mb/csharp/417171/417217/ReadMessage.aspx#417217</link>
      <description>&lt;p&gt;&lt;a href="http://www.programmersheaven.com/user/khurram_adill/"&gt;khurram_adill&lt;/a&gt; posted a &lt;a href="http://www.programmersheaven.com/mb/csharp/417171/417217/ReadMessage.aspx#417217"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharp/Board.aspx"&gt;C#&lt;/a&gt; forum.&lt;/p&gt;If you want to Pull the table &lt;br /&gt;
using Javascript You can do it as following&lt;br /&gt;
&lt;br /&gt;
var table = document.getElementById('tableid');&lt;br /&gt;
&lt;br /&gt;
if you want to pull the table in ASP.NET you should put runat='server' attribute with the table like&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table id='table1'  runat='server'&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and you can reffer to the table1 in asp.net.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/417171/417217/ReadMessage.aspx#417217</guid>
      <pubDate>Tue, 15 Jun 2010 00:19:49 -0700</pubDate>
    </item>
  </channel>
</rss>