471,594 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,594 software developers and data experts.

task manager inquiry

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
Nov 21 '05 #1
6 1169
i meant task scheduler. sorry.

"rodchar" wrote:
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

Nov 21 '05 #2
Type AT /? at the command line, I think the option you are missing is the
/interactive flag...

"rodchar" wrote:
i meant task scheduler. sorry.

"rodchar" wrote:
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

Nov 21 '05 #3
In article <BB**********************************@microsoft.co m>, rodchar wrote:
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...

--
Tom Shelton [MVP]
Nov 21 '05 #4
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

"Tom Shelton" wrote:
In article <BB**********************************@microsoft.co m>, rodchar wrote:
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...

--
Tom Shelton [MVP]

Nov 21 '05 #5
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?
"rodchar" wrote:
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

Nov 21 '05 #6
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.
--
Pete Wright
Author of ADO.NET Novice to Pro for Apress
www.petewright.org

"rodchar" <ro*****@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
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?
"rodchar" wrote:
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

Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by James Conrad StJohn Foreman | last post: by
4 posts views Thread by ray well | last post: by
3 posts views Thread by Inbox.Mirror.Orbisoft | last post: by
reply views Thread by Inbox.Mirror.Orbisoft | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.