Click here to Skip to main content
15,920,031 members
Home / Discussions / C#
   

C#

 
GeneralReading from app.config in a Service Installer class Pin
mikemichi11-Jan-08 8:44
mikemichi11-Jan-08 8:44 
Generaljavascript Pin
simworld11-Jan-08 8:06
simworld11-Jan-08 8:06 
GeneralRe: javascript Pin
DaveyM6911-Jan-08 8:14
professionalDaveyM6911-Jan-08 8:14 
GeneralRe: javascript Pin
simworld11-Jan-08 8:29
simworld11-Jan-08 8:29 
GeneralTextBox Event Not Triggering Pin
Fred Szoldatits11-Jan-08 7:43
Fred Szoldatits11-Jan-08 7:43 
GeneralRe: TextBox Event Not Triggering Pin
DaveyM6911-Jan-08 8:19
professionalDaveyM6911-Jan-08 8:19 
GeneralRe: TextBox Event Not Triggering Pin
Thomas Stockwell11-Jan-08 14:51
professionalThomas Stockwell11-Jan-08 14:51 
Questionnamespace 'Windows' does not exist Pin
Steve Harp11-Jan-08 6:03
Steve Harp11-Jan-08 6:03 
Hi All,

I'm fairly new to C# so somewhat clueless. I'm writing an error handler class library which will receive exceptions thrown and can be configured to display and/or log the exception.

In order to display, I'm trying to use the MessageBox class so I've included a reference to System.Windows.Forms. I also added a using statement for System.Windows.Forms. When I compile, I get an error "The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)". I'm guessing that the problem has something to do with the fact that I'm working with a class library and perhaps .NET uses a different System class for class libraries. I've tried this with VS 2005 and SharpDeveloper and both give exactly the same error.

Is there a genius out there with a solution?

Thanks,
Steve
GeneralRe: namespace 'Windows' does not exist Pin
Luc Pattyn11-Jan-08 6:08
sitebuilderLuc Pattyn11-Jan-08 6:08 
AnswerRe: namespace 'Windows' does not exist Pin
Steve Harp11-Jan-08 6:29
Steve Harp11-Jan-08 6:29 
GeneralRe: namespace 'Windows' does not exist Pin
Luc Pattyn11-Jan-08 6:34
sitebuilderLuc Pattyn11-Jan-08 6:34 
GeneralRe: namespace 'Windows' does not exist Pin
Steve Harp11-Jan-08 7:00
Steve Harp11-Jan-08 7:00 
GeneralProblem to DataTable.Rows.Remove(DataRow row) method. Pin
hdv21211-Jan-08 4:02
hdv21211-Jan-08 4:02 
GeneralRe: Problem to DataTable.Rows.Remove(DataRow row) method. Pin
Dave Kreskowiak11-Jan-08 4:34
mveDave Kreskowiak11-Jan-08 4:34 
GeneralRe: Problem to DataTable.Rows.Remove(DataRow row) method. Pin
hdv21211-Jan-08 5:38
hdv21211-Jan-08 5:38 
GeneralIdentify record in Global Catalog Pin
robot_rock11-Jan-08 3:33
robot_rock11-Jan-08 3:33 
GeneralRe: Identify record in GC Pin
Justin Perez11-Jan-08 4:15
Justin Perez11-Jan-08 4:15 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 4:28
robot_rock11-Jan-08 4:28 
GeneralRe: Identify record in GC Pin
Dave Kreskowiak11-Jan-08 4:30
mveDave Kreskowiak11-Jan-08 4:30 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 4:44
robot_rock11-Jan-08 4:44 
GeneralRe: Identify record in GC Pin
Dave Kreskowiak11-Jan-08 6:20
mveDave Kreskowiak11-Jan-08 6:20 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 6:55
robot_rock11-Jan-08 6:55 
GeneralRe: Identify record in GC Pin
Dave Kreskowiak11-Jan-08 12:24
mveDave Kreskowiak11-Jan-08 12:24 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 12:49
robot_rock11-Jan-08 12:49 
GeneralRe: Identify record in GC Pin
robot_rock11-Jan-08 15:12
robot_rock11-Jan-08 15:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.