473,466 Members | 1,294 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1276
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Pola | last post by:
Please Help I am using VC++ in win 2000 In my appl (Win32 project) I want to control the close operation of the apl (for example if somebody will try to close appl from the "Windows Task Manager")...
1
by: Alice | last post by:
Hi all How can i change the status bar icon for my website Or The icon shown in user's Task Manager for the browser process fetching my website Thanks in Advance Alic
0
by: James Conrad StJohn Foreman | last post by:
Does IBM publish a schema for the database that the DB2 task manager uses? Although we've got the task manager client installed on some windows machines, (a) most of our desktop machines are Apple...
6
by: Marcus | last post by:
Hi, I am a newbie at C#. Here is my current problem: I want my application to iterate through the list of tasks presented in task manager. I want it to look at the task names and if a certain...
4
by: Strah | last post by:
Is there a way to catch the event of terminating the application from the the processes tab in task manager? I have created windows app, and if a user termintates the app in the task manager,...
4
by: ray well | last post by:
on my developing system, when my app exits, it always gets removed withing a second from the task manager. on my clients machine, the app exits but stays indefinitely in the task manager. i...
5
by: NEWSGROUPS | last post by:
I have some users that continuously end task on my database when a search takes to long. In turn corrupting the application. Is there any way to prevent this? The Microsoft KB for Methods That Can...
3
by: Inbox.Mirror.Orbisoft | last post by:
In the last 1-3 weeks, we have had numerous users of Task Manager 2007 (www.orbisoft.com) complain that they can no longer export certain reports (Task Manager 2007 uses a Sagekey.com Access 97...
0
by: Inbox.Mirror.Orbisoft | last post by:
In the last 1-3 weeks, we have had numerous users of Task Manager 2007 (www.orbisoft.com) complain that they can no longer export certain reports (Task Manager 2007 uses a Sagekey.com Access 97...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.