<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>BobLewiston's Feed - Programmer's Heaven</title>
    <link>http://www.programmersheaven.com/feed/User/329131/RSS.aspx</link>
    <description>Events at Programmer's Heaven related to the user BobLewiston.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 22:32:15 -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>best anti-malware software?</title>
      <link>http://www.programmersheaven.com/mb/offtopic/413523/413523/ReadMessage.aspx#413523</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/offtopic/413523/413523/ReadMessage.aspx#413523"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/offtopic/Board.aspx"&gt;Off topic board&lt;/a&gt; forum.&lt;/p&gt;What's the best software to prevent malware infections? The best to detect infections? The best to eradicate them? The best single all-in-one product?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/offtopic/413523/413523/ReadMessage.aspx#413523</guid>
      <pubDate>Mon, 15 Feb 2010 20:05:27 -0700</pubDate>
    </item>
    <item>
      <title>rootkit.gen - swerftx.sys infection</title>
      <link>http://www.programmersheaven.com/mb/offtopic/413450/413450/ReadMessage.aspx#413450</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/offtopic/413450/413450/ReadMessage.aspx#413450"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/offtopic/Board.aspx"&gt;Off topic board&lt;/a&gt; forum.&lt;/p&gt;I'm infected with rootkit.gen (specifically: swerftx.sys, unique code IQ1LCWD7) at LBA sector 0 of my MBR. It's a "highly severe" Trojan which can enable a remote computer to take over my computer, among other things. I don't want to pay Webroot $100 to remove it for me. How do I remove it myself, or where can I learn how to do so? Or is there too much to learn just to save myself $100, or does it require special software that isn't available to the average person? Should I use ComboFix? (I've got it, but I've heard it can be dangerous.) Help!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/offtopic/413450/413450/ReadMessage.aspx#413450</guid>
      <pubDate>Sat, 13 Feb 2010 13:14:56 -0700</pubDate>
    </item>
    <item>
      <title>recommend good online courses for SQL, data controls?</title>
      <link>http://www.programmersheaven.com/mb/csharp/395028/395028/ReadMessage.aspx#395028</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/395028/395028/ReadMessage.aspx#395028"&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;Can anybody recommend good online courses for SQL and/or data controls? (I guess I should master the regular data controls before going on to Silverlight, right?)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/395028/395028/ReadMessage.aspx#395028</guid>
      <pubDate>Wed, 12 Aug 2009 15:05:15 -0700</pubDate>
    </item>
    <item>
      <title>suggestions for first moderately ambitious application?</title>
      <link>http://www.programmersheaven.com/mb/csharp/395026/395026/ReadMessage.aspx#395026</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/395026/395026/ReadMessage.aspx#395026"&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, everybody. I've been studying C# (using Visual C# 2008 Express) for several months and I think I've got the basics down pretty well at this point, so now I want to create a moderately ambitious application to consolidate and grow my skills. Any suggestions for what kind of app would utilize the full set of skills that would be expected from a preprofessional level student?</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/395026/395026/ReadMessage.aspx#395026</guid>
      <pubDate>Wed, 12 Aug 2009 14:50:36 -0700</pubDate>
    </item>
    <item>
      <title>creating threads in C#</title>
      <link>http://www.programmersheaven.com/mb/csharp/393852/393852/ReadMessage.aspx#393852</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/393852/393852/ReadMessage.aspx#393852"&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;Can someone please break down a simple statement for a relative newbie?&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;Thread firstThread = new Thread (new ThreadStart (Method1));&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
In other words, what is happening at each stage here:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;new ThreadStart (Method1)&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;new Thread (new ThreadStart (Method1))&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;Thread firstThread = new Thread (new ThreadStart (Method1));&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks for any help you can give.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/393852/393852/ReadMessage.aspx#393852</guid>
      <pubDate>Fri, 17 Jul 2009 11:28:41 -0700</pubDate>
    </item>
    <item>
      <title>help with BindingSources</title>
      <link>http://www.programmersheaven.com/mb/csharp/388611/388611/ReadMessage.aspx#388611</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/388611/388611/ReadMessage.aspx#388611"&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;I need some help with BindingSources (in C#).&lt;br /&gt;
