473,598 Members | 3,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Service starting Notepad not showing in tasklist

I have a Windows Service I am trying to get to work, which is not working
correct, but one of the things it does is start Notepad.exe.

The program seems to be doing this and it shows in the Tasklist, but I don't
see it running. When I kill it from the Tasklist, it starts back up again
(it shows in the Tasklist), but again I can't see it.

Why is that?

Thanks,

Tom
May 20 '06 #1
2 1714
tshad wrote:
I have a Windows Service I am trying to get to work, which is not working
correct, but one of the things it does is start Notepad.exe.

The program seems to be doing this and it shows in the Tasklist, but I don't
see it running. When I kill it from the Tasklist, it starts back up again
(it shows in the Tasklist), but again I can't see it.

Why is that?

Thanks,

Tom


By default windows services do not interact with the desktop. This is
by design and usually you do not want a service to have a UI.

Chris
May 20 '06 #2
"tshad" <ts**********@f tsolutions.com> schrieb:
I have a Windows Service I am trying to get to work, which is not working
correct, but one of the things it does is start Notepad.exe.

The program seems to be doing this and it shows in the Tasklist, but I
don't see it running. When I kill it from the Tasklist, it starts back up
again (it shows in the Tasklist), but again I can't see it.


See (complete thread):

<URL:http://groups.google.d e/group/microsoft.publi c.dotnet.langua ges.vb/msg/302836ce5d2e2c7 7>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

May 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2242
by: Jay Haslup | last post by:
I am trying to figure out how to get the CMD (dos) window to come up when I call a executable. I have this working on a Win2000/apache machine and am trying to use the same code on a identical machine. Here is how I start the executable. It is initiated from the browser on the machine itself: pclose(popen("start " . $exe . $params, "r")); What normally happens is a cmd window pops up showing the executable's output to screen. My...
6
3417
by: Laszlo Zsolt Nagy | last post by:
Sorry, I realized that the import zlib was not executed from my (working) service. So here is the question: why can't I use zlib from a win32 service? Is there any way to make it working? >------------- >Python could not import the service's module > File "T:\Python\Projects\NamedConnector\Service.py", line 17, in ? > from Processor import * > File "c:\Python\Projects\NamedConnector\Processor.py", line 35, in ?
5
3169
by: Guadala Harry | last post by:
I want to add comments to my code and have them show up in the Task List. When I enter lines like the following, they do not appear in the TaskList. // TODO Fix this function. What could be preventing these items from showing up in the TaskList? FWIW: using VS.NET 2003 Enterprise Architect. Thanks in advance.
4
19005
by: Dao | last post by:
I have created a windows service called MyService. I followed the MSDN sample code to add the following code but it did not work. What I tried was that to start another or external program when MyService starts. I used notepad.exe as an example of a program to be called when MyService starts. I have tried both in the InitializationComponenet() then in the OnStart() Method but none of them work. Any help would be appreciated. private...
1
2086
by: kemp100 | last post by:
guys..i am having a hard time with this one.. i have created a service which works fine..except when i want to execute another program (notepad.exe)...i know how to execute itusing PROCESS.start() but the problem is ..i dont see it on the desktop..it is not interacting with the desktop...i know how to change it in the admin options but i need to know how to do it in the CODE...to have it run the service and run notepad.exe on the...
5
2864
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason (other than the service being stopped) it would restart it. I have written the service to do just this, and for testing purposes I am running the program Notepad. And I even have it making entries in the System Event Log. However, and this is my...
1
1870
by: Eddie D | last post by:
I've got a working WINFORM application that I'm trying to convert to a Service (either Windows or Web). Objective is to open Microsoft Access / Run a Report to Disk / Close Access. (KB article q317113). My problem is that certain lines of code result in errors and not sure how to work around it. I think it is because there is no "user interface". dim oAccess as access.application shell("c:\...msaccess.exe" dbname / startup options...
1
3269
by: Qais | last post by:
Hi there all, i am trying to work on this for past two weeks but nothing seem to work. I am trying to launch a process from windows service (i have to do this way, no other option). Windows service is running under system account with interaction with desktop enabled. The application i want launch is a vb.net gui application. I have tried using wmi, windows api, managed system.process.start method but all have one problem or the other....
3
3797
by: tshad | last post by:
I created a service in VS 2003 and the code works fine as an application, but not as a service. It installs fine, but when I try to start it, it tells me it was unable to start. Am I missing something here? Here is the program.
0
7899
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,...
1
8050
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,...
0
8264
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6718
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, 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...
0
3897
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3939
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2412
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
1504
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1250
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.