Questions tagged [startup]

Startup usually refers to the processes or events that occur at the start of a program, at the beginning of execution of a code block, or when a device is first booted.

2846 questions
1
vote
1 answer

Openerp8 startup error: AttributeError: 'bool' object has no attribute 'endswith'

I'm trying to run two instances of OpenERP on the same machine, but whenever I launch the second one it crashes. It is the same user that is launching the two instances of OpenERP and in the same postgresDB but, I launch each instance of OpenERP…
ocespedes
  • 1,233
  • 4
  • 14
  • 27
1
vote
0 answers

Java, Derby DB: Long startup time (10 minutes) after running for a month

I'm using Derby as my database of choice for my java application. The application basically stores a lot of information from different network resources while it’s running. It's basically just collecting information and stores it in the Derby DB. In…
Markus
  • 1,452
  • 2
  • 21
  • 47
1
vote
2 answers

Media player not starting after stopping

below is my code for media player. It doesn't start again after I stop. How to solve this? Even though I have called the prepare method before calling the start method. Also why doesn't the music stop playing even after I exit the programme. Please…
1
vote
1 answer

Cannot start WebMatrix with Administrator privileges at StartUp

Cannot start WebMatrix with Administrator privileges at StartUp. I already tried: 1) sc create {servicename} binPath={path} 2) schtasks.exe /Create /RU {username} /RP {password} /SC ONLOGON /TN {taskname} /TR {path}
d0kt0r1
  • 305
  • 1
  • 3
  • 15
1
vote
1 answer

main methods while setting startup projects

I'm trying to set two startup projects in my solution, and I have three projects. So I tried to exclude the Main method in my third project that I do not set as a startup project, and somewhy when I run the solution, it tells me that I don't have a…
ByoTic
  • 333
  • 1
  • 4
  • 16
1
vote
0 answers

Is it a Bad Thing to put WPF Main function inside Try/Catch block?

I want to circunscribe this question to the specific context of WPF aplications. The accepted answer says "You should only to catch exceptions that you can actually do something about" and also "Note that if you're simply trying to catch any…
heltonbiker
  • 26,657
  • 28
  • 137
  • 252
1
vote
1 answer

Load methods on bootup, Aurelius Titan with Rexster

Is there a way to load gremlin methods into the rexster/Titan on bootup? This way I don't have to resend these methods each time I want to use them via rexpro. Currently I do stuff like this (trivial example): rexpro_client.execute("def…
Automatico
  • 12,420
  • 9
  • 82
  • 110
1
vote
1 answer

Run script on login gnome

I just installed the Cairo dock in gnome and would like to hide/remove the standard dash in gnome. I followed the instructions on the Cairo website (here). If i run the code in the terminal it works but i would like to run it on startup: dbus-send…
tadzi
  • 89
  • 1
  • 9
1
vote
1 answer

GPO Run powershell startup script without waiting for it

I'm trying to set a powershell startup script for the PCs in my windows domain. The script takes about 20 seconds to complete and i dont want the boot process to wait until it finishes. I set it like described in this article…
user1569244
  • 13
  • 1
  • 3
1
vote
3 answers

Display Random image on each start up android application

Could someone please help me out with a code EXAMPLE to randomly display a picture from the my drawings folder? i am new developer so i have no idea how to do it. Thanks! My Requirement is: Display Random image (image should change on each start up)
mali
  • 21
  • 5
1
vote
3 answers

How to start application on Windows startup?

I'm creating C++ application and would like to give my users an option to start my application when starting windows. First thing to mind is that I use windows registry to set that, but don't know where to write and what to write. Also, do users…
Tracer
  • 2,544
  • 2
  • 23
  • 58
1
vote
2 answers

How to start gui application on startup in linux ubuntu

I have gui application made in Qt and I wont to start it when desktop loads. I have tried to do this from terminal like this: sudo cp MyApp /etc/init.d sudo chmode 0777 /etc/init.d/MyApp sudo update-rc.d MyApp defaults but when I restart computer…
user2880783
  • 145
  • 6
  • 18
1
vote
1 answer

Run application on startup in Windows 8 C#

This code: RegistryKey rKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); rKey.DeleteValue(Application.ProductName, false); rKey.SetValue(Application.ProductName,…
1
vote
2 answers

Start an App right after login - Mono / Windows Forms

I tried many different ways to add an executable (winforms) created in C# using mono to start automatically after login, but any attempt was not right. Does anyone know how can I do it? I'm running a Raspbian (Raspberry Pi). Thanks since now!
Erik Figueiredo
  • 325
  • 1
  • 5
  • 17
1
vote
1 answer

How do I trigger execution of apk on event in android?

I have programmed a SMS handler application in Java and I would like to start my application on start up, as well as triggered on text message broadcast received. Does anyone have any idea how to accomplish this and where to begin my research ?
Ben O
  • 159
  • 1
  • 10