<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>C# Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'C#' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 03 Jul 2009 21:01:56 -0700</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 21:01:56 -0700</lastBuildDate>
    <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>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>close or overwrite the file</title>
      <link>http://www.programmersheaven.com/mb/csharp/393234/393234/close-or-overwrite-the-file/</link>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
I have one windows service made in C#. I want My service to create CSV file every two minutes... but it should overwrite the existing file every two minutes. but whenever I try - it says file is already open - while I am sure that file is processed during those elapsed two minutes.. How do i programmatically close the file or overwrite the same. My file creation is through windows utility CSVDE (so have no control over creation except for the time and name!)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
please suggest, thanks,&lt;br /&gt;
Jeet&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/393234/393234/close-or-overwrite-the-file/</guid>
      <pubDate>Fri, 03 Jul 2009 04:00:49 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>clarification of the following code</title>
      <link>http://www.programmersheaven.com/mb/csharp/393206/393206/clarification-of-the-following-code/</link>
      <description>Hi, i was wondering if someone would be kind enough to read over this code i have copied from a tutorial and check to make sure that the things i have listed in comments are correct + clarify where i have placed a "?".&lt;br /&gt;
&lt;br /&gt;
thanks very much in advance&lt;br /&gt;
&lt;br /&gt;
Rgds&lt;br /&gt;
&lt;br /&gt;
Fraz&lt;br /&gt;
&lt;br /&gt;
(bit of a greenhorn at this so sorry if im asking stupid questions)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
&lt;br /&gt;
namespace ConsoleApplication1&lt;br /&gt;
{&lt;br /&gt;
class Program&lt;br /&gt;
{&lt;br /&gt;
static void Main(string[] args) //program begins here&lt;br /&gt;
{&lt;br /&gt;
Car car;&lt;br /&gt;
//creating an object called car from Car class&lt;br /&gt;
&lt;br /&gt;
car = new Car("Red"); //declaring its colour red&lt;br /&gt;
Console.WriteLine(car.Describe());&lt;br /&gt;
&lt;br /&gt;
car = new Car("Green"); // declaring it green&lt;br /&gt;
Console.WriteLine(car.Describe());&lt;br /&gt;
&lt;br /&gt;
Console.ReadLine(); //allows user to c writeline&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
class Car&lt;br /&gt;
{&lt;br /&gt;
private string color;&lt;br /&gt;
&lt;br /&gt;
//settin up a private variable of type string&lt;br /&gt;
&lt;br /&gt;
public Car(string color) // a method?&lt;br /&gt;
{&lt;br /&gt;
this.color = color; //?&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public string Describe() // describe method?&lt;br /&gt;
{&lt;br /&gt;
return "This car is " + Color; //?&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
public string Color&lt;br /&gt;
&lt;br /&gt;
// is this where the colour is set?&lt;br /&gt;
{&lt;br /&gt;
get { return color; }&lt;br /&gt;
set { color = value; }&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/393206/393206/clarification-of-the-following-code/</guid>
      <pubDate>Thu, 02 Jul 2009 09:49:43 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>List of objects problem!!!</title>
      <link>http://www.programmersheaven.com/mb/csharp/393142/393142/list-of-objects-problem/</link>
      <description>Well, I'm trying to create a app using Visual Studio 8. I'm new in the c# language...&lt;br /&gt;
&lt;br /&gt;
The problem is that when I add items to a List of objects, and in the end when a do a foreach to see if everything is fine, the result is allways the same... Can anyone help me finding the "bug"?&lt;br /&gt;
Here is some code:&lt;br /&gt;
&lt;br /&gt;
/**********************************/&lt;br /&gt;
&lt;br /&gt;
List&amp;lt;Option&amp;gt; options = new List&amp;lt;Option&amp;gt;();&lt;br /&gt;
&lt;br /&gt;
number=1;&lt;br /&gt;
&lt;br /&gt;
          &lt;br /&gt;
do&lt;br /&gt;
{&lt;br /&gt;
   &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Option option = new Option(number);&lt;br /&gt;
                    &lt;br /&gt;
                      &lt;br /&gt;
                      &lt;br /&gt;
     options.Add(option);&lt;br /&gt;
     &lt;br /&gt;
     number++;&lt;br /&gt;
&lt;br /&gt;
} while (number != 5);&lt;br /&gt;
&lt;br /&gt;
foreach (Opcao o in _opcoes)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  result += "\n" + o.universidade.Nome;&lt;br /&gt;
}&lt;br /&gt;
MessageBox.Show(result);&lt;br /&gt;
&lt;br /&gt;
/*****************************/&lt;br /&gt;
                      &lt;br /&gt;
This results in a MessageBox with:&lt;br /&gt;
&lt;br /&gt;
4&lt;br /&gt;
4&lt;br /&gt;
4&lt;br /&gt;
4&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/393142/393142/list-of-objects-problem/</guid>
      <pubDate>Wed, 01 Jul 2009 17:35:34 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Software FTP-Download Professional!</title>
      <link>http://www.programmersheaven.com/mb/csharp/393079/393079/software-ftp-download-professional/</link>
      <description>Software FTP-Download Professional!&lt;br /&gt;
   Anything you need,can check: ctrl + f&lt;br /&gt;
kela2018@rambler.ru&lt;br /&gt;
&lt;a href="http://www.yourweddingbands.com/showthread.php?t=20730"&gt;http://www.yourweddingbands.com/showthread.php?t=20730&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
AUTODESK.AUTOCAD.VIZ.V2008&lt;br /&gt;
AUTODESK.P.AND.ID.V2008&lt;br /&gt;
Autodesk.AliasStudio.v13.02&lt;br /&gt;
AUTODESK.ALIASSTUDIO.V2008 (2CD)&lt;br /&gt;
Autodesk Alias ImageStudio_v2008 &lt;br /&gt;
Autodesk Alias.ImageStudio.v3.0&lt;br /&gt;
AUTODESK_COMBUSTION_V2008&lt;br /&gt;
Autodesk.Impression.R1&lt;br /&gt;
Autodesk.Impression.v2.0.21973&lt;br /&gt;
AUTODESK.VAULT.V2008  (2CD) &lt;br /&gt;
AUTODESK_LUSTRE_V2008   &lt;br /&gt;
Autodesk.Revit.MEP.v2008.SP3&lt;br /&gt;
Autodesk Revit Series v6.1 &lt;br /&gt;
AUTODESK.REVIT.BUILDING.V9.1  (3CD) &lt;br /&gt;
AUTODESK.MAPGUIDE.V6.5 (2CD) &lt;br /&gt;
AUTODESK.MAX.2008 &lt;br /&gt;
Autodesk.Survey.v2007&lt;br /&gt;
Autodesk Actrix Technical 2000&lt;br /&gt;
AUTODESK MAYA UNLIMITED 8.5 SP1&lt;br /&gt;
AUTODESK_MAYA_UNLIMITED_V2008&lt;br /&gt;
Autodsys.AcceliCAD.2009.v6.4.23.3A &lt;br /&gt;
Autodsys.AcceliCAD.2010.v6.6.26.25A&lt;br /&gt;
Autodsys.AcceliCAD2CAM.2009.v6.4.23.3A&lt;br /&gt;
Autodsys.IntelliCAD.2009.Pro.Plus.v6.4.23.2&lt;br /&gt;
AutoDesSys.Bonzai3d.V1.00.Build.7306&lt;br /&gt;
AUTOFORM.MASTER.V4.1   &lt;br /&gt;
AutoFORM V2.1.1 + EXCEED 6.2 &amp;amp; 3D 6.2&lt;br /&gt;
Autoform.4.1.1&lt;br /&gt;
AUTOFORM.V4.2&lt;br /&gt;
AutomatedQA.AQTime.v5.45.487&lt;br /&gt;
Automotive.Expert.v7.61&lt;br /&gt;
Dowell.Systems.Automotive.Expert.v7.81 &lt;br /&gt;
Dowell.Systems.Automotive.Expert.v7.85&lt;br /&gt;
Automation Studio 5.0&lt;br /&gt;
AutoNest v9.22 &lt;br /&gt;
AutoShip v8.2&lt;br /&gt;
Autoship v9.1 &lt;br /&gt;
AutoYacht.8.2   &lt;br /&gt;
AutoPol.7.7&lt;br /&gt;
Autopol for windows 1.9 &lt;br /&gt;
AutoTURN v5.1&lt;br /&gt;
Autoturn 6.01&lt;br /&gt;
Auxbuss.HALion.3.Unleashed&lt;br /&gt;
AVID_XPRESS_PRO_V5.8&lt;br /&gt;
Avid_NewsCutter_XP_v6.7.5&lt;br /&gt;
AVID.MEDIA.COMPOSER.V3.0    &lt;br /&gt;
AVID_SOFTIMAGE_XSI_ADVANCED_V6.5&lt;br /&gt;
SOFTIMAGE.XSI.v7.0.609.0.Win32&lt;br /&gt;
SOFTIMAGE_XSI_ADVANCED_V7.01.684  &lt;br /&gt;
SOFTIMAGE_XSI_ADVANCED_V7.5_LINUX32/LINUX64&lt;br /&gt;
AVL Advisor 2004 &lt;br /&gt;
AVL.Boost Engine Cycle Simulaton v3.0  &lt;br /&gt;
AVL BOOST v5.1.1 Win&lt;br /&gt;
AVL cruise 3.1.1&lt;br /&gt;
AVL CRUISE 2008 &lt;br /&gt;
AVL.Fire.v8.31  &lt;br /&gt;
AVL Fire 2008  &lt;br /&gt;
AVL.SWIFT.V3.1.1&lt;br /&gt;
AVL Workspace SUITE v4.1&lt;br /&gt;
AVL WorkSpace SUITE 5.1 &lt;br /&gt;
AVPSoft ApFill v3.4.888 &lt;br /&gt;
AVPSoft Universal Desktop Ruler v2.5.876&lt;br /&gt;
AWR Microwave Office 2004 2537r_v651&lt;br /&gt;
Microwave Office 2006 v7.03 &lt;br /&gt;
AWR Design Environment 2006 v7.03.3161.2&lt;br /&gt;
AWR_Design_Environment_Microwave.Office.2007_v7_51
_3650_1&lt;br /&gt;
AWR.Design.Environment.v8.04&lt;br /&gt;
AWR.Design.Environment.v8.04.4267.1&lt;br /&gt;
AWR.Design.Environment.Vendor.Local.v8.0 &lt;br /&gt;
AWR.Nuhertz.Filter.for.AWRDE.v4.52&lt;br /&gt;
AWR.Nuhertz.Filter.for.AWRDE.v5.10&lt;br /&gt;
NuHertz Filter Solution V11.1.1&lt;br /&gt;
AWR.Testwave.for.AWRDE.v2.05&lt;br /&gt;
B2.Spice.AD.Professional.v5.2.3 &lt;br /&gt;
Baramundi.Management.Suite.v7.6.SP1&lt;br /&gt;
BaseNow.Professional.v1.1.0.7 &lt;br /&gt;
BASIS.BBj.Barista.Enterprise.v9.01&lt;br /&gt;
BASIS.Product.Suite.v9.01 &lt;br /&gt;
BCAD.Furniture.Designer.Pro.v3.92&lt;br /&gt;
Beacon.Designer.v7.21 &lt;br /&gt;
Beacon.Designer.v7.51 &lt;br /&gt;
Becker.Indianapolis.and.Indianapolis.Pro.v5.0 (4CD)&lt;br /&gt;
Bentley ProjectWise Navigator MX 8.09.04.51&lt;br /&gt;
Bentley.PlantWise.XM.v8.09.04&lt;br /&gt;
Bentley SewerCad XM 05 06 014 00   &lt;br /&gt;
Bentley_SewerGems_v08.09.02.500 &lt;br /&gt;
Bentley.SewerGEMS.08.11.00.08(V8i)&lt;br /&gt;
Bentley.StormCAD.08.11.00.24(V8i)&lt;br /&gt;
Bentley.WaterCAD.08.11.0.3(V8i)&lt;br /&gt;
Bentley.WaterGEMS.08.11.00.30(V8i)&lt;br /&gt;
Bentley.HAMMER.08.11.00.30(V8i)&lt;br /&gt;
Bentley.Architecture.XM.v08.09.04.46&lt;br /&gt;
Bentley.Architecture.V8i.XM.v8.11.05.46&lt;br /&gt;
Bentley.Architecture.Dataset.US.V8i.v8.11.05.54&lt;br /&gt;
Bentley Autoplant 2004 &lt;br /&gt;
BENTLEY.AUTOPLANT.STRUCTURAL.V08.06.00.11 &lt;br /&gt;
Bentley.Structural.V8i.XM.v8.11.05.25&lt;br /&gt;
Bentley AutoPlant Plant Design XM 08.09.03.30&lt;br /&gt;
Bentley AutoPLANT P&amp;amp;ID XM 08.09.03.05&lt;br /&gt;
Bentley.PlantSpace.Design.Series.XM.v08.09.04.34&lt;br /&gt;
BENTLEY.AUTOPIPE.V2004  &lt;br /&gt;
Bentley AutoPIPE 09.01.00.27&lt;br /&gt;
Bentley.AutoPipe.XM.v09.00.00.08 &lt;br /&gt;
Rebis AutoPIPE v6.30.11&lt;br /&gt;
Bentley.Building.Electrical.Systems.XM.v08.09.04.1
2&lt;br /&gt;
Bentley.Building.Mechanical.Systems.XM.v08.09.04.4
5&lt;br /&gt;
Bentley.Cadastre.v08.09.04.71.for.Microstation.XM&lt;br /&gt;
Bentley.Civil.Extension.For.InRoads.XM.v8.09.03.06&lt;br /&gt;
Bentley.Civil.Extension.for.GEOPAK.XM.v08.09.06.30&lt;br /&gt;
Bentley.CulvertMaster.V03.02.00.01&lt;br /&gt;
Bentley FlowMaster 08.01.071.00&lt;br /&gt;
BENTLEY GEOPAK Civil 2004 &lt;br /&gt;
Bentley GeoPak Rebar v8.00.07.46&lt;br /&gt;
Bentley.GEOPAK.Rebar.08.08.03.27&lt;br /&gt;
Bentley.GEOPAK.Civil.Engineering.Suite.8.08.03.24&lt;br /&gt;
Bentley.Generative.Components.V8i.XM.v8.11.05.36&lt;br /&gt;
Bentley InRoads v8i 08.11.05.45&lt;br /&gt;
Bentley InRoads Group v8.11.05.47&lt;br /&gt;
Bentley.InRoads.Suite.v8i.XM.v8.11.05.47&lt;br /&gt;
Bentley.InRoads.Suite.XM.Edition.v8.09.03.06&lt;br /&gt;
Bentley.IRASB.XM.v08.09.04.57&lt;br /&gt;
Bentley.Map.XM.v08.09.04.128&lt;br /&gt;
Bentley.Map.V8i.XM.v8.11.05.26&lt;br /&gt;
Bentley.Map.V8i.XM.v8.11.05.49&lt;br /&gt;
Bentley.Microstation.Descartes.V8i.v8.11.05.30&lt;br /&gt;
Bentley.MicroStation.v8i.XM.v8.11.05.17&lt;br /&gt;
Bentley.Microstation.Descartes.V8i.XM.v8.11.05.25&lt;br /&gt;
Bentley.Microstation.GEOPAK.Civil.Engineering.Suit
e.XM.v08.09.07.28&lt;br /&gt;
Bentley.Microstation.GEOPAK.Rebar.2004.Edition.v08
.08.02.81&lt;br /&gt;
Bentley.Microstation.GEOPAK.Suite.v8.08.02.81&lt;br /&gt;
Bentley.Microstation.GEOPAK.Site.XM.v08.09.07.28&lt;br /&gt;
Bentley.Microstation.GEOPAK.Survey.XM.Edition.v08.
09.07.28&lt;br /&gt;
Bentley.Microstation.Powerdraft.v8i.XM.v8.11.05.17&lt;br /&gt;
Bentley.Microstation.Structural.XM.v8.09.04.39&lt;br /&gt;
Bentley.Microstation.Triforma.XM.v08.09.04.63&lt;br /&gt;
Bentley.Mx.International.v08.05.00.80&lt;br /&gt;
Bentley OpenPlant PowerPID v8i 08.11.05.27&lt;br /&gt;
Bentley.PlantFLOW.06.01.00.05&lt;br /&gt;
Bentley.PondPack.v10.01.04.00&lt;br /&gt;
Bentley.PowerSurvey.for.Powerdraft.XM.v08.09.06.30&lt;br /&gt;
Bentley.PowerMap.XM.v08.09.04.88&lt;br /&gt;
Bentley ProjectWise.v3.2&lt;br /&gt;
Bentley.ProSteel.3D.v18.0.Rev.20.06.08&lt;br /&gt;
Bentley.ProSteel.3D.v18.0.Datacode.20102008&lt;br /&gt;
Bentley.ProSteel 3D v8i (08.11.00.11)&lt;br /&gt;
Bentley.ProSteel.V8i.for.AutoCAD.2004-2009.v19.11.08&lt;br /&gt;
Bentley.Rebar.XM.v08.09.04.71&lt;br /&gt;
Bentley.Revit.Plugin.V8i.XM.v8.11.05.26&lt;br /&gt;
Bentley RAM CADstudio 02.01.07.00  &lt;br /&gt;
Bentley RAM Connection 05.00.01.43  &lt;br /&gt;
Bentley RAM STRUCTURAL SYSTEM 12 &lt;br /&gt;
Bentley Schedule Simulator v4.02.01.10&lt;br /&gt;
BENTLEY.STAAD.PRO.V2007.2&lt;br /&gt;
Bentley Staad.Pro v8i (20.07.04.12)&lt;br /&gt;
Bentley.TriForma.2004.Edition.v8.05.04.18&lt;br /&gt;
Bentley Viecon Publisher v03.00.00.12&lt;br /&gt;
Best Color Proof 5.0&lt;br /&gt;
BETA_CAE_ANSA_V12.0.3&lt;br /&gt;
BETA-CAE_METAPOST_V5.1.0&lt;br /&gt;
Betnina Artista 4 &lt;br /&gt;
BioStat.2007.Professional.v3.8.4&lt;br /&gt;
BIO-RAD_PDQUEST_V8.0.1&lt;br /&gt;
BIO-RAD_QUANTITY_ONE_V22&lt;br /&gt;
BioSolveIT.ReCore.v1.8.14&lt;br /&gt;
BitDefender_Professional_Plus_v9.0&lt;br /&gt;
Bitplane.Imaris.v6.2.0 &lt;br /&gt;
Bizprac ToolBox Pro v5.08&lt;br /&gt;
B&amp;amp;K PULSE v12.5&lt;br /&gt;
blast5.0_2005_08_07.0426&lt;br /&gt;
Bluespec-2008.11.C &lt;br /&gt;
BLUE_RIDGE_NUMERICS_CFDESIGN_V9.0&lt;br /&gt;
BMW.WDS.v12.0&lt;br /&gt;
BMW.ETK.v5.0.2008&lt;br /&gt;
BnK.PULSE.12.5 (2CD)  &lt;br /&gt;
PE-DESIGN v5.5&lt;br /&gt;
Brother.PE-Design.v6.0&lt;br /&gt;
BobCAD-CAM.v21.5.2&lt;br /&gt;
BobCad-Cam.V21.Training.Professor&lt;br /&gt;
Boeing SoftPlotter V4.1 With Airfield&lt;br /&gt;
Boris Blue 2.5    &lt;br /&gt;
Boris.Continuum.Complete.v5.01.for.AVX  &lt;br /&gt;
Boris.Red.v4.3 &lt;br /&gt;
Borland.c.sharp.builder.enterprise.V1.0  (2CD)  &lt;br /&gt;
Borland.Together.Designer.2005 &lt;br /&gt;
Borland Together Architect 2006&lt;br /&gt;
BORLAND.JBUILDER.2007.ENTERPRISE.DVD&lt;br /&gt;
Borland C++ Builder 6.0 Enterprise&lt;br /&gt;
Bosch.Rexroth.Indraworks.v7.04   &lt;br /&gt;
Bosch.Rexroth.WinStudio.v6.5.WinNT_2K&lt;br /&gt;
Boson.Netsim.for.CCNP.v7.06&lt;br /&gt;
BOSS.RiverCAD.XP.for.AutoCAD.v7.5 &lt;br /&gt;
BOSS.RiverCAD.2000.Datecode.20020508&lt;br /&gt;
BOSS.RiverCAD.Professional.for.AutoCAD.v8.1&lt;br /&gt;
BOSS.StormNET.v4.18&lt;br /&gt;
BOSTON DYNAMICS DI-GUY 5.0&lt;br /&gt;
Box Shot 3D v2.10&lt;br /&gt;
Braid.Art.Labs.GroBoto.v2.1.8.1 &lt;br /&gt;
BR＆E ProMax 2.0.7047.0&lt;br /&gt;
Brain.Voyager.QX.v1.10.4&lt;br /&gt;
Bricsys.BricsCad.Pro.v9.2.15.14684 &lt;br /&gt;
Bricsys.BricsCad.Pro.v9.2.16.15292&lt;br /&gt;
BSI.FB-Pier.v3.21&lt;br /&gt;
Bunkspeed.HyperShot.v1.5.20 &lt;br /&gt;
Bunkspeed.HyperShot.v1.7.1 &lt;br /&gt;
Business Objects 5.1.4 + Keys&lt;br /&gt;
BUW.EFX.EVX.v6.0&lt;br /&gt;
Progressive.Die.Extension.v5.0&lt;br /&gt;
SmartAnalysis.v5.0&lt;br /&gt;
SmartAssembly.v5.0&lt;br /&gt;
SmartCorebox.v5.0&lt;br /&gt;
SmartElectrode.v5.0&lt;br /&gt;
SmartHolechart.v6.0&lt;br /&gt;
SmartHolefinder.v5.0&lt;br /&gt;
SmartLibrary.v6.0&lt;br /&gt;
SmartOptics.v5.0&lt;br /&gt;
SmartXhatch.v5.0	&lt;br /&gt;
CA AllFusion Data Model Validator 7.2 &lt;br /&gt;
CA AllFusion ERwin Data Modeler 7.2.5 SP1&lt;br /&gt;
CA AllFusion Model Manager 7.2.5 SP1&lt;br /&gt;
CA AllFusion Model Navigator 7.2.5 SP1&lt;br /&gt;
CA AllFusion Process Modeller 7.2.5 SP1&lt;br /&gt;
Cabinet Vision Solid v4.0&lt;br /&gt;
CAD.SCHROER.STHENO.ADVANCED.V3.1.1&lt;br /&gt;
CAD-DUCT.SOLIDS.V2.28.062&lt;br /&gt;
Caddy-Electrical-3.8-3.6&lt;br /&gt;
CADRASTER.PRO.V8.0.FOR.AUTOCAD&lt;br /&gt;
&lt;br /&gt;
   Anything you need,can check: ctrl + f&lt;br /&gt;
kela2018@rambler.ru&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/393079/393079/software-ftp-download-professional/</guid>
      <pubDate>Tue, 30 Jun 2009 20:33:51 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>How to get Bluetooth Beacon rate using C# program</title>
      <link>http://www.programmersheaven.com/mb/csharp/393023/393023/how-to-get-bluetooth-beacon-rate-using-c-program/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am doing a project in which i m using bluetooth dongles to send beacons and PDA acting as client.&lt;br /&gt;
&lt;br /&gt;
i am trying to write program to seek the beacon rate of dongle.&lt;br /&gt;
&lt;br /&gt;
Can anyone please guide me?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/393023/393023/how-to-get-bluetooth-beacon-rate-using-c-program/</guid>
      <pubDate>Mon, 29 Jun 2009 13:26:17 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>PigLatin program, calling methods.</title>
      <link>http://www.programmersheaven.com/mb/csharp/392979/392979/piglatin-program-calling-methods/</link>
      <description>Could someone please help me to understand this small program below?&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PigLatin
{
    class Pig
    {
        static void Main(string[] args)
        {
            string pigWord = "";
            string sentence = "";
            string firstLetter;
            string restOfWord;
            string vowels = "AEIOUaeiou";
            int letterPos;

            while(sentence.ToLower() != "quit")
            {
                Console.WriteLine("Please enter a sentence or type \"quit\" to exit");
                sentence = Console.ReadLine();

                foreach (string word in sentence.Split())
                {
                    firstLetter = word.Substring(0, 1);
                    restOfWord = word.Substring(1, word.Length - 1);

                    letterPos = vowels.IndexOf(firstLetter);

                    if (letterPos == -1)
                    {
                        // it's a consonant
                        pigWord = restOfWord + firstLetter + "ay";
                    }
                    else
                    {
                        // it's a vowel
                        pigWord = word + "way";
                    } // end if

                    Console.Write("{0} ", pigWord);
                } // end foreach
            } // end while
        } // end Main
    } // end class
} // namespace&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
This is the part I'M having the most trouble with.&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
foreach (string word in sentence.Split())
                {
                    firstLetter = word.Substring(0, 1);
                    restOfWord = word.Substring(1, word.Length - 1);

                    letterPos = vowels.IndexOf(firstLetter);

                    if (letterPos == -1)&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392979/392979/piglatin-program-calling-methods/</guid>
      <pubDate>Sun, 28 Jun 2009 20:58:49 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Help PLease: Cannot bind file path to a linklabel with an XML DB file</title>
      <link>http://www.programmersheaven.com/mb/csharp/392866/392866/help-please-cannot-bind-file-path-to-a-linklabel-with-an-xml-db-file/</link>
      <description>Hello&lt;br /&gt;
&lt;br /&gt;
I am developing kind of simple straight forward application that uses XML files as database.&lt;br /&gt;
There is a windows form with different controls bound to certain fields in the dataset that at the end(closing the application) updates an XML file data.&lt;br /&gt;
One control is a linklabel. the text value of this control is bound to a string field in one of the DB tables. This value will save a certain file's pathlike "c:\desktop\pic.jpg". this path is first navigated to through an openFileDialog control; after selecting the file I set the linklabel  text value to the openFileDialog filename value:&lt;br /&gt;
linklabel1.Text = openFileDialog1.File;&lt;br /&gt;
&lt;br /&gt;
Strangely this doesn't write to the XML file. if save a hardcoded value to the linklablel then it works and saves to the XML file:&lt;br /&gt;
linklabel1.Text = @"c:\desktop\pic.jpg";&lt;br /&gt;
&lt;br /&gt;
but when I do it via the openFileDialog it doesn't work!! Is it because I need to extra handle the forward slash in the openFileDialog1.File with something equivelant to the "@"? but how I tried to put "@" as a prefix :&lt;br /&gt;
linklabel1.Text = @openFileDialog1.File; &lt;br /&gt;
Still it didn't work.&lt;br /&gt;
&lt;br /&gt;
Could anyone please help me in this??? I have been stuck with it for three weeks now. I believe it is silly but I am out of things to try out.&lt;br /&gt;
&lt;br /&gt;
Please Please help. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks alot in advance&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392866/392866/help-please-cannot-bind-file-path-to-a-linklabel-with-an-xml-db-file/</guid>
      <pubDate>Thu, 25 Jun 2009 18:47:03 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>keydown event on minimized form !</title>
      <link>http://www.programmersheaven.com/mb/csharp/392856/392856/keydown-event-on-minimized-form-/</link>
      <description>Hi, &lt;br /&gt;
&lt;br /&gt;
What I want briefly is: for example I want to enter "erun" from keyboard and I want internet explorer to run or I want to enter "thk" from keyboard and I want it to be converted "thank you ver much, it's very usefull ... " string. for a programmer it will be very useful to get a long string with a few letters.These were simple examples.&lt;br /&gt;
I can use user32.dll but I've tried and couldn't find the way to get letters on this way. It's just running as shortcuts and this way if I assign all letters as shortcut to get them and combine as I wanted they are not be able to entered on the screen then.&lt;br /&gt;
Is there any other way or is there any way to do that?&lt;br /&gt;
&lt;br /&gt;
thanks in advance .</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392856/392856/keydown-event-on-minimized-form-/</guid>
      <pubDate>Thu, 25 Jun 2009 11:56:46 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>webBrowser Control resource problem</title>
      <link>http://www.programmersheaven.com/mb/csharp/392672/392672/webbrowser-control-resource-problem/</link>
      <description>Hello Guys!&lt;br /&gt;
&lt;br /&gt;
I am just puzzled regarding this problem in using the webBrowser control since I don't see any reason why this could occur. Anyway, here it goes.&lt;br /&gt;
&lt;br /&gt;
There are times that I receive this exception error: &lt;br /&gt;
&lt;span style="color: Red;"&gt;&lt;br /&gt;
System.Runtime.InteropServices.COMException (0x800700AA): The requested resource is in use. (Exception from HRESULT: 0x800700AA)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
in the line: &lt;span style="color: Red;"&gt;webBrowser1.Navigate(URL).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The webBrowser navigates different sites in a loop, where possible resource usage problem could occur. However, am I not allowed to navigate on another site even if the webBrowser is currently navigating? I am assuming that the webBrowser will just stop the current navigation and proceed with the new one.&lt;br /&gt;
&lt;br /&gt;
Btw, the code &lt;br /&gt;
&lt;br /&gt;
webBrowser1.Stop();&lt;br /&gt;
webBrowser1.Navigate(URL)&lt;br /&gt;
&lt;br /&gt;
still produces the same exception.&lt;br /&gt;
&lt;br /&gt;
Any help on this matter will be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thank in advance!&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392672/392672/webbrowser-control-resource-problem/</guid>
      <pubDate>Mon, 22 Jun 2009 08:55:09 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Typing tutor</title>
      <link>http://www.programmersheaven.com/mb/csharp/392665/392665/typing-tutor/</link>
      <description>Hey do any of yu guys know where can i get C# source code for a typing tutor game please help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please help&lt;br /&gt;
&lt;br /&gt;
Thanx in advance&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392665/392665/typing-tutor/</guid>
      <pubDate>Mon, 22 Jun 2009 06:30:40 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>How to draw Efficiently on Picture Box in C#</title>
      <link>http://www.programmersheaven.com/mb/csharp/392652/392652/how-to-draw-efficiently-on-picture-box-in-c/</link>
      <description>I am developing a Remoting application in C#, through which I can view the remote system over the LAN, I am facing problem in case of videos.. I am not receiving the Real Time video on the remote system. its a little bit slow. with profiler I have checked that the time is being taken on two following fuction calls&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
private void PlaceUpdateOnBmp(Bitmap newBitmap, int x1, int y1, int x2, int y2)
        {
            try
            {
                bool resChangeFlag = false;
                Rectangle rect = new Rectangle(x1, y1, x2, y2);

                if (Screen.AllScreens[0].Bounds.Width != clientScreenX / noOfScreens || Screen.AllScreens[0].Bounds.Height != clientScreenY)
                bmp = new Bitmap(1024, 768);
                g = Graphics.FromImage(bmp);

                
                g.DrawImage(newBitmap, rectf); //This fuction takes very much time
               g.Flush();
              }
            catch (Exception e)
            {
            }

        }
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
and the data I received from the sever is in JPEG form in a Memorty stream and when I make the Bitmap object from that MemoryStream its takes the maximum time&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
//This function takes the maximum time
newBitmap = new Bitmap((MemoryStream)receivedImage);
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
One thing I have noticed that If I don't assign the final bitmap to the PictureBox then these functions don't take time, however when I assign them to a PictureBox Colntrol (Mean show them to real screen).. They begin to take time.. It seems that Invalidate call is making some locks behind the scence... Is there any way to avoid these locks or whatever this delay is..???&lt;br /&gt;
&lt;br /&gt;
Please help me out of it..&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Ummar</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392652/392652/how-to-draw-efficiently-on-picture-box-in-c/</guid>
      <pubDate>Mon, 22 Jun 2009 05:03:47 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>How to draw Efficiently on Picture Box in C#</title>
      <link>http://www.programmersheaven.com/mb/csharp/392650/392650/how-to-draw-efficiently-on-picture-box-in-c/</link>
      <description>I am developing a Remoting application in C#, through which I can view the remote system over the LAN, I am facing problem in case of videos.. I am not receiving the Real Time video on the remote system. its a little bit slow. with profiler I have checked that the time is being taken on two following fuction calls&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
private void PlaceUpdateOnBmp(Bitmap newBitmap, int x1, int y1, int x2, int y2)
        {
            try
            {
                bool resChangeFlag = false;
                Rectangle rect = new Rectangle(x1, y1, x2, y2);

                if (Screen.AllScreens[0].Bounds.Width != clientScreenX / noOfScreens || Screen.AllScreens[0].Bounds.Height != clientScreenY)
                bmp = new Bitmap(1024, 768);
                g = Graphics.FromImage(bmp);

                
                g.DrawImage(newBitmap, rectf); //This fuction takes very much time
               g.Flush();
              }
            catch (Exception e)
            {
            }

        }
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
and the data I received from the sever is in JPEG form in a Memorty stream and when I make the Bitmap object from that MemoryStream its takes the maximum time&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
//This function takes the maximum time
newBitmap = new Bitmap((MemoryStream)receivedImage);
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
One thing I have noticed that If I don't assign the final bitmap to the PictureBox then these functions don't take time, however when I assign them to a PictureBox Colntrol (Mean show them to real screen).. They begin to take time.. It seems that Invalidate call is making some locks behind the scence... Is there any way to avoid these locks or whatever this delay is..???&lt;br /&gt;
&lt;br /&gt;
Please help me out of it..&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
Ummar</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392650/392650/how-to-draw-efficiently-on-picture-box-in-c/</guid>
      <pubDate>Mon, 22 Jun 2009 05:02:42 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Free C# eBooks download for you</title>
      <link>http://www.programmersheaven.com/mb/csharp/392623/392623/free-c-ebooks-download-for-you/</link>
      <description>Here you can free download Free C# eBooks&lt;br /&gt;
&lt;a href="http://ebookhouse.org/category/programming/c/"&gt;http://ebookhouse.org/category/programming/c/&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392623/392623/free-c-ebooks-download-for-you/</guid>
      <pubDate>Sun, 21 Jun 2009 19:16:21 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>What's up this this string method - Lengh?</title>
      <link>http://www.programmersheaven.com/mb/csharp/392615/392615/whats-up-this-this-string-method---lengh/</link>
      <description>&lt;pre class="sourcecode"&gt;string theString = "C# Programming for Beginners";
Console.WriteLine("default: \t {0}", theString);            Console.WriteLine("lowercase: \t {0}", theString.ToLower());            

Console.WriteLine("uppercase: \t {0}", theString.ToUpper());            

Console.WriteLine("replace: \t {0}", theString.Replace("#", "sharp"));         

Console.WriteLine("length: \t {0}", theString.Length);          

Console.WriteLine("\"for\" occurs at character {0}", theString.IndexOf("for"));&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
In the code above, why does the Length method not get two parentheses like ToLower and ToUpper?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392615/392615/whats-up-this-this-string-method---lengh/</guid>
      <pubDate>Sun, 21 Jun 2009 08:42:22 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Typing tutor</title>
      <link>http://www.programmersheaven.com/mb/csharp/392526/392526/typing-tutor/</link>
      <description>Hy do any of you guys know where can i get C# source code for a typing tutor. Please help.&lt;br /&gt;
&lt;br /&gt;
Thanx&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392526/392526/typing-tutor/</guid>
      <pubDate>Fri, 19 Jun 2009 01:55:54 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Diagnose Error Message</title>
      <link>http://www.programmersheaven.com/mb/csharp/392517/392517/diagnose-error-message/</link>
      <description>I have tried to create a Windows Form application (called HelloWin)using both the SharpDevelop and Visual C# IDEs. The program compiles but when i try to run it i get the following error message:-&lt;br /&gt;
HelloWin.exe' has more than one entry point defined: 'HelloWin.MainForm.Main()'.  Compile with /main to specify the type that contains the entry point. (CS0017) &lt;br /&gt;
&lt;br /&gt;
Can someone please explain this error message for me and what it is i may be doing wrong? Below is the code for the application.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;

namespace HelloWin
{
public partial class MainForm : Form
	{
		private TextBox txtEnter;
		private Label lblDisplay;
		private Button btnOk;
		
		public MainForm()
		{
			//
			// The InitializeComponent() call is required for Windows Forms designer support.
			//
			InitializeComponent();
			
			this.txtEnter = new TextBox();
			this.lblDisplay = new Label();
			this.btnOk = new Button();
			this.Text = "My HelloWin App!";
			
			// txtEnter
			this.txtEnter.Location = new System.Drawing.Point(16, 32);
			this.txtEnter.Size = new System.Drawing.Size(264, 20);
			
			// lblDisplay
			this.lblDisplay.Location = new System.Drawing.Point(16, 72);
			this.lblDisplay.Size = new Drawing.Size(264, 128);
			
			// btnOk
			this.btnOk.Location = new System.Drawing.Point(88, 224);
			this.btnOk.Text = "OK";
			this.btnOk.Click += new EventHandler( this.btnOk_Click);
			
			//MainForm
			this.Controls.AddRange(new Control[])
			{
				this.txtEnter,this.lblDisplay,this.btnOk;
			}
		}
		static void Main()
		{
			Application.Run(new MainForm());
		}
		private void btnok_Click(object sender, System.EventArgs e)
		{
			lblDisplay.Text = txtEnter.Text + "\n" + lblDisplay.Text;
		}
	}
	
}
[\code]
&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392517/392517/diagnose-error-message/</guid>
      <pubDate>Thu, 18 Jun 2009 22:09:16 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>App. not calling DLL function?</title>
      <link>http://www.programmersheaven.com/mb/csharp/392509/392509/app-not-calling-dll-function/</link>
      <description>Hi there,&lt;br /&gt;
&lt;br /&gt;
For some reason my c# app is not calling my c++ function in my dll. A little bit about what my app is suppose to do. My app has a global hook to detect WM_PASTE. When WM_PASTE is detect in the DLL it sets a flag back to the main app. If the flag is true, then paste is detected and the top data in the clipboard is extracted into a file. I have a messagebox at the beginning of my DLL. This is to show that it got into my DLL, but it doesn't reach there. I'm using VS 2008. I build my DLL and there were no errors. So I ran it and that's what happen. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
[DllImport("paste.dll", EntryPoint="registerHook")]
            public static extern bool registerHook();
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The function below is in my c# app:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
public void copyPaste()
        {
            //MessageBox.Show("Before calling register hook in paste dll.");  // Debugging
            bool pasteDetected = registerHook();
            //MessageBox.Show("After calling register hook in paste dll.");   // Debugging
            IDataObject idata = Clipboard.GetDataObject();
            String clipString = "";

            if (pasteDetected &amp;amp;&amp;amp; (idata != null))  /// Pasting 
            {
                /// If the item is a text format then store in buffer and continue on.
                if (idata.GetDataPresent(DataFormats.Text))  /// Text format.
                {
                    clipString = (String)idata.GetData(DataFormats.Text);
                    keyBuffer += clipString;
                }
            }
        }
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
The function below is my function in my DLL:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
LRESULT CALLBACK MsgHookProc(int nCode, WPARAM wParam, LPARAM lParam);
HINSTANCE GetHInstance();

extern "C" 
{	
	_declspec(dllexport) bool registerHook()
	{
		MessageBox(NULL, "Inside registerHook() function.", "RegisterHook", NULL);
		hHook = SetWindowsHookEx(WH_CALLWNDPROC, MsgHookProc, hHookDLL, 0);
		return paste;
	}
}

LRESULT CALLBACK MsgHookProc(int nCode, WPARAM wParam, LPARAM lParam)
{
	if(nCode &amp;gt;= 0)
	{
		PCWPSTRUCT pstInfo = (PCWPSTRUCT)lParam;

		switch(pstInfo-&amp;gt;message)
		{
		case WM_CUT:
			// OutputDebugString("Cut!");
		case WM_PASTE:
		case WM_RENDERFORMAT:
		case WM_RENDERALLFORMATS:
			MessageBox(NULL, "Paste Detected\n", Caption, NULL);
			paste = true;
			break;
		case WM_COPY:
			// OutputDebugString("Copy!");
			break;
		}
	}
	return CallNextHookEx(hHook,nCode,wParam,lParam);
}
&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392509/392509/app-not-calling-dll-function/</guid>
      <pubDate>Thu, 18 Jun 2009 16:16:54 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Getting Process ID based on Session ID</title>
      <link>http://www.programmersheaven.com/mb/csharp/392492/392492/getting-process-id-based-on-session-id/</link>
      <description>How to get the Process ID based on Session ID?? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Process xxx = new Process(); &lt;br /&gt;
xxx.StartInfo.FileName = "XXXXXXX.EXE"; &lt;br /&gt;
xxx.Start(); &lt;br /&gt;
int PID = Process.GetProcessesByName(xxx.ProcessName)[0].Id; &lt;br /&gt;
&lt;br /&gt;
This PID as shown above I get from another session is not exactly. Thus, the process from another session is killed . But, I want to kill my process in my session. How to get it ?? Thanks!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392492/392492/getting-process-id-based-on-session-id/</guid>
      <pubDate>Thu, 18 Jun 2009 10:41:48 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Help!!</title>
      <link>http://www.programmersheaven.com/mb/csharp/392450/392450/help/</link>
      <description>I have written a simple application that generates random numbers between 60 and 100 and displays these numbers as 10 separate scores along with a message in the command line window. After testing that this program works, i added an 'if' statement which displays a congratulations message if the score is between 80 and 100.&lt;br /&gt;
Ho do i display this message immediately after this condition is met rather than at the end of all the 10 display messages?&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace goto_demo
{
    class score
    {
        static void Main(string[] args)
        {
            int score = 0;
            int ctr = 0;

            System.Random rnd = new System.Random();

        Start:

            ctr++;

            if (ctr &amp;gt; 10)
                goto EndThis;
            else
                score = (int)rnd.Next(60, 101);

            System.Console.WriteLine("\t{0} - You received a score of {1}", ctr, score);
            System.Console.WriteLine();
            goto Start;

        EndThis:
            if (score &amp;gt;= 80 || score &amp;lt;= 100)
                System.Console.WriteLine("\tCongrats!You've gotten an A"); 
            System.Console.WriteLine("\tDone with scores!");
            System.Console.ReadLine();
        }
    }
}
[\code]
&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392450/392450/help/</guid>
      <pubDate>Wed, 17 Jun 2009 12:17:52 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>i want to draw a circle on a image*( image of any format) IN C#</title>
      <link>http://www.programmersheaven.com/mb/csharp/392419/392419/i-want-to-draw-a-circle-on-a-image-image-of-any-format-in-c/</link>
      <description>i am doing a application for image processing where i am comparing 2 images,,and i want to highlight the pixcles where the diffrence occours with a red colored circle..i am able to compare the images but not able to highlight it with the circle..i want the pixel which is diffrent to ve the center of the circle.. &lt;br /&gt;
&lt;br /&gt;
if (img1.Width == img2.Width &amp;amp;&amp;amp; img1.Height == img2.Height) &lt;br /&gt;
{ &lt;br /&gt;
//drawing &lt;br /&gt;
g = pictureBox1.CreateGraphics(); &lt;br /&gt;
//////g = Graphics.FromImage(pictureBox1.Image); &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for (int i = 0; i &amp;lt; img1.Width; i++) &lt;br /&gt;
{ &lt;br /&gt;
for (int j = 0; j &amp;lt; img1.Height; j++) &lt;br /&gt;
{ &lt;br /&gt;
img1_ref = img1.GetPixel(i, j).ToString(); &lt;br /&gt;
img2_ref = img2.GetPixel(i, j).ToString(); &lt;br /&gt;
if (img1_ref != img2_ref) &lt;br /&gt;
{ &lt;br /&gt;
count2++; &lt;br /&gt;
flag = false; &lt;br /&gt;
&lt;br /&gt;
//drawing &lt;br /&gt;
&lt;br /&gt;
x = i; &lt;br /&gt;
y = j; &lt;br /&gt;
pen = new Pen(Color.Red); &lt;br /&gt;
g.DrawEllipse(pen, x, y,100,100); &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//drawing &lt;br /&gt;
MessageBox.Show("error"); &lt;br /&gt;
&lt;br /&gt;
break; &lt;br /&gt;
} &lt;br /&gt;
count1++; &lt;br /&gt;
} &lt;br /&gt;
progressBar1.Value++; &lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
if (flag == false) &lt;br /&gt;
MessageBox.Show("Sorry, Images are not same , " + count2 + " wrong pixels found"); &lt;br /&gt;
else &lt;br /&gt;
MessageBox.Show(" Images are same , " + count1 + " same pixels found and " + count2 + " wrong pixels found"); &lt;br /&gt;
} &lt;br /&gt;
else &lt;br /&gt;
MessageBox.Show("can not compare this images"); &lt;br /&gt;
this.Dispose(); &lt;br /&gt;
}&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392419/392419/i-want-to-draw-a-circle-on-a-image-image-of-any-format-in-c/</guid>
      <pubDate>Tue, 16 Jun 2009 22:29:29 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Displaying strings and integers in a window</title>
      <link>http://www.programmersheaven.com/mb/csharp/392409/392409/displaying-strings-and-integers-in-a-window/</link>
      <description>Sorry - this is REALLY basic.  I'm teaching myself C# with books, videos, and VS2008.  I cannot find an example nor resolve the correct syntax.  I am not even sure of the correct C# terminology.  &lt;br /&gt;
&lt;br /&gt;
I want to display "Record x of y records" in the bottom of a window (form).  I want it to be non-intrusive - no MessageBox.  I have tried labels and textboxes...  I have tried MULTIPLE variations and continue to get "Invalid token" errors.&lt;br /&gt;
&lt;br /&gt;
Busted code:   &lt;br /&gt;
msg += + currRec.ToString() + " of " + totalRec.ToString() + " Records";&lt;br /&gt;
Label1.Text = msg.ToString();&lt;br /&gt;
&lt;br /&gt;
Logically:  write("Record" + currRec + " of " + totalRec + " Records");&lt;br /&gt;
&lt;br /&gt;
Do appreciate your time and effort!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392409/392409/displaying-strings-and-integers-in-a-window/</guid>
      <pubDate>Tue, 16 Jun 2009 12:10:16 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Writing an application help</title>
      <link>http://www.programmersheaven.com/mb/csharp/392370/392370/writing-an-application-help/</link>
      <description>C#&lt;br /&gt;
I need to write an application that deals two five-card poker hands, evaluates each hand and determines which is better. Does anyone have the code for this? or can simply do it? Thanks!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392370/392370/writing-an-application-help/</guid>
      <pubDate>Mon, 15 Jun 2009 16:35:55 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Application that modifies packets read from an Ethernet card.</title>
      <link>http://www.programmersheaven.com/mb/csharp/392363/392363/application-that-modifies-packets-read-from-an-ethernet-card/</link>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
I need a small tip on the following;&lt;br /&gt;
&lt;br /&gt;
I have an assignment were I need to create a sort of a server on which I will have an application running (which application has to be created by myself). This application should be able to read the packets received on the server ethernet card, manipulate the packets (the actual bits) and output the modified packets on another ethernet card (or if possible the same card used as input).&lt;br /&gt;
&lt;br /&gt;
I need some feedback if it is possible to create such an application, which will be able to perform such job, and if possible, how difficult it is to make (is there any ready to use dll files or classes that can perform parts of this job like for example reading and writing to/from the ethernet card?)&lt;br /&gt;
&lt;br /&gt;
Hel from your side will be greatly appreciated.&lt;br /&gt;
regards&lt;br /&gt;
sandro</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392363/392363/application-that-modifies-packets-read-from-an-ethernet-card/</guid>
      <pubDate>Mon, 15 Jun 2009 12:17:16 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>Explanation of Errors</title>
      <link>http://www.programmersheaven.com/mb/csharp/392141/392141/explanation-of-errors/</link>
      <description>Hello,&lt;br /&gt;
Can someone please explain the following compilation errors for me?&lt;br /&gt;
&lt;br /&gt;
Error	1	\HelloWin.exe' has more than one entry point defined: 'HelloWin.Program.Main()'.  Compile with /main to specify the type that contains the entry point.	&lt;br /&gt;
&lt;br /&gt;
Error	2	'HelloWin.Form1.Dispose(bool)': no suitable method found to override	&lt;br /&gt;
&lt;br /&gt;
The errors arose after i tried to compile a WindowsForms application in Visual C# Studio 2008. I typed in the code myself which i copied from a textbook.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392141/392141/explanation-of-errors/</guid>
      <pubDate>Wed, 10 Jun 2009 09:50:33 -0700</pubDate>
      <category>C#</category>
    </item>
    <item>
      <title>checkedlist box checkeditems for future use</title>
      <link>http://www.programmersheaven.com/mb/csharp/392134/392134/checkedlist-box-checkeditems-for-future-use/</link>
      <description>Hi friends,&lt;br /&gt;
&lt;br /&gt;
I have a checkedlistbox control on my windows form. Now when Application runs, every item is unchecked and user checks the items as per his choice. I want that - next time when user runs the application - checkedlistbox should be loaded with the same items checked. Meaning no need to recheck those values.&lt;br /&gt;
&lt;br /&gt;
How do i do that?&lt;br /&gt;
&lt;br /&gt;
many thanks,&lt;br /&gt;
Jeet&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/392134/392134/checkedlist-box-checkeditems-for-future-use/</guid>
      <pubDate>Wed, 10 Jun 2009 06:53:36 -0700</pubDate>
      <category>C#</category>
    </item>
  </channel>
</rss>