startup

Need to install service in vista with Admin rights and startup behaviour

I need to be able to programatically (from an installer program) install and run a windows service so that it will have elevated admin rights (the installer app has already elevated by this point), and also that it will restart at system startup with elevated rights. Is this possible? ...

Where to put GUI based start-up code in a Blackberry App?

I'd like to know the proper place to put GUI based sequential start-up code in my Blackberry app. In main(), I create MyApp and enterEventDispatcher() I have UiApplication (MyApp) In the MyApp CTOR: - I create a MainScreen (MyMain) - I call pushScreen() on MyMain When the event dispatcher starts, is there an event I can listen for in ...

How can I use the J2EE Timer Service API in the Servlet startup code?

For a background job which I would like to run in a J2EE container, I found the suggestion to create a startup servlet and use the Timer Service API to create a managed Timer (in the answers for What tools are there for timed batch processes in J2EE?). To create a timer, I need a context which implements the timer API. (Example) In th...

Firefox plugin that ask for some input at startup

I would like to know how to implement a dialog that show up when you first start Firefox to ask the user to enter some input. This input will be stored somewhere temporarily, and should be used later on by the plugin when required. I have full understand of how to implement firefox plugin (this includes understanding of XUL and Javascrip...

Application on windows startup C#

i have designed an application which validates users against online database and then allow users to work, after authentication it shows desktop, it loads on startup. i would like to start my login application at windows start up, i have added my login application path to registry it is started well with windows. but it has one issue fi...

Run Qt application on startup as Linux daemon

I've developed a Qt application which contains a TCP server and such. I'm now trying to make Ubuntu packages and let the application automatically start on startup. The application needs to be running even if nobody is logged in, which means a daemon started via a script in /etc/init.d/ I tried simply running the application on start a...

Long Application Startup times on WebSphere Application Server 6.1 FixPack 21

Hi, I'm seeing that my application startup times have grown long after I've migrated from WAS FixPack15 to FixPack 21. By application startup time, I mean the interval between the log statements : WSVR0200I: Starting application AND WSVR0221I: Application started This interval was less than 10 sec on FP 15, but it is 2 min on FP 21....

How to increase the startup speed of the delphi app?

What do you do to increase startup speed (or to decrease startup time) of your Delphi app? Other than application specific, is there a standard trick that always works? Note: I'm not talking about fast algorithms or the likes. Only the performance increase at startup, in terms of speed. ...

Should loading/startup dialogs be locked on top?

Introduction I have been so annoyed by applications that have a startup dialog which is Always on Top configured. By start dialog I mean the annoying box that tells you what program you just opened (and probably opened on purpose so useless information), who the program is registered to (most likely you, more uselessness), and some oth...

How can I run an application on startup on a Windows system which has been modified to not run explorer

SUMMARY How can I make my GUI application run on windows startup on a modified Windows box that will not start explorer.exe. Placing a link in Programs -> Startup folder doesn't get executed. My Application is graphical so I cannot just modify application to run as a service. Background I have an application that needs to run on...

Making Software/Money while travelling?

I keep hearing stories of developers having an endless summer on the back of their iphone fart apps and such. do you have any stories of a development style thats let you set your own schedule more. I tend to contract for 8 months and work on startups from home for 4 months over summer. This seems to just take me out of a cubicle. ...

Auto start click once application in a silent mode

I have an application that uses click once to deploy, and I have managed to get the application starting when a user log's in. My issues is that I need the application to start up hidden (I don't want a user to have to minimize it until they require it - I want it to sit in the system tray). Prior to using click once I simply checked th...

What is the best way to make a single instance application in Compact Framework?

I've seen all the answers for the standard framework What is the correct way to create a single instance application? Prevent multiple instances of a given app in .NET? What is the best way to make a single instance application in .net? How do I check whether another process with the same name exists using the compact framework? The 3 ...

Batch/CMD: Adding files to Startup list

Hello, How can a batch file lists itself in the startup list of Windows??? It doesn't matter if it goes from the registry or not. IF with the registry, please give also the command to DELETE the registry entry. This should work under all versions from ME to 7 please. Otherwise just XP/Vista/7. Thanks. ...

Starting synergy automatically on RHEL/CentOS

I have a Red Had Enterprise Linux 5 and a CentOS 5 box, both of which I am trying to configure to automatically connect to a synergy server on startup. I have followed the guide at http://synergy2.sourceforge.net/autostart.html and configured them the same way I configured previous Ubuntu 7.10 boxes, and this only seems to get me half wa...

Application Autostart Locations/methods for Windows (XP, Vista, 7) and Linux (GTK, KDE, ...)

I am developing a cross platform application that needs to auto start upon user login (not system start). What are the common locations/methods in invoking auto start for Windows/Linux. For example, are the Windows registry locations for auto start compatible across all versions of windows (XP, Vista, Windows 7, etc). And what about ...

Will a Delphi form always fire OnResize when it's shown?

If I create a new Delphi form, hook its OnResize event, and run the app, OnResize is fired before the window is shown. What I don't know is whether this will always happen, for any window. (For anyone familiar with the Windows API, I've traced it to the ShowWindow call in TCustomForm.ShowingChanged (Forms.pas line 5503 in Delphi 2007), ...

Run terminal command on startup of netbeans in mac osx

Hey, does anybody know of a good way to run a command in the terminal when you startup netbeans in mac osx? Either as an option in netbeans or as a feature of mac osx? I'd like automatically sync my local files with a remote folder on startup of netbeans, so I'd like to run an rsync command when netbeans starts up. Otherwise I forget and...

When do I have to call the startup() method of programmatically instantiated widgets ?

I create instances of dijit.layout.ContentPane, dijit.layout.StackContainer and dijit.layout.BorderContainer from my JS code. It seems I have to call the startup() method of programatically created instances. However, I'm not sure I have to call it for every widget. For instance, when I do a 'new my.foo.widget()', the startup() is fired...

How to automatically run JBoss app on startup, using RedHat

Not too long ago, I installed a java web application on a Red Hat server running JBOSS. After a recent reboot, I realized that the site did not start up automatically when the machine was booted. Is there an easy way to ensure that this happens? There are shell scripts to start and stop the application, something like : /opt/myApp/St...