473,570 Members | 2,937 Online
Bytes | Software Development & Data Engineering Community
+ 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 1282
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************ *************** *******@microso ft.com>, 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************ *************** *******@microso ft.com>, 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*****@discus sions.microsoft .com> wrote in message
news:E6******** *************** ***********@mic rosoft.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
2572
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") I want to know in my appl what message to expect from "Task Manager", when user will try to close my appl from the "Windows Task Manager". what...
1
2633
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
1419
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 Macs and therefore gloriously incompatible, and (b) I'd like some of my managers to be able to see the status of tasks without giving them access...
6
7144
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 task exist in the task list I want to kill it (as nice as possible). I started the task manager with the following row:...
4
15909
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, I'd like to be notified. I tried few combinations of Close, Closing, Application.Exit method, ApplicationExit Event, etc, but nothing seems to be...
4
1310
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 tried every which way to kill the process, i did all of the following to no avail: in the module whose sub main loads the form and then starts...
5
2188
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 Be Used to Prevent Corruption suggests not allowing Task Manager to shut down the application but gives no way to prevent this. Any suggestions...
3
2940
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 runtime) to Excel 2003 or Word 2003 format. They say they get an error message then both Task Manager 2007 and Office 2003 shut down. Any ideas...
0
1796
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 runtime) to Excel 2003 or Word 2003 format. They say they get an error message then both Task Manager 2007 and Office 2003 shut down. Any ideas...
0
7726
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7948
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7700
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5523
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3682
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2131
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 we have to send another system
1
1238
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
971
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.