Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
QuestionPlay AVI streams in Vista/Longhorn Pin
quiensabe24-Feb-08 9:12
quiensabe24-Feb-08 9:12 
GeneralRe: Play AVI streams in Vista/Longhorn Pin
Christoph Menge24-Feb-08 9:44
Christoph Menge24-Feb-08 9:44 
GeneralRe: Play AVI streams in Vista/Longhorn Pin
quiensabe24-Feb-08 10:22
quiensabe24-Feb-08 10:22 
GeneralBeginRecive() - Showing a Window in data recieved event handler Pin
gunner_uk200024-Feb-08 8:41
gunner_uk200024-Feb-08 8:41 
GeneralUsing two graphics and GraphicsState Pin
baranils24-Feb-08 8:40
baranils24-Feb-08 8:40 
Generalenumeration linking to objects Pin
Eli Nurman24-Feb-08 5:08
Eli Nurman24-Feb-08 5:08 
GeneralHelp using listbox with access database... Pin
Jacob Dixon24-Feb-08 4:58
Jacob Dixon24-Feb-08 4:58 
QuestionHow to set a files date modified property? Pin
gunner_uk200024-Feb-08 4:09
gunner_uk200024-Feb-08 4:09 
I'm working on a network file synchronization program, and I need to set the date modified property on the local system to now.

This is to make it possible to compare the date modified to a copy of the same file on a different system. The times will be different because when a file is copied across the network it's date modified will be set to the date the file was created by copying it. The local file's date modified will set to when ever the file was last modified.

I could probably do this by reading the file into a stream, then writing it out again, but this would obviously be a waste of resources.

Does anyone know how to just change the date modified of a file to the current time?

Thanks for any help

gunner.
AnswerRe: How to set a files date modified property? Pin
Luc Pattyn24-Feb-08 4:47
sitebuilderLuc Pattyn24-Feb-08 4:47 
GeneralGDI+ Problem GUI Graphics Pin
aa1124-Feb-08 3:50
aa1124-Feb-08 3:50 
GeneralRe: GDI+ Problem GUI Graphics Pin
Ed.Poore24-Feb-08 7:14
Ed.Poore24-Feb-08 7:14 
GeneralRe: GDI+ Problem GUI Graphics Pin
Roger Alsing24-Feb-08 10:05
Roger Alsing24-Feb-08 10:05 
GeneralRe: GDI+ Problem GUI Graphics Pin
Ed.Poore24-Feb-08 15:22
Ed.Poore24-Feb-08 15:22 
GeneralRe: GDI+ Problem GUI Graphics Pin
aa2224-Feb-08 22:51
aa2224-Feb-08 22:51 
General"There is no such object on the server" Error after Active Directory SetPasword call Pin
Hesham Amin24-Feb-08 2:53
Hesham Amin24-Feb-08 2:53 
GeneralRe: "There is no such object on the server" Error after Active Directory SetPasword call Pin
foluis29-Mar-10 6:52
foluis29-Mar-10 6:52 
GeneralRe: "There is no such object on the server" Error after Active Directory SetPasword call Pin
Hesham Amin3-Apr-10 23:55
Hesham Amin3-Apr-10 23:55 
Questionhow to attach picture to database ? Pin
E_Gold24-Feb-08 0:39
E_Gold24-Feb-08 0:39 
AnswerRe: how to attach picture to database ? Pin
Giorgi Dalakishvili24-Feb-08 1:04
mentorGiorgi Dalakishvili24-Feb-08 1:04 
QuestionVS2003 projects will not open ? Pin
Christian Graus23-Feb-08 23:57
protectorChristian Graus23-Feb-08 23:57 
AnswerRe: VS2003 projects will not open ? Pin
Ed.Poore24-Feb-08 7:15
Ed.Poore24-Feb-08 7:15 
GeneralRe: VS2003 projects will not open ? Pin
Christian Graus24-Feb-08 12:11
protectorChristian Graus24-Feb-08 12:11 
GeneralRe: VS2003 projects will not open ? Pin
Ed.Poore24-Feb-08 12:21
Ed.Poore24-Feb-08 12:21 
GeneralRe: VS2003 projects will not open ? Pin
Christian Graus24-Feb-08 13:05
protectorChristian Graus24-Feb-08 13:05 
GeneralRe: VS2003 projects will not open ? Pin
Ed.Poore24-Feb-08 15:23
Ed.Poore24-Feb-08 15:23 

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.