&lt;br /&gt;
This is what I'm working on:&lt;br /&gt;
&lt;br /&gt;
From the C# tutorial at Programmer's Heaven (http://www.programmersheaven.com/2/Les_CSharp_13_p9):&lt;br /&gt;
&lt;br /&gt;
private void btnLoadData_Click(object sender, System.EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
    string connectionString = "server=P-III; database=programmersheaven; uid=sa; pwd=;";&lt;br /&gt;
    SqlConnection conn = new SqlConnection (connectionString);&lt;br /&gt;
    string cmdString = "SELECT * FROM article";&lt;br /&gt;
    SqlDataAdapter dataAdapter = new SqlDataAdapter (cmdString, conn);&lt;br /&gt;
    DataSet ds = new DataSet ();&lt;br /&gt;
    dataAdapter.Fill (ds, "article");&lt;br /&gt;
    dgDetails.SetDataBinding (ds, "article");&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
When I try to compile this, I get the following error: "The name 'dgDetails' does not exist in the current context".&lt;br /&gt;
&lt;br /&gt;
I have just been told that dgDetails is a BindingSource. I'm a newbie, so I'm not familiar with BindingSources.&lt;br /&gt;
&lt;br /&gt;
Could you tell me what I need to include in my code to get the compiler to recognize the dgDetails BindingSource and compile my app?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/388611/388611/ReadMessage.aspx#388611</guid>
      <pubDate>Sun, 05 Apr 2009 10:46:30 -0700</pubDate>
    </item>
    <item>
      <title>dataAdapter.Update / SQL PasswordHash NULL problem</title>
      <link>http://www.programmersheaven.com/mb/sql-server/388252/388252/ReadMessage.aspx#388252</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/388252/388252/ReadMessage.aspx#388252"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I’m learning SQL. I’m accessing database SQL2008 AdventureWorks, table Person.Contact, which has a column PasswordHash, of type varchar (128). Here’s the code I’m using to save records:&lt;pre class="sourcecode"&gt;// here dataTable and dataSet have been declared at the class-wide level as
// private DataTable dataTable;
// private DataSet dataSet;

DataRow row = dataTable.Rows [currRec];

row.BeginEdit ();
row ["Title"]        = txtTitle.Text;
row ["FirstName"]    = txtFirstName.Text;
row ["MiddleName"]   = txtMiddleName.Text;
row ["LastName"]     = txtLastName.Text;
row ["Suffix"]       = txtSuffix.Text;
row ["Phone"]        = txtPhone.Text;
row ["EmailAddress"] = txtEmailAddress.Text;
row.EndEdit ();

try { dataAdapter.Update (dataSet, "Person.Contact"); }
catch (System.Runtime.InteropServices.ExternalException exc)
{
    MessageBox.Show (exc.Message + "\n\n" + currRec + "\n\"" + 
        dataSet.Tables ["Person.Contact"].Rows [currRec] ["PasswordHash"].ToString () + "\"", 
        "System.Runtime.InteropServices.ExternalException");
}
catch (Exception exc) { MessageBox.Show (exc.Message, "Exception"); }
            
try { dataSet.AcceptChanges (); }
catch (Exception exc) { MessageBox.Show (exc.Message, "dataSet.AcceptChanges ();"); }
&lt;/pre&gt;When I edit and save an existing record (which already has a PasswordHash) to the locally resident DataSet and then to the database, it works fine (which of course means that the AdventureWorks sample database is not read-only). But when I try to save a new (inserted) record, even if I include a statement&lt;pre class="sourcecode"&gt;row ["PasswordHash"] = "GylyRwiKnyNPKbC1r4FSqA5YN9shIgsNik5ADyqStZc=";&lt;/pre&gt;in the above Edit, I get the following System.Runtime.InteropServices.ExternalException message:&lt;br /&gt;
&lt;br /&gt;
Cannot insert the value NULL into column 'PasswordHash', table 'AdventureWorks.Person.Contact'; column does not allow nulls.&lt;br /&gt;
INSERT fails.&lt;br /&gt;
The statement has been terminated.&lt;br /&gt;
&lt;br /&gt;
I get this message despite the fact that the PasswordHash is displayed in the MessageBox as being in the Dataset, and the statement&lt;pre class="sourcecode"&gt;dataSet.AcceptChanges ();&lt;/pre&gt;throws no exception!&lt;br /&gt;
&lt;br /&gt;
Using  SQL Server 2008 Management Studio Express, I can find no property of column PasswordHash that would account for this.&lt;br /&gt;
&lt;br /&gt;
Can anybody tell me: how can I write to the PasswordHash column? (This is the most important question in this post, and what distinquishes it from my previous thread.)&lt;br /&gt;
 &lt;br /&gt;
Next question (for when I have the above issue resolved): although "GylyRwiKnyNPKbC1r4FSqA5YN9shIgsNik5ADyqStZc=" is a real password hash that I lifted from an already existing record (see above), I’m pretty sure I can’t just plunk it into a new record, because I notice that every record has a different password hash, which means every record has a different password. This seems very strange to me. What purpose could this serve? And more importantly: how can I generate valid password hashes for new records that  have not (yet) had passwords associated with them?&lt;br /&gt;
&lt;br /&gt;
Or perhaps I can make SQL Server Management Studio allow NULL in the PasswordHash column. I discovered this would be possible in SQL Server Management Studio via:&lt;br /&gt;
&lt;br /&gt;
expand table | expand Columns | right-click PasswordHash column | click Modify | in lower right frame: toggle Allow Nulls from No to Yes&lt;br /&gt;
&lt;br /&gt;
On doing so and then attempting to exit SQL Server Management Studio, I got a dialog box saying:&lt;br /&gt;
&lt;br /&gt;
Save changes to the following items?&lt;br /&gt;
SQL Server Objects&lt;br /&gt;
&amp;lt;Server name&amp;gt;.AdventureWorks - Person.Contact&lt;br /&gt;
&lt;br /&gt;
Clicking Yes elicited the following message:&lt;br /&gt;
&lt;br /&gt;
Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created.&lt;br /&gt;
&lt;br /&gt;
Contact (Person)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
SQL Server Management Studio's onboard Help says I can override the "Prevent saving changes that require the table to be re-created" setting via:&lt;br /&gt;
&lt;br /&gt;
Tools | Options | Designers | Table and Database Designers | Prevent saving changes that require table re-creation&lt;br /&gt;
&lt;br /&gt;
I can try this, but I wonder if it might be dangerous, under two possible scenarios:&lt;br /&gt;
&lt;br /&gt;
Firstly, if for whatever reason the table can't be re-created, could I possibly destroy the original table in the process and then have to reinstall the AdventureWorks database? I don't want to have to do that, since for some unknown reason I had a very difficult time installing it the first time.&lt;br /&gt;
&lt;br /&gt;
And secondly, I have received the following warning about allowing null password hashes:&lt;br /&gt;
&lt;br /&gt;
These tables are usually related to one another. There are referential and domain integrity checks within the tables across the database. Although you might be able to change some of these, some of the relationships and checks might be broken because of your update.&lt;br /&gt;
&lt;br /&gt;
In other words, the writer speculates that allowing null password hashes might compromise the relationships between tables. For that matter, I suppose the same might be said about using “fake” password hashes, as described above.&lt;br /&gt;
&lt;br /&gt;
On the other hand, wouldn't a password hash be relevant only to applications that use passwords? All I want MY application to do is to edit, insert and delete records. It won't require any passwords. Is it really likely that relationships between tables could be compromised if null or “fake” password hashes are used?&lt;br /&gt;
&lt;br /&gt;
For what it's worth, I'm working in a 32-bit environment with the following software:&lt;br /&gt;
&lt;br /&gt;
SQL Server 2008 Express with Advanced Services&lt;br /&gt;
database: SQL2008 AdventureWorks (schema.table: Person.Contact)&lt;br /&gt;
SQL Server 2008 Management Studio Express&lt;br /&gt;
Visual C# 2008 Express&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/388252/388252/ReadMessage.aspx#388252</guid>
      <pubDate>Sun, 29 Mar 2009 21:01:56 -0700</pubDate>
    </item>
    <item>
      <title>how to copy entire Visual C# solution?</title>
      <link>http://www.programmersheaven.com/mb/csharp/387356/387356/ReadMessage.aspx#387356</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/387356/387356/ReadMessage.aspx#387356"&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;Is there any way to copy an entire Visual C# solution in such a way that it works? If you just copy it and rename it, it gives an error message that it's been renamed and therefore it refuses to work.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/387356/387356/ReadMessage.aspx#387356</guid>
      <pubDate>Sat, 14 Mar 2009 21:44:53 -0700</pubDate>
    </item>
    <item>
      <title>How to uninstall AdventureWorks sample databases?</title>
      <link>http://www.programmersheaven.com/mb/sql-server/387353/387353/ReadMessage.aspx#387353</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/387353/387353/ReadMessage.aspx#387353"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;How can I uninstall the AdventureWorks sample databases? They're not an application, so I can't do it via Add / Remove Programs or a downloaded uninstaller.&lt;br /&gt;
&lt;br /&gt;
They're apparently corrupt, and they've been trouble from the git-go. The machine crashed when installing them. When I try to access them via SQL Server Management Studio, the machine crashes. When I try to reinstall them without uninstalling them, the machine crashes.&lt;br /&gt;
&lt;br /&gt;
The setup prgram is SQL2008.AdventureWorks_All_Databases.x86.msi (yes, my machine is 32-bit) which I downloaded from http://msftdbprodsamples.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=18407, which a couple other folks have told me worked fine for them. And my installer is up to date, and the only system requirement (a correct version of Windows) has been met.&lt;br /&gt;
&lt;br /&gt;
I don't want to guess which files I should delete manually - that could be inviting trouble.&lt;br /&gt;
&lt;br /&gt;
In summary: help!&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/387353/387353/ReadMessage.aspx#387353</guid>
      <pubDate>Sat, 14 Mar 2009 19:37:43 -0700</pubDate>
    </item>
    <item>
      <title>How to import ".mdb" files into SQL Server 2008?</title>
      <link>http://www.programmersheaven.com/mb/sql-server/387265/387265/ReadMessage.aspx#387265</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/387265/387265/ReadMessage.aspx#387265"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;Assuming it can be done (as I've been told):&lt;br /&gt;
&lt;br /&gt;
How do I import ".mdb" (MS Access / OleDb) files (specifically, Northwind sample database files) into SQL Server 2008 (Express with Advanced Features)?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/387265/387265/ReadMessage.aspx#387265</guid>
      <pubDate>Thu, 12 Mar 2009 21:58:07 -0700</pubDate>
    </item>
    <item>
      <title>Can SQL Server 2008 access Northwind or Pubs databases?</title>
      <link>http://www.programmersheaven.com/mb/sql-server/387259/387259/ReadMessage.aspx#387259</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/387259/387259/ReadMessage.aspx#387259"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I've installed SQL Server 2008 Express with Advanced Features, but I've been having so-far insurmountable problems installing the AdventureWorks sample databases. However, I've successfully installed the Northwind sample databases, and I've downloaded the installer for the Pubs sample databases, so:&lt;br /&gt;
&lt;br /&gt;
Can SQL Server 2008 access Northwind or Pubs databases?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/387259/387259/ReadMessage.aspx#387259</guid>
      <pubDate>Thu, 12 Mar 2009 17:05:49 -0700</pubDate>
    </item>
    <item>
      <title>AdventureWorks mayhem</title>
      <link>http://www.programmersheaven.com/mb/sql-server/387176/387176/ReadMessage.aspx#387176</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/387176/387176/ReadMessage.aspx#387176"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;After some initial problems with the prerequisite installation of SQL Server Express with Advanced Features, I tried to install AdventureWorks sample databases.&lt;br /&gt;
&lt;br /&gt;
Upon launch of the installer, Windows cited Microsoft as AdventureWorks' publisher.&lt;br /&gt;
&lt;br /&gt;
I confirmed to the installer that it should run. A dialog box then came up saying something to the effect of "Please wait while we check for disk usage." The system slowed considerably. This went on for a long, long time before I terminated the installer.&lt;br /&gt;
&lt;br /&gt;
I tried again. This time a dialog box came up saying "Please wait while the Setup Wizard installs MS SQL Server 2008 AdventureWorks Databases Refresh 1 Samples (x86)". A progress bar appeared which soon maxed out. Then nothing happened. The system was greatly slowed. I couldn't terminate the installer.&lt;br /&gt;
&lt;br /&gt;
I tried to bring up the Task Manager via Ctrl-Alt-Del, but it refused to appear. The system was completely frozen, except the mouse could still move its pointer. Since no other way would work, I had to hold the power button in for ten seconds to turn off the machine so I could reboot.&lt;br /&gt;
&lt;br /&gt;
Whuh'd'ya make of this?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/387176/387176/ReadMessage.aspx#387176</guid>
      <pubDate>Wed, 11 Mar 2009 13:24:05 -0700</pubDate>
    </item>
    <item>
      <title>Pub sample database</title>
      <link>http://www.programmersheaven.com/mb/sql-server/387117/387117/ReadMessage.aspx#387117</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/387117/387117/ReadMessage.aspx#387117"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I heard of a sample database called Pub. Does anyone know about it? Is it an SQL Server sample database that, unlike AdventureWorks, doesn't require SQL Server's Full-text Search capability to install? That's what I need.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/387117/387117/ReadMessage.aspx#387117</guid>
      <pubDate>Tue, 10 Mar 2009 16:14:22 -0700</pubDate>
    </item>
    <item>
      <title>Re: I can’t install SQL Server 2008 Enterprise</title>
      <link>http://www.programmersheaven.com/mb/sql-server/387044/387065/ReadMessage.aspx#387065</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/387044/387065/ReadMessage.aspx#387065"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I tried SQL Server 2008 Enterprise 180-day evaluation version - same result.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/387044/387065/ReadMessage.aspx#387065</guid>
      <pubDate>Mon, 09 Mar 2009 22:16:47 -0700</pubDate>
    </item>
    <item>
      <title>Windows XP Pro is a 32-bit op sys, right?</title>
      <link>http://www.programmersheaven.com/mb/winxp/387060/387060/ReadMessage.aspx#387060</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/winxp/387060/387060/ReadMessage.aspx#387060"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/winxp/Board.aspx"&gt;Windows XP&lt;/a&gt; forum.&lt;/p&gt;Windows XP Pro is a 32-bit op sys, right?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/winxp/387060/387060/ReadMessage.aspx#387060</guid>
      <pubDate>Mon, 09 Mar 2009 20:27:26 -0700</pubDate>
    </item>
    <item>
      <title>I can’t install SQL Server 2008 Express with Advanced Services - Help!</title>
      <link>http://www.programmersheaven.com/mb/sql-server/387044/387044/ReadMessage.aspx#387044</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/387044/387044/ReadMessage.aspx#387044"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I installed SQL Server 2008 Express, basic edition (SQLEXPR32_x86_ENU_Bootstrapper.exe, version 9.0.30729.1) without any problem.&lt;br /&gt;
&lt;br /&gt;
Then I attempted to install AdventureWorks Sample Databases for SQL Server 2008 (SQL2008.AdventureWorks_All_Databases.x86.msi). This attempt failed because SQL Server 2008 Express, basic edition doesn’t support Full-text Search, which AdventureWorks requires.&lt;br /&gt;
&lt;br /&gt;
So I uninstalled SQL Server 2008 Express, basic edition and attempted to install SQL Server 2008 Express with Advanced Services (SQLEXPRADV_x86_ENU.exe,version 10.00.1600.22), which does support Full-text Search. This attempt failed because the installer demands an account number and password, which I don’t have.&lt;br /&gt;
&lt;br /&gt;
Bear in mind, all Express versions of SQL Server are free from Microsoft, and I obtained my copy directly from Microsoft (http://www.microsoft.com/express/sql/download).&lt;br /&gt;
&lt;br /&gt;
Moreover, although during the course of the installation a Product Key window appears, in which a user might have under different circumstances be intended to enter a registration key, in this version of the software this is clearly not intended. I say this because not only is the radio button labeled “Specify a free edition” selected (with the associated drop-down menu showing “Express with Advanced Services”), and the other associated radio button labeled “Enter the product key” is left unselected, but also this entire group of WinForm controls is rendered inactive.&lt;br /&gt;
&lt;br /&gt;
Incidentally, I also tried to add Full-text Search capability to my original installation of SQL Server 2008 Express, basic edition via it’s Configuration Manager, but the Manager showed (wrongly) that this capability was already installed and was unable to implement this capability.&lt;br /&gt;
&lt;br /&gt;
So: what do I do now?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/387044/387044/ReadMessage.aspx#387044</guid>
      <pubDate>Mon, 09 Mar 2009 16:29:19 -0700</pubDate>
    </item>
    <item>
      <title>how to obtain SQL Server FullText Search service?</title>
      <link>http://www.programmersheaven.com/mb/sql-server/386970/386970/ReadMessage.aspx#386970</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/386970/386970/ReadMessage.aspx#386970"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I did a full installation of SQL Server 2008 Express. Looking at Add / Remove Programs, I see the following pertinent programs installed:&lt;br /&gt;
SQL Server 2008&lt;br /&gt;
SQL Server 2008 Browser&lt;br /&gt;
SQL Server 2008 Management Objects&lt;br /&gt;
SQL Server 2008 Native Client&lt;br /&gt;
SQL Server 2008 Setup Support File (English)&lt;br /&gt;
SQL Server Compact 3.5 SP1 Design Tools English&lt;br /&gt;
SQL Server Compact 3.5 English&lt;br /&gt;
SQL Server Database Publishing Wizard 1.3&lt;br /&gt;
SQL Server VSS Writer&lt;br /&gt;
SQL Server System CLR Types&lt;br /&gt;
&lt;br /&gt;
And of course I also have installed .Net Framework 3.5 SP1.&lt;br /&gt;
&lt;br /&gt;
I'm now trying to obtain sample SQL databases. To this end, and by the advice of others, I'm trying to install SQL2008.AdventureWorks_All_Databases.x86.msi. But whether I try to install "Sample Files" or "Create AdventureWorks DBs", I keep getting the following error:&lt;br /&gt;
&lt;br /&gt;
PrepInstance() failed for MSSQL$SQLEXPRESS.&lt;br /&gt;
The following features are missing: Full Text Search&lt;br /&gt;
&lt;br /&gt;
Running services.msc shows the following local services (but not SQL Server FullText Search):&lt;br /&gt;
SQL Active Directory Helper Service&lt;br /&gt;
SQL Server (SQLEXPRESS)&lt;br /&gt;
SQL Server Agent (SQLEXPRESS)&lt;br /&gt;
SQL Server Browser&lt;br /&gt;
SQL Server VSS Writer&lt;br /&gt;
&lt;br /&gt;
Does anyone know how I can obtain the FullText Search service for SQL Server 2008 Express?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/386970/386970/ReadMessage.aspx#386970</guid>
      <pubDate>Sun, 08 Mar 2009 09:41:44 -0700</pubDate>
    </item>
    <item>
      <title>SQL2008.AdventureWorks install problem</title>
      <link>http://www.programmersheaven.com/mb/sql-server/386952/386952/ReadMessage.aspx#386952</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/386952/386952/ReadMessage.aspx#386952"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I'm trying to install SQL2008.AdventureWorks_All_Databases.x86.msi, but whether I try to install "Sample Files" or "Create AdventureWorks DBs", I keep getting the following error:&lt;br /&gt;
&lt;br /&gt;
PrepInstance() failed for MSSQL$SQLEXPRESS.&lt;br /&gt;
The following features are missing: Full Text Search&lt;br /&gt;
&lt;br /&gt;
I already have installed on my PC:&lt;br /&gt;
Microsoft SQL Server 2008&lt;br /&gt;
Microsoft SQL Server 2008 Browser&lt;br /&gt;
Microsoft SQL Server 2008 Management Objects&lt;br /&gt;
Microsoft SQL Server 2008 Native Client&lt;br /&gt;
Microsoft SQL Server 2008 Setup Support File (English)&lt;br /&gt;
Microsoft SQL Server Compact 3.5 SP1 Design Tools English&lt;br /&gt;
Microsoft SQL Server Compact 3.5 English&lt;br /&gt;
Microsoft SQL Server Database Publishing Wizard 1.3&lt;br /&gt;
Microsoft SQL Server VSS Writer&lt;br /&gt;
&lt;br /&gt;
Any suggestions?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/386952/386952/ReadMessage.aspx#386952</guid>
      <pubDate>Sat, 07 Mar 2009 14:50:49 -0700</pubDate>
    </item>
    <item>
      <title>Re: PROGRAMMERSHEAVEN.MDB</title>
      <link>http://www.programmersheaven.com/mb/csharpschool/357752/386951/ReadMessage.aspx#386951</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharpschool/357752/386951/ReadMessage.aspx#386951"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharpschool/Board.aspx"&gt;C# &amp; VB.NET School Support&lt;/a&gt; forum.&lt;/p&gt;Yes, I'll second that. Where can I download programmersheaven.mdb?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharpschool/357752/386951/ReadMessage.aspx#386951</guid>
      <pubDate>Sat, 07 Mar 2009 13:50:36 -0700</pubDate>
    </item>
    <item>
      <title>Any other SQL or Access / OleDb databases available?</title>
      <link>http://www.programmersheaven.com/mb/access/386947/386947/ReadMessage.aspx#386947</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/access/386947/386947/ReadMessage.aspx#386947"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/access/Board.aspx"&gt;Access&lt;/a&gt; forum.&lt;/p&gt;I'm working through the lessons at Programmer’s Heaven's "C# School" tutorial (http://www.programmersheaven.com/2/Les_CSharp_0), and I'm currently on lesson 13, "Data Access in .Net using ADO.Net", so of course I've been trying to connect to Programmer’s Heaven's SQL and MS Access / OleDb databases. Unfortunately, they're now offline. Can anyone please tell me; are there other such databases available for those learning ADO to practice connecting to?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/access/386947/386947/ReadMessage.aspx#386947</guid>
      <pubDate>Sat, 07 Mar 2009 11:27:23 -0700</pubDate>
    </item>
    <item>
      <title>Any other SQL or MS Access / OleDb databases available?</title>
      <link>http://www.programmersheaven.com/mb/sql-server/386946/386946/ReadMessage.aspx#386946</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/sql-server/386946/386946/ReadMessage.aspx#386946"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/sql-server/Board.aspx"&gt;SQL-Server&lt;/a&gt; forum.&lt;/p&gt;I'm working through the lessons at Programmer’s Heaven's "C# School" tutorial (http://www.programmersheaven.com/2/Les_CSharp_0), and I'm currently on lesson 13, "Data Access in .Net using ADO.Net", so of course I've been trying to connect to Programmer’s Heaven's SQL and MS Access / OleDb databases. Unfortunately, they're now offline. Can anyone please tell me; are there other such databases available for those learning ADO to practice connecting to?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sql-server/386946/386946/ReadMessage.aspx#386946</guid>
      <pubDate>Sat, 07 Mar 2009 11:26:17 -0700</pubDate>
    </item>
    <item>
      <title>Any other SQL or MS Access / OleDb databases available?</title>
      <link>http://www.programmersheaven.com/mb/database/386945/386945/ReadMessage.aspx#386945</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/database/386945/386945/ReadMessage.aspx#386945"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/database/Board.aspx"&gt;Database &amp; SQL&lt;/a&gt; forum.&lt;/p&gt;I'm working through the lessons at Programmer’s Heaven's "C# School" tutorial (http://www.programmersheaven.com/2/Les_CSharp_0), and I'm currently on lesson 13, "Data Access in .Net using ADO.Net", so of course I've been trying to connect to Programmer’s Heaven's SQL and MS Access / OleDb databases. Unfortunately, they're now offline. Can anyone please tell me; are there other such databases available for those learning ADO to practice connecting to?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/database/386945/386945/ReadMessage.aspx#386945</guid>
      <pubDate>Sat, 07 Mar 2009 11:21:41 -0700</pubDate>
    </item>
    <item>
      <title>Any other SQL or OLE databases available?</title>
      <link>http://www.programmersheaven.com/mb/csharpschool/386939/386939/ReadMessage.aspx#386939</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharpschool/386939/386939/ReadMessage.aspx#386939"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/csharpschool/Board.aspx"&gt;C# &amp; VB.NET School Support&lt;/a&gt; forum.&lt;/p&gt;I'm working through the lessons at Programmer’s Heaven's "C# School", and I'm currently on lesson 13, "Data Access in .Net using ADO.Net", so of course I've been trying to connect to Programmer’s Heaven's SQL and MS Access / OleDb databases. Unfortunately, they're now offline. Can anyone please tell me, are there other such databases available for those learning ADO to practice connecting to?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharpschool/386939/386939/ReadMessage.aspx#386939</guid>
      <pubDate>Sat, 07 Mar 2009 10:36:37 -0700</pubDate>
    </item>
    <item>
      <title>Any other SQL or OLE databases available?</title>
      <link>http://www.programmersheaven.com/mb/csharp/386935/386935/ReadMessage.aspx#386935</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/386935/386935/ReadMessage.aspx#386935"&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;Sorry, this should have been posted in the C# School forum. I'm reposting it there. I would delete it from this forum if I was able to.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/386935/386935/ReadMessage.aspx#386935</guid>
      <pubDate>Sat, 07 Mar 2009 09:59:25 -0700</pubDate>
    </item>
    <item>
      <title>Re: how to change WinForm controls' text color programatically?</title>
      <link>http://www.programmersheaven.com/mb/dotnet/386786/386851/ReadMessage.aspx#386851</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/386786/386851/ReadMessage.aspx#386851"&gt;reply&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;Oaklandstyle:&lt;br /&gt;
&lt;br /&gt;
In VC# Express 2008, the problem is that you can only change a TextBox's ForeColor if you also change it's BackColor.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/386786/386851/ReadMessage.aspx#386851</guid>
      <pubDate>Thu, 05 Mar 2009 13:18:46 -0700</pubDate>
    </item>
    <item>
      <title>how to signal WinForm control input out of range?</title>
      <link>http://www.programmersheaven.com/mb/dotnet/386850/386850/ReadMessage.aspx#386850</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/386850/386850/ReadMessage.aspx#386850"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;Is there a way (perhaps via EventArgs) to signal the app when a user tries to enter out-of-range input into a WinForm control? (Specifically, a number in a NumericUpDown control numericUpDown1 that is larger than numericUpDown1.Maximum?) Yes, I know the control won't allow the input, but I want to display an error message if this happens.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/386850/386850/ReadMessage.aspx#386850</guid>
      <pubDate>Thu, 05 Mar 2009 13:12:03 -0700</pubDate>
    </item>
    <item>
      <title>how to change WinForm controls' text color programatically?</title>
      <link>http://www.programmersheaven.com/mb/dotnet/386786/386786/ReadMessage.aspx#386786</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/386786/386786/ReadMessage.aspx#386786"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;Can anybody tell me how to change WinForm controls' text color programatically? I have no problem finding the fields to assign colors to, but the compiler doesn't recognize any color I mention, whether it's something like WindowText, or something like Red.&lt;br /&gt;
&lt;br /&gt;
BTW, I'm using VC# Express 2008.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/386786/386786/ReadMessage.aspx#386786</guid>
      <pubDate>Wed, 04 Mar 2009 16:15:54 -0700</pubDate>
    </item>
    <item>
      <title>Programmers Heaven's databases still available?</title>
      <link>http://www.programmersheaven.com/mb/csharp/386785/386785/ReadMessage.aspx#386785</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/386785/386785/ReadMessage.aspx#386785"&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;I'm working through the lessons at C# School, and I'm currently on lesson 13, "Data Access in .Net using ADO.Net", so of course I'm trying to connect to Programmers Heaven's databases, so far without success. Can anyone please tell me, are these databases still available?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/386785/386785/ReadMessage.aspx#386785</guid>
      <pubDate>Wed, 04 Mar 2009 15:54:57 -0700</pubDate>
    </item>
    <item>
      <title>easy way to format numbers to strings?</title>
      <link>http://www.programmersheaven.com/mb/csharp/386607/386607/ReadMessage.aspx#386607</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/386607/386607/ReadMessage.aspx#386607"&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;In C#, I'd like to convert some numbers to strings in a standard format, but preferably in a simple way, such as if you were going to output them rather than store them in string variables, a la:&lt;pre class="sourcecode"&gt;Console.WriteLine ("{0:F2}", num);&lt;/pre&gt;rather than use a bunch of string methods to make them all the same number of significant digits. Isn't there any way to do this?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/386607/386607/ReadMessage.aspx#386607</guid>
      <pubDate>Mon, 02 Mar 2009 10:34:17 -0700</pubDate>
    </item>
    <item>
      <title>Why use delegates?</title>
      <link>http://www.programmersheaven.com/mb/dotnet/386434/386434/ReadMessage.aspx#386434</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/386434/386434/ReadMessage.aspx#386434"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;Why use delegates?&lt;br /&gt;
&lt;br /&gt;
I understand HOW to use delegates, but in what situations would you actually use them? The examples I see in the literature are all in situations where the code could just be written without ever using them.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/386434/386434/ReadMessage.aspx#386434</guid>
      <pubDate>Thu, 26 Feb 2009 16:37:28 -0700</pubDate>
    </item>
    <item>
      <title>Is my understanding of code generation in WinForm apps correct?</title>
      <link>http://www.programmersheaven.com/mb/dotnet/386433/386433/ReadMessage.aspx#386433</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/386433/386433/ReadMessage.aspx#386433"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;Is my understanding of code generation in WinForm apps correct?&lt;br /&gt;
&lt;br /&gt;
When you create a program that features a single Windows Form using Visual C#'s Windows Form Designer, three source files are created: &lt;br /&gt;
&lt;br /&gt;
1.  program.cs, which:&lt;br /&gt;
.....a. does some preliminary configuration of the form and then launches it, and &amp;lt;-- couldn't configuration be done transparently upon launching?&lt;br /&gt;
.....b. all the user-written, non-form-related stuff.&lt;br /&gt;
&lt;br /&gt;
2.  form1.cs, whose generated code contains that part of the form's class that is to be editted by the user, including "empty" methods:&lt;br /&gt;
.....a. the constructor, which calls InitializeComponent, which initializes the form, and&lt;br /&gt;
.....b. various user-written, event-driven methods, which:&lt;br /&gt;
..........1. handle "operation" of the form, and&lt;br /&gt;
..........2. call Application.Exit, which terminates execution of the form.&lt;br /&gt;
&lt;br /&gt;
3.  form1.designer.cs, whose generated code contains that part of the form's class that is NOT to be editted by the user:&lt;br /&gt;
.....a. the Windows Form Designer generated method InitializeComponent, and&lt;br /&gt;
.....b. the method Dispose, which disposes of the form. &amp;lt;-- can't this be editted?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/386433/386433/ReadMessage.aspx#386433</guid>
      <pubDate>Thu, 26 Feb 2009 16:14:16 -0700</pubDate>
    </item>
    <item>
      <title>problems compiling first Windows application</title>
      <link>http://www.programmersheaven.com/mb/dotnet/385600/385600/ReadMessage.aspx#385600</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/385600/385600/ReadMessage.aspx#385600"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;I tried to compile a Windows Forms Application in Visual C# 2008 Express with this source code from the CSharpSchool tutorial at Programmer's Heaven:&lt;pre class="sourcecode"&gt;using System;
using System.Windows.Forms;
using System.Drawing;
namespace CSharpSchool
{
    class HelloWinForm
    {
        static void Main ()
        {
            Application.Run (new MyWindow ());
        }
    }
    class MyWindow : Form
    {
        public MyWindow () : base ()
        {
            this.Text = "My First Windows Application";
            this.Size = new Size (300, 300);
            Label lblGreeting = new Label ();
            lblGreeting.Text = "Hello WinForm";
            lblGreeting.Location = new Point (100, 100);
            this.Controls.Add (lblGreeting);
        }
    }
}&lt;/pre&gt;but I got these errors:&lt;br /&gt;
&lt;br /&gt;
Error 1 Program 'C:\Documents and Settings\Bob\Local Settings\Application Data\Temporary Projects\HelloWinForm\obj\Release\HelloWinForm.exe' has more than one entry point defined: 'HelloWinForm.Test.Main()'.  Compile with /main to specify the type that contains the entry point.   C:\Documents and Settings\Bob\Local Settings\Application Data\Temporary Projects\HelloWinForm\Form1.cs   8   21   HelloWinForm&lt;br /&gt;
&lt;br /&gt;
Error 2 Program 'C:\Documents and Settings\Bob\Local Settings\Application Data\Temporary Projects\HelloWinForm\obj\Release\HelloWinForm.exe' has more than one entry point defined: 'HelloWinForm.Program.Main()'.  Compile with /main to specify the type that contains the entry point.   C:\Documents and Settings\Bob\Local Settings\Application Data\Temporary Projects\HelloWinForm\Program.cs   14   21   HelloWinForm&lt;br /&gt;
&lt;br /&gt;
Error 3 'HelloWinForm.Form1.Dispose(bool)': no suitable method found to override   C:\Documents and Settings\Bob\Local Settings\Application Data\Temporary Projects\HelloWinForm\Form1.Designer.cs   14   33   HelloWinForm&lt;br /&gt;
&lt;br /&gt;
Feeding this into a search engine:&lt;br /&gt;
&lt;br /&gt;
"visual c#" "Compile with /main"&lt;br /&gt;
&lt;br /&gt;
yielded this link:&lt;br /&gt;
&lt;br /&gt;
Compiler Error CS0017 &lt;br /&gt;
Visual C# Reference: Errors and Warnings. Compiler Error CS0017 ... Compile with /main to specify the type that contains the entry point. ... &lt;br /&gt;
msdn.microsoft.com/en-us/library/t9k01y87.aspx&lt;br /&gt;
&lt;br /&gt;
which said:&lt;br /&gt;
&lt;br /&gt;
If you are using MS Visual Studio and do not want to delete the other Main() methods you can specify the class which you want as you Entry Point in Startup Object in the Project Properties under Application Tab (at least for VS2008 Express)&lt;br /&gt;
&lt;br /&gt;
Going to:&lt;br /&gt;
&lt;br /&gt;
Project | HelloWinForm Properties | Application | Startup Object&lt;br /&gt;
&lt;br /&gt;
I discovered it wasn't set. Setting it to either HelloWinForm.Test or HelloWinForm.Program, the first two problems disappear, but not the third. I can't see how this code has more than one entry point, and I'm not at all clear on why the compiler requires these gyrations in Startup Object. None of these issues are mentioned by CSharpSchool, which claims the code I used will run as written. This is my first Windows app, and WOW! am I in the dark on this. What gives? Maybe I should just get a different tutorial. Any explanations of this or, failing that, any suggestions for which tutorial(s) I should use?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/385600/385600/ReadMessage.aspx#385600</guid>
      <pubDate>Wed, 11 Feb 2009 18:06:55 -0700</pubDate>
    </item>
    <item>
      <title>throwing exceptions</title>
      <link>http://www.programmersheaven.com/mb/dotnet/385186/385186/ReadMessage.aspx#385186</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/385186/385186/ReadMessage.aspx#385186"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;The documentation I've found is a little hazy on this subject, so it's time to fire off yet another no-doubt ignorant question:&lt;br /&gt;
&lt;br /&gt;
Is "throw" intended exclusively for the following scenario: Control is transferred out of a try block via a method call, and code in the called method then detects an exception, so the called method uses "throw" to transfer control back to the appropriate catch block associated with the original try block?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/385186/385186/ReadMessage.aspx#385186</guid>
      <pubDate>Tue, 03 Feb 2009 15:20:05 -0700</pubDate>
    </item>
    <item>
      <title>delegates and references to objects</title>
      <link>http://www.programmersheaven.com/mb/csharp/385158/385158/ReadMessage.aspx#385158</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/385158/385158/ReadMessage.aspx#385158"&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;The concept of delegates (references to methods) per se is new to me (although I used function pointers in C years ago), and although the literature acknowledges that there are significant differences between delegates and the use of pointers to objects, I'm nonetheless a little confused by how similar the syntax used for references to methods is to that used for references to objects.&lt;br /&gt;
&lt;br /&gt;
Recently at a few different forums I posted a brief outline of my understanding of the instantiation of objects, and got corroboration and helpful feedback from several developers. Let me very briefly summarize my current understanding, for comparison to the way delegates work:&lt;br /&gt;
&lt;br /&gt;
Steps to create and prepare to use an object:&lt;br /&gt;
&lt;br /&gt;
1   Define a class: create a "blueprint" for objects of this class.&lt;br /&gt;
&lt;br /&gt;
2   Declare an object: create a reference variable to hold a reference (address) of an object. The reference variable must be of the same class as the object.&lt;br /&gt;
&lt;br /&gt;
3   Instantiate an object: allocate space for the object in the heap.&lt;br /&gt;
&lt;br /&gt;
4   Assign an object to an object reference variable: place an object's address in an object reference variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Syntax used to implement these steps (numerals refer to the steps given immediately above):&lt;br /&gt;
&lt;br /&gt;
1   Define a class:&lt;pre class="sourcecode"&gt;class &amp;lt;class name&amp;gt; { &amp;lt; whatever &amp;gt; }&lt;/pre&gt;2   Declare an object:&lt;pre class="sourcecode"&gt;&amp;lt;class name&amp;gt; &amp;lt;object name&amp;gt;;&lt;/pre&gt;3   Instantiate an object:&lt;pre class="sourcecode"&gt;new &amp;lt;class name&amp;gt; ();&lt;/pre&gt;This is usually done within the same statement as assigning the object to an object reference variable (see immediately below), unless the object's reference (address) is being returned to some calling method.&lt;br /&gt;
&lt;br /&gt;
3 &amp;amp; 4   Instantiate an object and assign it to an object variable within a single statement:&lt;pre class="sourcecode"&gt;&amp;lt;object name&amp;gt; = new &amp;lt;class name&amp;gt; ();&lt;/pre&gt;2, 3 &amp;amp; 4   Declare an object, instantiate it and assign it to an object variable within a single statement:&lt;pre class="sourcecode"&gt;&amp;lt;class name&amp;gt; &amp;lt;object name&amp;gt; = new &amp;lt;class name&amp;gt; ();&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This seems very similar to how I understand delegates to work, which I've summarized below.&lt;br /&gt;
&lt;br /&gt;
Steps to create and prepare to use a delegate reference:&lt;br /&gt;
&lt;br /&gt;
1   Define a delegate type: specify the signature (including return type) of methods that delegates of this type can point to. This is called "declaring" the delegate; which I think is kind of confusing, since "declaring an object" means to create a reference variable to hold the reference (address) of an object (see step #2 above for objects), but in my opinion "declaring" the delegate is really much more analogous to defining a class (see step #1 above for objects).&lt;br /&gt;
&lt;br /&gt;
2   Declare a delegate reference variable: create a delegate reference variable to hold the reference (address) of some methods. The delegate reference variable must be of the delegate type with the same method signature as the methods it will point to.&lt;br /&gt;
&lt;br /&gt;
3   Instantiate a delegate: allocate space for a delegate in the heap. [BTW, what actually goes in the heap here - the reference (address) of a method, or a copy of the method?]&lt;br /&gt;
&lt;br /&gt;
4   Assign the delegate to a delegate reference variable: place a method's address in a delegate reference variable.&lt;br /&gt;
&lt;br /&gt;
Syntax used to implement these steps (numerals refer to the steps given immediately above):&lt;br /&gt;
&lt;br /&gt;
1   "Declare" a delegate:&lt;pre class="sourcecode"&gt;delegate &amp;lt;return type&amp;gt; &amp;lt;delegate identifier&amp;gt; (&amp;lt;parameter list&amp;gt;);&lt;/pre&gt;2   Declare a delegate reference variable:&lt;pre class="sourcecode"&gt;&amp;lt;delegate identifier&amp;gt; &amp;lt;delegate name&amp;gt;;&lt;/pre&gt;3   Instantiate a delegate:&lt;pre class="sourcecode"&gt;new &amp;lt;delegate identifier&amp;gt; (&amp;lt;method name&amp;gt;);&lt;/pre&gt;3 &amp;amp; 4   Instantiate a delegate and assign it to a delegate reference variable within a single statement:&lt;pre class="sourcecode"&gt;&amp;lt;delegate name&amp;gt; = new &amp;lt;delegate identifier&amp;gt; (&amp;lt;method name&amp;gt;);&lt;/pre&gt;2, 3 &amp;amp; 4   Declare a delegate, instantiate it and assign it to a delegate reference variable within a single statement:&lt;pre class="sourcecode"&gt;&amp;lt;delegate identifier&amp;gt; &amp;lt;delegate name&amp;gt; = new &amp;lt;delegate identifier&amp;gt; (&amp;lt;method name&amp;gt;);&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Any feedback on my thoughts would be appreciated.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/385158/385158/ReadMessage.aspx#385158</guid>
      <pubDate>Mon, 02 Feb 2009 19:20:36 -0700</pubDate>
    </item>
    <item>
      <title>overriding VC# formatting defaults</title>
      <link>http://www.programmersheaven.com/mb/csharp/385108/385108/ReadMessage.aspx#385108</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/385108/385108/ReadMessage.aspx#385108"&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;Is there any way in Visual C# 2008 Express to override the formatting defaults? For instance, I want a single space before open parens when I'm passing arguments, but VC# won't let me do that.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/385108/385108/ReadMessage.aspx#385108</guid>
      <pubDate>Sun, 01 Feb 2009 15:04:09 -0700</pubDate>
    </item>
    <item>
      <title>identifying file types</title>
      <link>http://www.programmersheaven.com/mb/csharp/384943/384943/ReadMessage.aspx#384943</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/384943/384943/ReadMessage.aspx#384943"&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;Within a C# program, is there any way to tell if a file is a text file or not? I mean a real way, not just basing your conclusion on a file name extension.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/384943/384943/ReadMessage.aspx#384943</guid>
      <pubDate>Wed, 28 Jan 2009 16:47:31 -0700</pubDate>
    </item>
    <item>
      <title>using .Net Reflector</title>
      <link>http://www.programmersheaven.com/mb/dotnet/384840/384840/ReadMessage.aspx#384840</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/dotnet/384840/384840/ReadMessage.aspx#384840"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/dotnet/Board.aspx"&gt;.NET General&lt;/a&gt; forum.&lt;/p&gt;Please forgive what is surely a stupid question:&lt;br /&gt;
&lt;br /&gt;
How do I use .Net Reflector to find out which namespace a class, method or property is in, or to see parameter lists? There's no way to enter a character string to tell it what you're looking for.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/dotnet/384840/384840/ReadMessage.aspx#384840</guid>
      <pubDate>Sun, 25 Jan 2009 17:06:36 -0700</pubDate>
    </item>
    <item>
      <title>instantiation; and arrays &amp; structures really objects?</title>
      <link>http://www.programmersheaven.com/mb/csharp/384693/384693/ReadMessage.aspx#384693</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/384693/384693/ReadMessage.aspx#384693"&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;Pardon me for flogging a dead horse here, but I'm trying to understand as clearly as possible some issues pertaining to the instantiation of objects.&lt;br /&gt;
&lt;br /&gt;
Firstly, have I correctly analyzed the functions and uses of each of the various syntaxes related to instantiating objects? Please don't flame me, saying "why don't I read the documentation". I've read it thoroughly. The point is I want to understand the material in finer detail than for which I can find documentation.&lt;br /&gt;
&lt;br /&gt;
To declare an object [create an object variable to hold a reference ("handle") of an object of the required class type]:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;ClassName ObjectName;&lt;/pre&gt;&lt;br /&gt;
(Am I not correct that a handle is simply an address?)&lt;br /&gt;
&lt;br /&gt;
To instantiate an object (allocate space for it in the heap):&lt;br /&gt;
&lt;pre class="sourcecode"&gt;new ClassName ();&lt;/pre&gt;&lt;br /&gt;
When an object is instantiated, it is usually within the same statement "assigned" to an object variable (see immediately below). This "assignment" means the reference of the object is placed into the object variable to make the variable "point to" the object. However, this reference may instead be returned to a calling method without assigning it to an object variable.&lt;br /&gt;
&lt;br /&gt;
To instantiate an object and assign it to an object variable within a single statement:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;ObjectName = new ClassName ();&lt;/pre&gt;&lt;br /&gt;
To declare an object (variable), instantiate an object and assign the object to the object variable within a single statement:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;ClassName ObjectName = new ClassName ();&lt;/pre&gt;&lt;br /&gt;
To assign the reference of an object held by one object variable to another object variable (to make both object variables point to the same object):&lt;br /&gt;
&lt;pre class="sourcecode"&gt;ObjectName2 = ObjectName;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Secondly, what is the precise relationship of arrays and structures to classes and objects?&lt;br /&gt;
&lt;br /&gt;
Objects are instantiations of classes, and as such are reference-type variables, space for which is allocated in the heap, not on the stack.&lt;br /&gt;
&lt;br /&gt;
struct is said to be a "lightweight" form of class, and structures, like objects, must be instantiated. But structures can be instantiated without use of the keyword "new" (unlike classes), which means that no constructor is executed when structures are instantiated in this way.&lt;br /&gt;
&lt;br /&gt;
Also, structures are of value-type, and so space for them must be allocated on the stack, not in the heap. Plus, like all value types, structures lack inheritance functionality. &lt;br /&gt;
&lt;br /&gt;
So are structures objects or not?&lt;br /&gt;
&lt;br /&gt;
I have read that arrays ARE objects. They also can be instantiated without use of the keyword "new", but only if they are also initialized (and sized) within the same statement:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;DataType [] ArrayName = { &amp;lt; element list &amp;gt; };&lt;/pre&gt;&lt;br /&gt;
In this case, it must be that, as with structures, no constructor is executed.&lt;br /&gt;
&lt;br /&gt;
In addition, although the individual elements of an array may be of a user-defined data type, an array itself is never an instantiation of a user-defined data type (I think). Furthermore, like structures, arrays lack inheritance functionality.&lt;br /&gt;
&lt;br /&gt;
So are arrays really objects? They seem so different from other objects.&lt;br /&gt;
&lt;br /&gt;
And just as a matter of curiosity:&lt;br /&gt;
&lt;br /&gt;
Arrays are inherited from the System.Array class. But ALL data types in C#, even value types including implicit types, are implicitly inherited from the System.Object class. (Of course, that doesn't mean all variables, regardless of data type, are objects.)&lt;br /&gt;
&lt;br /&gt;
So is the System.Array class inherited directly from the System.Object class? (For that matter, is there any way I can actually read the namespace files?)&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/384693/384693/ReadMessage.aspx#384693</guid>
      <pubDate>Wed, 21 Jan 2009 15:03:40 -0700</pubDate>
    </item>
    <item>
      <title>finding text files in C# console applications</title>
      <link>http://www.programmersheaven.com/mb/csharp/384544/384544/ReadMessage.aspx#384544</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/384544/384544/ReadMessage.aspx#384544"&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;In C# console applications, isn't there a simpler way than handling exceptions to just find out if a text file of a given name exists in the current directory? I'm talking about something along the same lines as the following methods:&lt;br /&gt;
&lt;br /&gt;
create text file:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;StreamWriter SW = File.CreateText ("MyFile.txt");&lt;/pre&gt;&lt;br /&gt;
open existing text file:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;StreamReader SR = File.OpenText ("MyFile.txt");&lt;/pre&gt;&lt;br /&gt;
append to text file:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;StreamWriter SW  = File.AppendText ("MyFile.txt");&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/384544/384544/ReadMessage.aspx#384544</guid>
      <pubDate>Sun, 18 Jan 2009 12:45:28 -0700</pubDate>
    </item>
    <item>
      <title>the "this" reference &amp; indexers</title>
      <link>http://www.programmersheaven.com/mb/csharp/384420/384420/ReadMessage.aspx#384420</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/384420/384420/ReadMessage.aspx#384420"&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;Can anybody give me a hint about how to put these two techniques together? I can use the "this" reference to control access to the private fields of an individual object:&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
namespace MyNamespace&lt;br /&gt;
{&lt;br /&gt;
    class Program&lt;br /&gt;
    {&lt;br /&gt;
        static void Main ()&lt;br /&gt;
        {&lt;br /&gt;
            Citizen citizen = new Citizen ();&lt;br /&gt;
&lt;br /&gt;
            citizen.Name = "Larry Fine";&lt;br /&gt;
            citizen.Age = 89;&lt;br /&gt;
&lt;br /&gt;
            Console.WriteLine ("{0}, {1}\n\n\n", citizen.Name, citizen.Age);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    class Citizen&lt;br /&gt;
    {&lt;br /&gt;
        private string name;&lt;br /&gt;
        private int age;&lt;br /&gt;
&lt;br /&gt;
        public string Name&lt;br /&gt;
        {&lt;br /&gt;
            get { return name; }&lt;br /&gt;
            set { name = value; }&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        public int Age&lt;br /&gt;
        {&lt;br /&gt;
            get { return age; }&lt;br /&gt;
            set { age = value; }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
And I can use indexers to make an array of objects:&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
namespace MyNamespace&lt;br /&gt;
{&lt;br /&gt;
    class Program&lt;br /&gt;
    {&lt;br /&gt;
        static void Main ()&lt;br /&gt;
        {&lt;br /&gt;
            Citizen citizen = new Citizen ();&lt;br /&gt;
&lt;br /&gt;
            citizen [0] = "Larry Fine";&lt;br /&gt;
            citizen [1] = "Buster Douglas";&lt;br /&gt;
            citizen [2] = "Mortimer Snerd";&lt;br /&gt;
            citizen [3] = "Horace Greeley";&lt;br /&gt;
            citizen [4] = "Ornette Coleman";&lt;br /&gt;
&lt;br /&gt;
            Console.WriteLine ("{0}\n{1}\n{2}\n{3}\n{4}\n", citizen [0], &lt;br /&gt;
		          citizen [1], citizen [2], citizen [3], citizen [4]);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    class Citizen&lt;br /&gt;
    {&lt;br /&gt;
        private string [] name = new string [5];&lt;br /&gt;
&lt;br /&gt;
        public string this [int i]&lt;br /&gt;
        {&lt;br /&gt;
            get { return name [i]; }&lt;br /&gt;
            set { name[i] = value; }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
But I can't figure out how to put the two techniques together to control access to the private fields of an array of objects. The solution is probably staring me right in the face, but I don't see it. Any help?&lt;br /&gt;
&lt;br /&gt;
P.S. This is a console application, obviously.&lt;br /&gt;
&lt;br /&gt;
P.P.S. BTW, what happened to all my indentation?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/384420/384420/ReadMessage.aspx#384420</guid>
      <pubDate>Thu, 15 Jan 2009 14:58:44 -0700</pubDate>
    </item>
    <item>
      <title>the "this" reference &amp; indexers</title>
      <link>http://www.programmersheaven.com/mb/csharp/384419/384419/ReadMessage.aspx#384419</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/384419/384419/ReadMessage.aspx#384419"&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;Can anybody give me a hint about how to put these two techniques together? I can use the "this" reference to control access to the private fields of an individual object:&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
namespace MyNamespace&lt;br /&gt;
{&lt;br /&gt;
    class Program&lt;br /&gt;
    {&lt;br /&gt;
        static void Main ()&lt;br /&gt;
        {&lt;br /&gt;
            Citizen citizen = new Citizen ();&lt;br /&gt;
&lt;br /&gt;
            citizen.Name = "Larry Fine";&lt;br /&gt;
            citizen.Age = 89;&lt;br /&gt;
&lt;br /&gt;
            Console.WriteLine ("{0}, {1}\n\n\n", citizen.Name, citizen.Age);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    class Citizen&lt;br /&gt;
    {&lt;br /&gt;
        private string name;&lt;br /&gt;
        private int age;&lt;br /&gt;
&lt;br /&gt;
        public string Name&lt;br /&gt;
        {&lt;br /&gt;
            get { return name; }&lt;br /&gt;
            set { name = value; }&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        public int Age&lt;br /&gt;
        {&lt;br /&gt;
            get { return age; }&lt;br /&gt;
            set { age = value; }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
And I can use indexers to make an array of objects:&lt;br /&gt;
&lt;br /&gt;
using System;&lt;br /&gt;
namespace MyNamespace&lt;br /&gt;
{&lt;br /&gt;
    class Program&lt;br /&gt;
    {&lt;br /&gt;
        static void Main ()&lt;br /&gt;
        {&lt;br /&gt;
            Citizen citizen = new Citizen ();&lt;br /&gt;
&lt;br /&gt;
            citizen [0] = "Larry Fine";&lt;br /&gt;
            citizen [1] = "Buster Douglas";&lt;br /&gt;
            citizen [2] = "Mortimer Snerd";&lt;br /&gt;
            citizen [3] = "Horace Greeley";&lt;br /&gt;
            citizen [4] = "Ornette Coleman";&lt;br /&gt;
&lt;br /&gt;
            Console.WriteLine ("{0}\n{1}\n{2}\n{3}\n{4}\n", citizen [0], &lt;br /&gt;
		          citizen [1], citizen [2], citizen [3], citizen [4]);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    class Citizen&lt;br /&gt;
    {&lt;br /&gt;
        private string [] name = new string [5];&lt;br /&gt;
&lt;br /&gt;
        public string this [int i]&lt;br /&gt;
        {&lt;br /&gt;
            get { return name [i]; }&lt;br /&gt;
            set { name[i] = value; }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
But I can't figure out how to put the two techniques together to control access to the private fields of an array of objects. The solution is probably staring me right in the face, but I don't see it. Any help?&lt;br /&gt;
&lt;br /&gt;
P.S. This is a console application, obviously.&lt;br /&gt;
&lt;br /&gt;
P.P.S. BTW, what happened to all my indentation?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/384419/384419/ReadMessage.aspx#384419</guid>
      <pubDate>Thu, 15 Jan 2009 14:58:42 -0700</pubDate>
    </item>
    <item>
      <title>C# console applications &amp; highlighting output to screen</title>
      <link>http://www.programmersheaven.com/mb/csharp/384129/384129/ReadMessage.aspx#384129</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/384129/384129/ReadMessage.aspx#384129"&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;In a C# console application, can anyone tell me how to "highlight" certain characters, that is, print them brighter than other characters?</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/384129/384129/ReadMessage.aspx#384129</guid>
      <pubDate>Fri, 09 Jan 2009 17:11:15 -0700</pubDate>
    </item>
    <item>
      <title>C#, kbhit &amp; getch</title>
      <link>http://www.programmersheaven.com/mb/csharp/384078/384078/ReadMessage.aspx#384078</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/csharp/384078/384078/ReadMessage.aspx#384078"&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;In C#, what methods take the place of the old kbhit and getch functions in C? (I'm writing a console application in Visual Studio.)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/csharp/384078/384078/ReadMessage.aspx#384078</guid>
      <pubDate>Thu, 08 Jan 2009 18:12:07 -0700</pubDate>
    </item>
  </channel>
</rss>