Click here to Skip to main content
15,919,931 members
Home / Discussions / C#
   

C#

 
QuestionNEW - Birthday Reminders in Outook Pin
zevman16-Sep-07 10:05
zevman16-Sep-07 10:05 
AnswerRe: NEW - Birthday Reminders in Outook Pin
Christian Graus16-Sep-07 10:13
protectorChristian Graus16-Sep-07 10:13 
GeneralRe: NEW - Birthday Reminders in Outook Pin
zevman16-Sep-07 10:26
zevman16-Sep-07 10:26 
AnswerRe: NEW - Birthday Reminders in Outook Pin
Paul Conrad16-Sep-07 10:15
professionalPaul Conrad16-Sep-07 10:15 
QuestionOutlook Birthday Reminders Pin
zevman16-Sep-07 8:17
zevman16-Sep-07 8:17 
AnswerRe: Outlook Birthday Reminders Pin
Paul Conrad16-Sep-07 8:26
professionalPaul Conrad16-Sep-07 8:26 
GeneralRe: Outlook Birthday Reminders Pin
zevman16-Sep-07 9:06
zevman16-Sep-07 9:06 
GeneralRe: Outlook Birthday Reminders Pin
Lutosław16-Sep-07 9:48
Lutosław16-Sep-07 9:48 
GeneralRe: Outlook Birthday Reminders Pin
zevman16-Sep-07 10:08
zevman16-Sep-07 10:08 
GeneralRe: Outlook Birthday Reminders Pin
Paul Conrad16-Sep-07 10:10
professionalPaul Conrad16-Sep-07 10:10 
GeneralRe: Outlook Birthday Reminders Pin
zevman16-Sep-07 10:19
zevman16-Sep-07 10:19 
GeneralRe: Outlook Birthday Reminders Pin
Paul Conrad16-Sep-07 10:22
professionalPaul Conrad16-Sep-07 10:22 
GeneralRe: Outlook Birthday Reminders Pin
zevman16-Sep-07 9:08
zevman16-Sep-07 9:08 
QuestionOnly look in subfolders.. Pin
andredani16-Sep-07 6:35
andredani16-Sep-07 6:35 
AnswerRe: Only look in subfolders.. Pin
Lutosław16-Sep-07 8:46
Lutosław16-Sep-07 8:46 
GeneralRe: Only look in subfolders.. Pin
andredani16-Sep-07 9:03
andredani16-Sep-07 9:03 
GeneralRe: Only look in subfolders.. Pin
Lutosław16-Sep-07 9:37
Lutosław16-Sep-07 9:37 
GeneralRe: Only look in subfolders.. Pin
andredani16-Sep-07 19:17
andredani16-Sep-07 19:17 
GeneralRe: Only look in subfolders.. [modified] Pin
Lutosław17-Sep-07 2:02
Lutosław17-Sep-07 2:02 
GeneralRe: Only look in subfolders.. Pin
andredani17-Sep-07 2:22
andredani17-Sep-07 2:22 
GeneralRe: Only look in subfolders.. Pin
Lutosław17-Sep-07 3:21
Lutosław17-Sep-07 3:21 
GeneralRe: Only look in subfolders.. Pin
Lutosław17-Sep-07 3:34
Lutosław17-Sep-07 3:34 
You should revise your knowledge about variable visibility and their life time.
void A()
{
  string str = new string();
  str = "text";
  // At the end of the method str dies.
}

void B()
{
  string str = new string();  // allocates a new variable regardles the name is the same.
  Console.WriteLine(str); // str is equal to "" here.
}

To stop a timer you must not declare it as a local variable.
Timer oT = new Timer();
private void button1_Click(object sender, EventArgs e)
{
string[] lines1 = System.IO.File.ReadAllLines("inställningar.txt");
string path1 = lines1[8];
string tid = lines1[0];
int dimension = Convert.ToInt32(tid);
//Timer oT = new Timer();
oT.Interval = dimension;
oT.Start();
}

private void button2_Click(object sender, EventArgs e)
{
//Timer oT = new Timer();
// Did you mean "-="?
//oT.Tick += new System.EventHandler(Timerfunction);
oT.Tick -= TimerFunction;
oT.Stop();
}


Greetings - Gajatko

Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

QuestionThe type or namespace name could not be found Pin
Lutosław16-Sep-07 4:53
Lutosław16-Sep-07 4:53 
AnswerRe: The type or namespace name could not be found Pin
PIEBALDconsult16-Sep-07 5:10
mvePIEBALDconsult16-Sep-07 5:10 
GeneralRe: The type or namespace name could not be found Pin
Lutosław16-Sep-07 8:34
Lutosław16-Sep-07 8:34 

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.