Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hai.

i Creating the wmi function to schedule the task.

parameter i set as follows

C#
method.SetInParam(L"Command",chFileArgs);
        method.SetInParam(L"DaysOfMonth",65536);
        method.SetInParam(L"DaysOfWeek",8);
        method.SetInParam(L"StartTime",?????);


how to set the start time (???????)

i can give start time as method.SetInParam(L"StartTime",L"20111117120555.000000+320");

But how to give user input. in that place ..
Posted
Updated 16-Nov-11 20:56pm
v2
Comments
Mehdi Gholam 17-Nov-11 2:56am    
EDIT -> fixed formatting
@BangIndia 17-Nov-11 2:57am    
i Can understand..

how to give the userinput in the place

1 solution

http://www.epochconverter.com/programming/functions-c.php[^] I think this should give you very good startup ..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900