Click here to Skip to main content
15,915,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: seek into .wmv file while recording? Pin
Luc Pattyn17-May-07 14:23
sitebuilderLuc Pattyn17-May-07 14:23 
GeneralRe: seek into .wmv file while recording? Pin
cjtaylor18-May-07 11:51
cjtaylor18-May-07 11:51 
GeneralRe: seek into .wmv file while recording? Pin
Luc Pattyn18-May-07 12:09
sitebuilderLuc Pattyn18-May-07 12:09 
QuestionDataTable NOT to assign Primary Key Pin
Yona Low17-May-07 11:30
Yona Low17-May-07 11:30 
Questionis a .dispose method required for 'stack' objects? Pin
jon-8017-May-07 11:09
professionaljon-8017-May-07 11:09 
AnswerRe: is a .dispose method required for 'stack' objects? Pin
Dave Kreskowiak17-May-07 11:17
mveDave Kreskowiak17-May-07 11:17 
AnswerRe: is a .dispose method required for 'stack' objects? Pin
Guffa17-May-07 11:44
Guffa17-May-07 11:44 
QuestionSystem. Pin
jon-8017-May-07 10:39
professionaljon-8017-May-07 10:39 
Why am I getting this error? Is the installation corrupted or something?

I couldn't find System.Drawing within the object browser either...

Code:
using System;
using System.Drawing;

namespace Wrox.ProCSharp.StaticConstructorSample
{
public class UserPreferences
{
public static readonly Color BackColor;
static UserPreferences()
{
DateTime now = DateTime.Now;
if (now.DayOfWeek == DayOfWeek.Saturday
|| now.DayOfWeek == DayOfWeek.Sunday)
BackColor = Color.Green;
else
BackColor = Color.Red;
}
private UserPreferences()
{
}
}
}

VS Studio 2003


Error:
C:\Documents and Settings\Jon\My Documents\Visual Studio Projects\TestConsole\startUp.cs(8): The type or namespace name 'Color' could not be found (are you missing a using directive or an assembly reference?)


Jon

AnswerRe: System. Pin
Dave Kreskowiak17-May-07 11:14
mveDave Kreskowiak17-May-07 11:14 
QuestionImage from an array Pin
filinM17-May-07 9:32
filinM17-May-07 9:32 
AnswerRe: Image from an array Pin
Dave Kreskowiak17-May-07 11:19
mveDave Kreskowiak17-May-07 11:19 
QuestionPublic Key & Certificate Validation Pin
Nicholas Cardi17-May-07 8:51
Nicholas Cardi17-May-07 8:51 
AnswerRe: Public Key & Certificate Validation Pin
led mike17-May-07 9:04
led mike17-May-07 9:04 
GeneralRe: Public Key & Certificate Validation Pin
Nicholas Cardi17-May-07 9:35
Nicholas Cardi17-May-07 9:35 
GeneralRe: Public Key & Certificate Validation Pin
led mike17-May-07 9:44
led mike17-May-07 9:44 
GeneralRe: Public Key & Certificate Validation Pin
Nicholas Cardi17-May-07 10:14
Nicholas Cardi17-May-07 10:14 
QuestionDllNotFoundException Pin
thebeekeeper17-May-07 8:46
thebeekeeper17-May-07 8:46 
AnswerRe: DllNotFoundException Pin
kubben17-May-07 8:53
kubben17-May-07 8:53 
GeneralRe: DllNotFoundException Pin
thebeekeeper17-May-07 9:06
thebeekeeper17-May-07 9:06 
AnswerRe: DllNotFoundException Pin
Wes Aday17-May-07 9:52
professionalWes Aday17-May-07 9:52 
GeneralRe: DllNotFoundException Pin
thebeekeeper17-May-07 10:12
thebeekeeper17-May-07 10:12 
GeneralRe: DllNotFoundException Pin
mav.northwind17-May-07 19:38
mav.northwind17-May-07 19:38 
GeneralRe: DllNotFoundException Pin
thebeekeeper18-May-07 6:42
thebeekeeper18-May-07 6:42 
QuestionRead from text file..! Pin
mr jets17-May-07 8:26
mr jets17-May-07 8:26 
AnswerRe: Read from text file..! Pin
Not Active17-May-07 9:02
mentorNot Active17-May-07 9:02 

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.