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

C#

 
GeneralRe: Search MyFileName*.* file Pin
Stefan Troschuetz30-Apr-04 1:57
Stefan Troschuetz30-Apr-04 1:57 
GeneralThread problem Pin
azusakt30-Apr-04 0:44
azusakt30-Apr-04 0:44 
GeneralRe: Thread problem Pin
Corinna John30-Apr-04 1:41
Corinna John30-Apr-04 1:41 
GeneralRe: Thread problem Pin
Jan Vercauteren30-Apr-04 2:49
Jan Vercauteren30-Apr-04 2:49 
GeneralRe: Thread problem Pin
Heath Stewart30-Apr-04 3:53
protectorHeath Stewart30-Apr-04 3:53 
Generalupdating system time in c# Pin
bennyrascal30-Apr-04 0:37
bennyrascal30-Apr-04 0:37 
GeneralRe: updating system time in c# Pin
John Baird30-Apr-04 2:47
John Baird30-Apr-04 2:47 
GeneralRe: updating system time in c# Pin
bennyrascal30-Apr-04 3:21
bennyrascal30-Apr-04 3:21 
Pulled this description of CType from a .NET forum:
Q: What are the differences between Ctype and (cint,cstr,cool,etc...)
S: VB.NET
A: The Ctype keyword is used to perform an explicit conversion also known as casting, the Ctype keyword when used will also check for a valid destination data type or an error will occur, such as converting a long to integer. The other keywords Cint, Cbool,etc do not check for valid data types and they are about 3 times faster than Ctype because the code is included in the MSIL.

i think it is not relevant to the problem. SetSystemTime has one parameter sent to it and it is a datatype which is the structure which the program defined as SYSTEMTIME. When i trace the code stopping at the
"result = SetSystemTime(timeStru);" statement in both VB and C#, i can see the data that is parsed to it. The actual time and date fields are the same. The top level of the structures are a little different though. it is easy to test my code as i pasted most of it. Only needs a few using statements and a small wrapper to get it going. i'll supply the whole lot if asked for.

benny



GeneralRe: updating system time in c# Pin
Heath Stewart30-Apr-04 3:59
protectorHeath Stewart30-Apr-04 3:59 
GeneralRe: updating system time in c# Pin
bennyrascal30-Apr-04 14:20
bennyrascal30-Apr-04 14:20 
GeneralInvoking Console Application at runtime Pin
Aryadip29-Apr-04 23:28
Aryadip29-Apr-04 23:28 
GeneralRe: Invoking Console Application at runtime Pin
leppie30-Apr-04 7:08
leppie30-Apr-04 7:08 
GeneralRe: Invoking Console Application at runtime Pin
Aryadip4-May-04 20:24
Aryadip4-May-04 20:24 
GeneralArchitectural question (crisis) Pin
Jan Vercauteren29-Apr-04 21:48
Jan Vercauteren29-Apr-04 21:48 
GeneralRe: Architectural question (crisis) Pin
Anonymous29-Apr-04 23:05
Anonymous29-Apr-04 23:05 
GeneralRe: Architectural question (crisis) Pin
Anonymous29-Apr-04 23:06
Anonymous29-Apr-04 23:06 
GeneralRe: Architectural question (crisis) Pin
Jan Vercauteren30-Apr-04 0:37
Jan Vercauteren30-Apr-04 0:37 
GeneralRe: Architectural question (crisis) Pin
bjoernen30-Apr-04 1:54
bjoernen30-Apr-04 1:54 
GeneralRe: Architectural question (crisis) Pin
Jan Vercauteren30-Apr-04 2:46
Jan Vercauteren30-Apr-04 2:46 
GeneralRe: Architectural question (crisis) Pin
Heath Stewart30-Apr-04 4:05
protectorHeath Stewart30-Apr-04 4:05 
GeneralRe: Architectural question (crisis) Pin
Jan Vercauteren30-Apr-04 4:55
Jan Vercauteren30-Apr-04 4:55 
GeneralRe: Architectural question (crisis) Pin
Heath Stewart30-Apr-04 5:10
protectorHeath Stewart30-Apr-04 5:10 
GeneralRe: Architectural question (crisis) Pin
bjoernen30-Apr-04 11:51
bjoernen30-Apr-04 11:51 
GeneralRe: Architectural question (crisis) Pin
Jan Vercauteren30-Apr-04 13:07
Jan Vercauteren30-Apr-04 13:07 
GeneralStupid string to int question Pin
Anonymous29-Apr-04 20:53
Anonymous29-Apr-04 20:53 

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.