Questions tagged [app-startup]

Concerns that are a focus of application startup include configuration, startup time optimization, locking/threading/race conditions, preconditions, and configuration changes.

Application startup concerns include:

  • Configuration (e.g., database connection strings, SMTP server names, etc.)
  • Startup time optimization
  • Locking/threading/race conditions
  • Checking preconditions (e.g., presence of required folders / files, security checks)
  • Handling of configuration changes (i.e., whether the application has to be redeployed / recompiled / restarted)
176 questions
0
votes
1 answer

Changing/retrieving configuration settings on role start (Azure)

I'm trying to make a service to more easily configure configuration values on Azure applications. Right now, if I want to change a setting that it the same over 7 different environments, I have to change it in 7 different .cscfg files. My thought…
0
votes
1 answer

Add program to autorun without admin rights. RegSetValueEx() returns 5 (ERROR_ACCESS_DENIED)

I want to add my program to autorun. I know there is a registry key for it that doesnt require admin rigths to edit it. It's HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. I'm using unicode bild. I wrote a function that is for…
Alexander
  • 959
  • 5
  • 11
  • 29
0
votes
0 answers

C# Inherit class to execute standard startup code

we have a suite of applications for which I'd like to execute some standard code when the applications start in the Main() routine. I was hoping I could do this via inheritance without having to put the same code in each occurrence of the Main()…
mattpm
  • 1,310
  • 2
  • 19
  • 26
0
votes
0 answers

Adobe Flex AIR - detect shift key already down?

I want to allow a user to override the persistent configuration flags to automatically start and automatically close when complete. One idiom is to detect the Shift key down on startup. How can I detect the shift key down? I tried adding a…
Richard Haven
  • 1,122
  • 16
  • 31
0
votes
1 answer

Call SmsBroadcastreceiver from onBootBroadcastreceiver?

I have a Sms Broadcast Receiver class that extends broadcastreceiver to handle incoming sms, I want to make it running on boot. How can I activate it from my onBootReceiver class that extends broadcastreceiver too? my SmsBroadcastReceiver.java look…
galeka
  • 79
  • 2
  • 4
  • 10
0
votes
1 answer

get app startup path in wcf

In vs2008 (C#): I have : a main project (windows app) WCF Library WCF Host WCF Client (Windows app) For testing my service with created client, I call my client form in my main proj and after getting the input requirement of service by this form,…
Shima.Y
  • 373
  • 4
  • 9
  • 18
-1
votes
2 answers

Maui Blazor Set Startup Page on Open

Seems a simple enough task, but I'm stymied: I want to direct the startup page of the app based on a LocalStorage setting. I'm able to get (and set) LocalStorage without problem, but can't seem to find how to redirect. app.xaml.cs does the…
dwneder
  • 19
  • 3
-1
votes
2 answers

Android app too slow. Ways to accelerate?

I've just wrote my first Android app with Android Studio. It's a vocabulary trainer and it reads in a text file in my assets folder when starting, which contains all the words (until now, I have only ~1000) like this: english$japanese$category. So,…
-1
votes
2 answers

How do I make this Linux script

Ok so I have saved it as test.sh and chmod +x the script. nmcli con up id myvpn= /opt/google/chrome/google-chrome %U geany /home/crunch/downloads/lr.txt I execute it using terminal however it only connects to the vpn and runs chrome, Geany only…
-2
votes
1 answer

RecyclerView onBindViewHolder method increases startup time?

I'm new to android app development and i have recently made my first app containing a basic tablayout with two fragments in my MainActivity. In my second tab, it consists of only one RecyclerView as a rootlayout. What i did was populating the…
-2
votes
1 answer

How to Save Images from A Program Ran from Ubuntu Application Start-up Command

We're trying to run a program at start with Ubuntu's Application Start-up command. We're successfully starting the camera and viewing the images. But the images are not saving to the folder we expect them to be saved too. The program works…
Sky Walker
  • 23
  • 4
1 2 3
11
12