I am developping a (relatively small) website in ASP.Net 2.0. I am also using nAnt to perform some easy tweaking on my project before delivering executables. In its current state, the website is "precompiled" using
aspnet_compiler.exe -nologo -v ${Appname} -u ${target}
I have noticed that after the IIS pool is restarted (after a i...
I have a simple .NET 2.0 windows form app that runs off of a networked drive (e.g. \MyServer\MyShare\app.exe). It's very basic, and only loads the bare minimum .NET libraries. However, it still takes ~6-10 seconds to load. People think something must be wrong that app so small takes so long to load.
Are there any suggestions for impr...
I have a need to remove temp files on tomcat startup, the pass to a folder which contains temp files is in applicationContext.xml
Is there a way to run a method/class only on tomcat startup?
...
I plan to develop website for exchange ideas for website, application, startups…
Main purpose of this website is exchange ideas for new project between programmers.
Please tell me if exist site like that, and what you think about this idea?
...
I really want to put in some sort of section handler into App.config that will execute some code before the application actually starts executing at Main. Is there any way to do such a thing?
...
Hi,
Is there a way to set a different value for service startup timeout per service?
I can change it using the ServicesPipeTimeout registry key, but it's per machine (http://support.microsoft.com/kb/824344).
At the moment the only thing I thought about was to do all the time-consuming startup actions in a different thread.
Thanks.
...
How do I run a batch file each time windows boots up also I need to run it in the back ground(without that command window getting displayed)? I use Windows Xp.
My actuall requirement is I want to start the Tracd server using the command line commands whenever Windows boots up.
Thanks...
...
I have an idea for a web-based service. The implementation is very complex. There will be very few users, and the traffice will be fairly low, but the server-side code could require a lot of resources. Ideally I'd need to have as much control over the servers as possible.
How should I arrange hosting for this, when it comes time to rele...
During practice of customizing VirtualPathProvider, I found that it the custom VirtualPathProvider can be registered in Global.asax or in AppInitialize method according to MSDN http://msdn.microsoft.com/en-us/library/system.web.hosting.virtualpathprovider.aspx. However, MSDN doesn't clearly describe the method AppInitialize.
Does any s...
How can I make a Click-once deployed app run a startup?
The best option I found by searching was to set the Publisher on the app to Startup, so the Start menu shortcut would be placed in the Startup folder, but that seems like a huge hack and I would like there to be a Start menu icon people can find.
What options do I have?
...
Anyone know of a way to guarantee plugin startup order? I have a plugin that I want to develop that will provide runtime configuration information to a 3rd-party plugin that I can't modify.
So, I want to make sure my plugin always runs to completion before the 3rd-party.
Anyone?
Eclipse 3.3, BTW.
...
Hi,
I'm trying to use the PYTHONSTARTUP environmental variable. I set it to be "c:\python25\pythonstartup.py" in My Computer --> Advanced etc., and it doesn't seem to work.
Opening IDLE doesn't run the script, although it recognized the variable:
>>> import os
>>> os.environ['PYTHONSTARTUP']
'c:\\python25\\pythonstartup.py'
>>>
I'm ...
What is the best way to send a password to a Windows Service? Our application needs a password in order to start. I don't care that services are "normally" supposed to run without user interaction. Its good enough for us that an operator can start the application and then log off.
On a unix system, I would just echo the password over ...
I need to add the "Run when Windows starts" option to my program CintaNotes, but do not want to sacrifice the "cleanness" of it: it is a 100% portable freeware and should not leave traces in the system.
I've come up with the idea to autodetect running from the Startup shortcut and automatically minimizing to the system tray. Is there a w...
I've been trying to switch from using PerlSetEnv to using custom configuration directives. I have my configuration module with a copy of set_val from the docs:
sub set_val
{
local our ($key, $self, $parms, $arg) = @_;
$self->{$key} = $arg;
unless ($parms->path)
{
local our $srv_cfg = Apache2::Module::get_config($se...
I created a service and what it does is writing information into a xml file.
Sometime, it seem to happen mostly with unscheduled reboot, the service cannot start because the file used is "locked". This error happen while the system is still starting up since my service is set to "auto start".
This is under windows 2003.
Anyone know wh...
I was thinking of making settings.py start the process but this seemed slightly ugly.
I don't really want to make make custom start up scripts, nor can I really make the starting of this process lazy.
...
Background: I'm creating a WPF app using MVVM, and using a DI container to build my ViewModels
My App.xaml looks like this:
<Application x:Class="WpfApp.App"
...xmlns etc...
StartupUri="MainWindow.xaml">
<Application.Resources>
<app:ServiceLocator x:Key="serviceLocator" />
</Application.Resources>
</Application>...
Hello all,
I have my c# program set to run when windows starts by adding it to the Windows Registry. It works fine, but here is my problem...
I want the program to start in the system tray, but only when it is started automatically by Windows. If the user double-clicks the program from the desktop, then I do not want the program to s...
Visual Basic 6 sometimes tries to install or complete the installation of other applications when it starts up. Why?
I've seen this a number of times over the years and it's very annoying. Recently, I installed Business Objects, just the SDK, plus all service packs to 3.5 on a VM and the first time I go into VB6 it says Windows Instal...