I just went to Microsoft's web site and the new download URL is:
http://www.microsoft.com/express/vcsharp/Default.aspx
Obviously, there's nothing we can do about URL's since Microsoft is free to change them as they see fit.
Once I reinstalled C# Express, I tried to create a new project. When you created the project, you can give it any name you wish. Then did you select
Add New Item from the
Project menu to add the new source file? Now select
Code File from the templates, I usually name this new file frmMain.
Add the references to the project by selecting
Add References fromt the
Project menu. You need to add System, System.Drawing, and System.Windows.Forms.
Now select the project's
Properties from the
Project menu and set the
Application.Startup Object to the name you gave the form (e.g., frmMain).
Once you do this, you need to add the skeleton template code that all projects use:
using System;
using System.Drawing;
using System.Windows.Forms;
public class frmMain:Form
{
private void InitializeComponent()
{
}
public frmMain()
{
InitializeComponent();
}
public static void Main()
{
frmMain main = new frmMain();
Application.Run(main);
}
}
Once you do this, the
Solution Explorer should show frmMain using the Properties icon. You can either double-click the frmMain.cs line or click on the form icon in the menu bar of the Solution Explorer. Note the 4th line ends with ":Forms". You must have that at the end of the line.
If you add an object (e.g., textbox) to the project, you should be able to use F4 to see the Properties window.
I just went through these steps and it worked fine for me. (Excuse the non-formatted code, the Wrox editor seems to strip Tabs out of the text and I don't feel like using HTML to put them in!)
Dr. Purdum