startup

How to force a .NET application to cold-run

Hi, i am trying to run performance counters on a .NET application and i would like to ensure the environment is the same between rebuilds. So far i can only think that the best way is to reboot the pc before each test to make all test COLD. is there another way to achive the same environment without rebooting each time? ...

how to make my program ran at startup? vb.net

hi I'm programming a desktop application similar to Google desktop but with my own gadget with vb.net 2008 how can i make my application when the user install it on their computer to run at the time of start up ? let assume that my application name is windowsAplication1 and I'm using windows XP and the program will be installed on C dr...

How to make a iPhone keyboard not visible as it rises?

When my iPhone app starts up, the main screen has a keyboard. Currently the keyboard rises as soon as the rest of the interface is displayed and this is visually distracting. How can I have the view display with the keyboard already up? Since I am already faking some of the rest of the screen during startup so that the user sees what t...

Why is the startup of an App on linux slower when using shared libs?

On the embedded device I'm working on, the startup time is an important issue. The whole application consists of several executables that use a set of libraries. Because space in FLASH memory is limited we'd like to use shered libraries. The application workes as usual when compiled and linked with shared libraries and the amount of FLA...

How to make your program open on startup?

I want my users to be able to have my program open on startup. I am coding in vb.net. How can I go about doing this? I can't find a "system startup" folder anywhere that I could just copy a shortcut to. Thanks for the help! ...

ASP.NET application on IIS7 - very slow startup after iisreset

I have an ASP.NET 3.5 website running under IIS7 on Windows 2008. When I restart IIS (iisreset), then hit a page, the initial startup is really slow. I see the following activity in Process Explorer: w3wp.exe spawns, but shows 0% CPU activity for about 60 seconds Finally, w3wp.exe goes to 50% CPU for about 5 seconds and then the pag...

Are there any free web hosting solutions for a commercial startup using dJango?

There was a question about hosting for django on SO, but I am looking for free one, to experiment with my first "startup" :) There is only one free on http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts , but it couldn't be profitable (http://www.ambitiouslemon.com/). My app eventually will be, I hope! :) Do you know any easy to ...

Would you trust mono as a platform to build an startup?

I got "The question you're asking appears subjective and is likely to be closed." but you can answer YES or NO. -- edit: Subjective questions are those typically answered with an opinion, so what's so bad about asking the opinion of the community? Also BTW, I'm asking for your opinion, your opinion doesn't depend on the nature of my pro...

Measuring application startup performance

I'm using C++/CLI on Windows. It's an MFC app built with /clr. I want to test how long it takes my application to start up. The first time it took 10s, but subsequently it took 4s, 4s, 5s. I'm assuming this is due to Windows caching the DLLs. Is there some tool that will allow me to remove a directory from the cache, so that my test co...

Loading a wallpaper (or background layer) in a Cocoa app

I have created a very minimal OS X install on a USB stick to use as emergency boot media. Basically what the install is, is a clone of the Mac OS X Install DVD with the installer and packages stripped out. I have my own launch daemon starting an app launcher when the install starts. The problem right now is that the wallpaper is just a ...

java 1.6 SystemTray icon does not appear on windows startup

I have a Java 1.6 desktop application, started with javaw from a batch file on Windows XP. There is a .lnk link to this batch file, which is placed to windows Startup folder in order to start this application on every system boot. The application uses SystemTray class to display an icon on the system tray in case it is running. Starting...

Necessary and sufficient validations upon application init

Hello again. I have a new puzzle for you :-). I was thinking on how should an application handle his own start up. Like : checking for required libraries, correct versions, database connectivity, database compatibility, etc. To be specific, here is the test case. I use SWT and Log4J, for obvious reasons. Now, the questions : Should ...

Micro-ISV License Costs - .NET Or Open-Source?

I've started developing a website in ASP.NET MVC and have taken part in the BizSpark program. The only part that concerns me is the licensing cost of SQL Server Enterprise after the three year period is up. Given this cost, and the potential outcome that this product may not 'take off'; should I rewrite the application in a 'free' plat...

How to test application's startup time or performance

There is a free tool called AppTimer-http://www.passmark.com/products/apptimer.htm. But i think it's not quite fit for my needs. Windows provides a tool called xperf, is there a way to use it to test/benchmark application' startup? ...

Forcing Winforms install to make application to start when windows starts

How do I force a windows application, with a setup project being added to it, to install so that it will start everytime someone logs into windows? Edit: I'm aware of the registry settings, but specifically, I am looking for a solution which will allow for the installer to set the registry values. ...

Is it possible to run a VBA function whenever Outlook starts up?

I would like to have a VBA function run as soon as Outlook starts up. Is this possible and if so, what do I need to do? My searches on Google have failed me. I don't mind that the security alert will pop up. ...

Can Tomcat be configured to fail to start if a webapp fails to start?

I'd like to configure Tomcat 5.5 to fail to start if any of its webapps fail to start. Is that possible? I can't find any configuration element in the documentation that suggestions that this can be done. ...

Hibernate Unable to Start On Large-Scale Database

Hello, I have been using Hibernate + HSQLDB on my desktop for developing a database adapter for my application. For legacy reasons, the IDs are generated by the application as strings. All was working fine then. Now, we have a pre-prod database, with a bit more than a million records. I had to do some changes (e.g. identifier too long)...

C# - Minimize to tray at system startup

In my application, I have an option to start the application when Windows is started. That works great. I also have it so that, when minimized, the application is minimized to the system tray. Is there a way that I could have it be automatically minimized when started up at the same time as Windows? The only way I could think of, is ...

How to create windows service from java jar ?

I am having an executable jar file. Is it possible to create windows service of that jar? Actually i just want to run that on startup, but i don't want to place that jar in my startup folder, neither in registry. ...