473,698 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Black window

Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?

Thanks!
Jul 18 '05 #1
8 1876
Gropius wrote:
Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?

Thanks!

Check out py2exe
http://starship.python.net/crew/theller/py2exe/
Jul 18 '05 #2
> Check out py2exe
http://starship.python.net/crew/theller/py2exe/


Ok, but i don't understand what to do..
Jul 18 '05 #3
On Sun, 04 Jul 2004 18:02:00 GMT, "Gropius" <ab****@ghijl.i t>
wrote:
Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?


Use pythonw.exe to run it instead pf python.exe.
But of course any output will be lost! So you might want to run
it with redirection to a file.

Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
Jul 18 '05 #4
"Gropius" <ab****@ghijl.i t> wrote in message news:<sC******* *************@t wister2.libero. it>...
Hi
i've a problem, i'd like that my application (for winxp) works in background
in the taskmanager (or in the systray) instead of in a window. How can i do?

Thanks!


In Win NT there are 3 ways to do this: run your application as NT
service, or write a GUI and make the main window hidden. Application
of the second type will work only if somebody is logged in on station,
but service will survive logouts.

L.E.
Jul 18 '05 #5
Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.

Jul 18 '05 #6
Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.
Jul 18 '05 #7
Gropius wrote:
Check out py2exe
http://starship.python.net/crew/theller/py2exe/


Ok, but i don't understand what to do..

Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.
Jul 18 '05 #8
Gropius wrote:
Check out py2exe
http://starship.python.net/crew/theller/py2exe/


Ok, but i don't understand what to do..

Windows NT services

You can build Windows NT services by passing a service keyword argument
to the setup function, the value must be a list of Python module names
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves
by calling them with certain command line flags, run the exe with the
-help argument to find out more.
Jul 18 '05 #9

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

Similar topics

12
19173
by: Penna Elabi | last post by:
How do I create a style sheet with black background and white text?
2
2176
by: D Cameron | last post by:
I'm using the (managed) Microsoft.DirectX.AudioVideoPlayback namespace to program an app where I want to quickly swap the video that is being displayed, playing the new video from the position where the old one left off. Here's a sample of the relevant code: // when this code is executed the current video // is happily playing current.Pause(); double pos = current.CurrentPosition; current.Ending -= endHandler;
7
2937
by: JCL | last post by:
I have a winform and on this winform, I have a WebBrowser control. Users can browse the web through this form. Is there a way that I can make web pages show up as grey scale pages, with the color being converted to black and white? In this way, users will always see a colorless web page when they access to the internet. Thank you, Chris
3
1982
by: moondaddy | last post by:
I have some text in a page that when a certain even happens, I need to make it glow from black to red (through a spand of 1 second) pause for a few seconds, and then slowly change from red to black over a span of 1 second again. Lastly, this needs to be compatible with NS 4 if possible, or if not possible, then at least so NS4 doesnt crash or get errors. This is to flag a user that something has happened. Thanks.
0
1646
by: kris_scheyer | last post by:
Ok, here's what im trying to do: I have a machine running XP embedded that has a webserver. I have a button on the aspx web form that is supposed to capture the screen of the computer hosting the webserver and display it on the browser. Now I already have the code that captures the screen of the webserver (using user32.dll and gdi32.dll) and when I run the web application on the ASP.NET Development Server using visual web developer 2005...
0
1107
by: shandy.b | last post by:
Hi all. Here's the problem: I've got a black box and a bunch of particles in an environment. The particles go into the black box, follow a path, and pop out the end after some processing. They are processed first-in-first-out, like a queue. Inside the black box is a physical layout that can be thought of as a series of pipes or a lineup at an airport checkin. The interior layout can change at runtime (ie, a pipe can be rerouted or...
2
3003
by: parasuram | last post by:
Hi friends ............. this is a question regarding the data structures trees Pleas post it if possible with in 2 days I will thankful if some body could help doing this. Operating system: windows xp compiler : Dev c++ Question is as folllows : Genaration of keys : Assume that your keys are character strings of length 10 obtained by scannig a c++ program. If a string has less than 10 characters make it up to 10 characters by...
2
11446
luke14free
by: luke14free | last post by:
Hello guys, I've been searching for a method to hide the console (as c/c++ user would say) under windows, but i found nothing really helpful. What I found is: 1) I need to rename file as pyw. But when I do so, code just doesn't give any output or open windows, it just close itself... 2) I need to create a "python" service...But how? Is there another simpler method to tell python that my main window is the frame and not the console? I'm...
12
2778
by: icarus | last post by:
platform: windows xp professional, python 2.5, wxpython When I double-check on my program file test.py (for simplicity I'll be using this code below), I see the window just fine. But the ms-dos black window pops up in the background. On Linux, no issues at all. How can I get rid of that ms-dos black window in the background? something I need to add to my code? a setting to adjust in windows? thanks in advance.
0
8668
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9012
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6515
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5857
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();...
0
4358
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
4611
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3034
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
2
2319
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1992
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.