Click here to Skip to main content
15,908,015 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to develop an VS add-in to find the path and file name of the assembly? Pin
Luc Pattyn26-Sep-09 16:41
sitebuilderLuc Pattyn26-Sep-09 16:41 
GeneralRe: How to develop an VS add-in to find the path and file name of the assembly? Pin
PIEBALDconsult26-Sep-09 17:01
mvePIEBALDconsult26-Sep-09 17:01 
GeneralRe: How to develop an VS add-in to find the path and file name of the assembly? Pin
Damu Li26-Sep-09 17:54
Damu Li26-Sep-09 17:54 
GeneralRe: How to develop an VS add-in to find the path and file name of the assembly? Pin
Damu Li26-Sep-09 19:47
Damu Li26-Sep-09 19:47 
QuestionInteracting with a Global System Object [modified] Pin
Bull City Rambler26-Sep-09 16:18
Bull City Rambler26-Sep-09 16:18 
AnswerRe: Interacting with a Global System Object Pin
Dave Kreskowiak26-Sep-09 17:29
mveDave Kreskowiak26-Sep-09 17:29 
Questionhow i can fill collection from database and connect this collection to ComboBox ? Pin
E_Gold26-Sep-09 9:30
E_Gold26-Sep-09 9:30 
AnswerRe: how i can fill collection from database and connect this collection to ComboBox ? Pin
Abhijit Jana26-Sep-09 9:49
professionalAbhijit Jana26-Sep-09 9:49 
AnswerRe: how i can fill collection from database and connect this collection to ComboBox ? Pin
PIEBALDconsult26-Sep-09 12:38
mvePIEBALDconsult26-Sep-09 12:38 
QuestionCreate TaskBar Icon Pin
treuveni26-Sep-09 9:13
treuveni26-Sep-09 9:13 
AnswerRe: Create TaskBar Icon Pin
Abhijit Jana26-Sep-09 9:44
professionalAbhijit Jana26-Sep-09 9:44 
GeneralRe: Create TaskBar Icon Pin
khosnur26-Sep-09 20:49
khosnur26-Sep-09 20:49 
AnswerRe: Create TaskBar Icon Pin
DaveyM6926-Sep-09 9:45
professionalDaveyM6926-Sep-09 9:45 
QuestionCreate ID Auto code C# Pin
choemxin26-Sep-09 7:18
choemxin26-Sep-09 7:18 
AnswerRe: Create ID Auto code C# Pin
Abhishek Sur26-Sep-09 10:14
professionalAbhishek Sur26-Sep-09 10:14 
AnswerRe: Create ID Auto code C# Pin
choemxin27-Sep-09 8:09
choemxin27-Sep-09 8:09 
GeneralRe: Create ID Auto code C# Pin
Dave Kreskowiak27-Sep-09 9:37
mveDave Kreskowiak27-Sep-09 9:37 
AnswerRe: Create ID Auto code C# Pin
choemxin27-Sep-09 18:09
choemxin27-Sep-09 18:09 
QuestionAdding buttons to title bar Pin
Matt Cavanagh26-Sep-09 6:17
Matt Cavanagh26-Sep-09 6:17 
AnswerRe: Adding buttons to title bar Pin
PIEBALDconsult26-Sep-09 12:39
mvePIEBALDconsult26-Sep-09 12:39 
QuestionCartoon Generation from Image [modified] Pin
logicaldna26-Sep-09 6:08
logicaldna26-Sep-09 6:08 
AnswerRe: Cartoon Generation from Image Pin
Christian Graus26-Sep-09 11:34
protectorChristian Graus26-Sep-09 11:34 
QuestionDateTime of 24 hours former ? Pin
Mohammad Dayyan26-Sep-09 5:58
Mohammad Dayyan26-Sep-09 5:58 
Hi.

I'm gonna take the DateTime of 24 hours former with C# , I've written below code :

DateTime _24HoursFormer
{
    get { return new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day - 1, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second); }
}


But whenever DateTime.Now.Day equals 1, it throws an Exception !!

Could you guide me ?
Thanks.
AnswerRe: DateTime of 24 hours former ? Pin
dan!sh 26-Sep-09 6:02
professional dan!sh 26-Sep-09 6:02 
GeneralRe: DateTime of 24 hours former ? Pin
Mohammad Dayyan26-Sep-09 6:07
Mohammad Dayyan26-Sep-09 6:07 

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.