task manager inquiry

G

Guest

hey all,

i'm trying to use Windows' Task Manager to kick off my win form. Am I
correct to say that this is not going to work because everytime it runs I see
it task manager but no window ever shows.

no way around this?

thanks,
rodchar
 
G

Guest

Type AT /? at the command line, I think the option you are missing is the
/interactive flag...
 
T

Tom Shelton

hey all,

i'm trying to use Windows' Task Manager to kick off my win form. Am I
correct to say that this is not going to work because everytime it runs I see
it task manager but no window ever shows.

no way around this?

thanks,
rodchar

Hmmm.... I haven't tried a windows form app from the task scheduler -
but regular gui apps work. I see no reason why it shouldn't. Did you
make sure that you checked the exit code? Did the task actually run
succesfully? Often times, it means that the form did something that it
didn't have permission to do, so the program died...
 
G

Guest

well, all the window app is suppose to do is display a form. i can see it in
the Processes tab of the task manager but no form shows up. i also tried, as
a test, to schedule the game Hearts to start and the same thing happened
(shows in the Processes that it's running but no window.

now after reading your reply i tried it on a different machine signed on as
an administrator instead of a user and it worked. so where would i begin to
troubleshoot this where it would work on a user level?

thanks,
rodchar
 
G

Guest

ok, i just confirmed something. when i schedule the task on the pc it was
built on it runs fine. if i move the .exe file to a pc that just has the .Net
framework and no visual studio it doesn't show the gui but it shows up in the
processes.

any ideas?
 
P

Pete Wright

In terms of "ideas" - what account is the scheduled process running under on
the second machine? Is it the logged on user account, or something differnt?
I have a feeling if it's something different you won't see the UI, since
that could effectively be used to give a logged on user with lower
privileges access to an application that lets them do far more than they
should be doing.

Might also be worth making sure as well that the assemblies have been signed
and are thus trusted as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top