Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c++ Pin
Alexander M.,28-Jul-05 9:09
Alexander M.,28-Jul-05 9:09 
GeneralVC Profiler Pin
RChin27-Jul-05 23:58
RChin27-Jul-05 23:58 
GeneralRe: VC Profiler Pin
Jack Puppy28-Jul-05 0:21
Jack Puppy28-Jul-05 0:21 
GeneralRe: VC Profiler Pin
RChin28-Jul-05 1:58
RChin28-Jul-05 1:58 
GeneralRe: VC Profiler Pin
Giles28-Jul-05 6:36
Giles28-Jul-05 6:36 
GeneralSearching for help on-line Pin
onlysaint27-Jul-05 23:54
onlysaint27-Jul-05 23:54 
GeneralRe: Searching for help on-line Pin
mark novak28-Jul-05 1:03
mark novak28-Jul-05 1:03 
GeneralProblems with Task Scheduler Pin
beedub27-Jul-05 23:21
beedub27-Jul-05 23:21 
I'm writing an application with Visual C++ that needs to use Window's task scheduler to launch another application at some time in the future.

My problem is that whilst I can create a task that is supposed to run in the future, the Next Run Time (when viewed through Control Panel->Scheduled Tasks) is always "Never".

I've found that if I open the task through Control Panel->Scheduled Tasks and then delete the last character of the 'Run' string and enter the character again (just so it flags the file as having changes made) then click OK, the "Next Run Time" field then has the correct date and time.

It seems that although I've been able to create the task as I need it, it needs to be 'enabled' somehow - something that happens when I save from the Windows GUI but not when its done through my code.

I've been using the example code on MSDN as a guide, however I haven't been able to find any differences that could indicate where I'm going wrong.

Does anyone have any ideas as to what I'm doing wrong?

My OS is Windows XP Professional with SP2 if thats significant.


Thanks,
Brian.
GeneralRe: Problems with Task Scheduler Pin
mark novak28-Jul-05 0:46
mark novak28-Jul-05 0:46 
GeneralRe: Problems with Task Scheduler Pin
David Crow28-Jul-05 5:19
David Crow28-Jul-05 5:19 
GeneralRe: Problems with Task Scheduler Pin
beedub28-Jul-05 6:17
beedub28-Jul-05 6:17 
GeneralRe: Problems with Task Scheduler Pin
David Crow28-Jul-05 8:57
David Crow28-Jul-05 8:57 
QuestionHow to make a splitted frame? Pin
Olgun27-Jul-05 23:01
Olgun27-Jul-05 23:01 
AnswerRe: How to make a splitted frame? Pin
Mohammed F. Salem28-Jul-05 0:30
Mohammed F. Salem28-Jul-05 0:30 
GeneralRe: How to make a splitted frame? Pin
David Crow28-Jul-05 5:24
David Crow28-Jul-05 5:24 
GeneralRe: How to make a splitted frame? Pin
Olgun28-Jul-05 23:23
Olgun28-Jul-05 23:23 
QuestionHow do i convert CString from MFC application to String in Win32 application Pin
santoshskulkarni27-Jul-05 20:46
santoshskulkarni27-Jul-05 20:46 
AnswerRe: How do i convert CString from MFC application to String in Win32 application Pin
Bob Stanneveld27-Jul-05 21:06
Bob Stanneveld27-Jul-05 21:06 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
santoshskulkarni27-Jul-05 22:14
santoshskulkarni27-Jul-05 22:14 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
Bob Stanneveld27-Jul-05 22:55
Bob Stanneveld27-Jul-05 22:55 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
santoshskulkarni28-Jul-05 0:58
santoshskulkarni28-Jul-05 0:58 
GeneralRe: How do i convert CString from MFC application to String in Win32 application Pin
John R. Shaw28-Jul-05 5:30
John R. Shaw28-Jul-05 5:30 
GeneralCView and Dialog Pin
Mohammed F. Salem27-Jul-05 20:35
Mohammed F. Salem27-Jul-05 20:35 
GeneralRe: CView and Dialog Pin
Cool Ju27-Jul-05 21:18
Cool Ju27-Jul-05 21:18 
GeneralRe: CView and Dialog Pin
Mohammed F. Salem27-Jul-05 22:22
Mohammed F. Salem27-Jul-05 22:22 

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.