Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
QuestionA generic error occurred in GDI+ [modified] Pin
Rob Manderson26-Jul-08 23:41
protectorRob Manderson26-Jul-08 23:41 
AnswerRe: A generic error occurred in GDI+ Pin
Luc Pattyn27-Jul-08 1:08
sitebuilderLuc Pattyn27-Jul-08 1:08 
GeneralRe: A generic error occurred in GDI+ Pin
Rob Manderson27-Jul-08 8:08
protectorRob Manderson27-Jul-08 8:08 
GeneralRe: A generic error occurred in GDI+ Pin
Luc Pattyn27-Jul-08 8:18
sitebuilderLuc Pattyn27-Jul-08 8:18 
QuestionC# code for optimal path, given adjacency matrix/cost values? Pin
sherifffruitfly26-Jul-08 18:51
sherifffruitfly26-Jul-08 18:51 
AnswerRe: C# code for optimal path, given adjacency matrix/cost values? Pin
Paul Conrad26-Jul-08 19:41
professionalPaul Conrad26-Jul-08 19:41 
AnswerRe: C# code for optimal path, given adjacency matrix/cost values? Pin
Robert.C.Cartaino27-Jul-08 6:14
Robert.C.Cartaino27-Jul-08 6:14 
QuestionDays until next birthday Pin
DFlat4Now26-Jul-08 16:59
DFlat4Now26-Jul-08 16:59 
I need just a simple console program to tell how many days and hours (minutes if possible) until this persons next birthday.

He was born on July 26th 1983 at 8:00 pm.

I'm really new at this and I wanted to give him a small exe (console program) for his birthday.

This is all I oould come up with so far:

using System;

class myApp
{
public static void Main()
{
DateTime CurrTime = DateTime.Now;
DateTime JimBDay = DateTime.Compare(CurrTime, "08/01/2008");
Console.WriteLine("Jim's Birthdate: ", JimBDay);
Console.WriteLine("Jim's Birthday is July 26th at 8:00 pm");
Console.WriteLine("{0:F}", CurrTime);
// Need some code to say there are this many days and this many hours until your next birthday (minutes if possible).


Console.Read(); // wait
}
}
AnswerRe: Days until next birthday Pin
Reza Raad26-Jul-08 17:36
Reza Raad26-Jul-08 17:36 
GeneralRe: Days until next birthday Pin
DFlat4Now26-Jul-08 18:31
DFlat4Now26-Jul-08 18:31 
QuestionRe: Days until next birthday Pin
DFlat4Now26-Jul-08 18:55
DFlat4Now26-Jul-08 18:55 
AnswerRe: Days until next birthday Pin
Paul Conrad26-Jul-08 19:52
professionalPaul Conrad26-Jul-08 19:52 
AnswerRe: Days until next birthday Pin
Reza Raad26-Jul-08 21:43
Reza Raad26-Jul-08 21:43 
AnswerRe: Days until next birthday Pin
Guffa27-Jul-08 2:59
Guffa27-Jul-08 2:59 
QuestionExe Control DLL Pin
nedracix26-Jul-08 16:20
nedracix26-Jul-08 16:20 
AnswerRe: Exe Control DLL Pin
Paul Conrad26-Jul-08 17:55
professionalPaul Conrad26-Jul-08 17:55 
QuestionWhere is HttpUtility.HtmlDecode ? Pin
Mohammad Dayyan26-Jul-08 12:06
Mohammad Dayyan26-Jul-08 12:06 
AnswerRe: Where is HttpUtility.HtmlDecode ? Pin
Lutosław26-Jul-08 12:22
Lutosław26-Jul-08 12:22 
GeneralRe: Where is HttpUtility.HtmlDecode ? Pin
Mohammad Dayyan26-Jul-08 12:28
Mohammad Dayyan26-Jul-08 12:28 
Questioncheckedlistbox binding Pin
bfis10813726-Jul-08 10:45
bfis10813726-Jul-08 10:45 
Questioncouldn't remove controls [modified] Pin
netJP12L26-Jul-08 9:54
netJP12L26-Jul-08 9:54 
AnswerRe: couldn't remove controls Pin
Mark Salsbery26-Jul-08 10:08
Mark Salsbery26-Jul-08 10:08 
GeneralRe: couldn't remove controls Pin
Lutosław26-Jul-08 12:01
Lutosław26-Jul-08 12:01 
GeneralRe: couldn't remove controls Pin
Mark Salsbery26-Jul-08 12:22
Mark Salsbery26-Jul-08 12:22 
GeneralRe: couldn't remove controls Pin
Lutosław26-Jul-08 12:46
Lutosław26-Jul-08 12:46 

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.