Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Christian Tabligan
  Where is Christian Tabligan?
 Bacolod City, Neg. Occ.
 Philippines
 Christian Tabligan
 To: Ilya Rabyy
  Where is Ilya Rabyy?
 Fountain Valley
 California - United States
 Ilya Rabyy
 Tags
Subject: RE: Can't run a C# project in Debug
Thread ID: 268856 Message ID: 268859 # Views: 33 # Ratings: 0
Version: Not Applicable Category: .NET
Date: Thursday, July 15, 2010 4:37:14 AM         
   


> Colleagues,
>
> Felleing hat I'm loosing it, I decided to start doing some small projects in C# (VS 2005).
>
> I created just the simplest project: one form with the exit button on it, with the following code:
>
>
private void button1_Click(object sender, EventArgs e)
>         {
>             Close();
>         }

> Here's what I have in the Program.CS file:
>
using System;
> using System.Collections;
> using System.Windows.Forms;
> 
> namespace TestExit
> {
>     static class Program
>     {
>         /// <summary>
>         /// The main entry point for the application.
>         /// </summary>
>         [STAThread]
>         static void Main()
>         {
>             Application.EnableVisualStyles();
>             Application.SetCompatibleTextRenderingDefault(false);
>             Application.Run(new Form1());
>         }
>     }
> }

> That's it. Nothing else. And when I hit F5 - here's wht I see:
>
>
> What am I missing?
>
> Regards,
>
> Ilya

Try this...

Open Start > Control Panel > Administrative Tools > Component Services > Services > Select Terminal Services. Right click properties, select Startup Type: Automatic. And if the service is not already started, Click the Start button.

Best Regards,

CriZ (,")

"Happiness is real when shared."

ENTIRE THREAD

Can't run a C# project in Debug Posted by Ilya Rabyy @ 7/15/2010 3:56:17 AM
RE: Can't run a C# project in Debug Posted by Christian Tabligan @ 7/15/2010 4:37:14 AM