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 6 1291
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
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
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]
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]
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 message should I get in my appl
thank you
Pola
|
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
|
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 and training with the task manager.
Thus, does anyone know of anything IBM have published to allow...
|
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:
System.Diagnostics.Process.Start("c:\\windows\\system32\\taskmgr.exe");
|
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
working.
Thanks in advance
Strah@Langan
| |
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
Application.Run(), i made an exit sub, in whichi set the app form to
Nothing, i set the apps class to...
|
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 would help.
Thanks in advance,
Mark
|
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 why this is happening?
|
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 why this is happening?
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |