app-startup

viewDidAppear: called twice on modal view controller presented during startup

Resolution: While trying to recreate this bug in a fresh project to submit to Apple, I discovered that it is specific to iPhone OS 2.1, and compiling for 2.2 fixes the problem. Stephen, thanks for your help; I'll be accepting your answer since it would have worked if the bug still existed or I wasn't willing to compile for 2.2. I hav...

Starting a .NET Application From CD?

Hi there, we're trying to figure out a way to build a .NET application that can run entirely self contained from a CD. Basically user pops in a CD, boots to an operating system on the CD and a barebones .NET Framework starts up with the application. We've looked at hacking the .NET Framework into WinPE but realize it's really an unsupp...

.NET WinForms startup crash

Looks like that on some clients our WinForms up crashes on startup. With some I mean very very rare. In one situation we found out that the Arial systemfont was corrupt and caused the crashed in the InitializeComponents on startup. Finding that our was very hard, the only clue was an event log entry that the System.Drawing module caused ...

ClickOnce App won't start up under a given profile

This issue has come up 3 times in our environment. After installing the clickonce application, I expected it to startup automatically (as I have it set to do after install completes) but it did not. I try running the app from the shortcut and it brings up the "Launching Application" dialog but then immediately closes and the applicatio...

Application_Start versus OnInit versus constructor

I've gone rounds with this ever since I started programming classic ASP 12 (or so) years ago and I've never found a great solution because the architecture of ASP and ASP.NET has always been a swamp of bad practices, magic shared singletons, etc. My biggest issue is with the HttpApplication object with its non-event events (Application_S...

Start RScript without DOS box (on Windows)?

For a tcltk application, I would like to start an R script without opening a console window or starting a DOS box. I already figured out that by creating a link to RScript.exe I can force the console window to start minimized, but I wonder if I can avoid the console window at all? ...

Improve WPF Application Coldstart: Suggestions to run program when machine starts up.

Is it possible to load your WPF application when the machine starts up? Our WPF application is taking 30 seconds on our existing client hardware, and we'd like to "hide" that by having our application startup when the machine is booted. But the fact that our application boots on startup should be invisible to the user. How would we go...

Why is my application startup time slower when I use Process.Start()?

I'm trying to profile the startup time of my application, so I wrote a small C# program that will start my application using the Process.Start() method, and time it using a stopwatch. When I try to start the application myself (by just clicking on it), it probably takes 2-3 seconds. When I try to start the application using my test pro...

App crashes immediately on iOS 3.x when compiled with Release build configuration

I'm facing quite "mysterious" problem. My App works fine with all build configurations on devices running iOS 4.x, but it crashes on iPhone running iOS 3.x immediately after launch, but only when compiled with Release configuration. With Debug config it runs with no problems, though. I've spent a lot of time investigating possible cause...