FAQ Database Discussion Community


My form is submitting multiple database entries and I don't want it to

php,html,mysql,forms,multiple-instances
I have a simple html form and a php file to execute a database insertion. The problem I am having is that when I press the submit button, my database table receives 3 copies of the same submission and I only need one. Below is the code. html: <!DOCTYPE html>...

Multiple instance of media player issue in android

android,media-player,multiple-instances
I am working with MediaPlayer in Android. I have all the list of songs name and URLs of songs from server. when I click on any item a song from server is played in MediaPlayer. Here is my code for playing song on click of "Listview" item. txtEndTimingForMediaPlayer.setText(""); txtStarTimingForMediaPlayer.setText(""); seekBarPlayer.setProgress(0);...

Can I run multiple private docker registry behind load balancer?

load,load-balancing,private,multiple-instances,docker-registry
I was wondering if it's possible to run multiple docker registry hosts under an ELB or (any load balancer for that matter). I am planning to run the private docker registry inside a docker container. Has anyone tried that? Any ideas for how to have Docker registry containers autoheal without...

Running multiple instances of the same application using .NET multithreading

arrays,vb.net,multithreading,process,multiple-instances
I have two .NET applications. One is a standalone console application that launches multiple instances of the second application, passing each one different array of arguments. I start the second application using Process.Start. I need to ensure that each app instance has its own space in memory and I am...

Batch to process files one by one

windows,batch-file,multiple-instances
I have a batch file to compress PNG files. When I drag and drop some files on batch, it starts to process all of them in the same time. And it becomes useless when I tried with hundreds of files (sure) The main part is something like that (simplified) START...

Clearing multiple timeouts properly

javascript,settimeout,multiple-instances,scoping,cleartimeout
I've been struggling for the past day trying to solve this one. I'm trying to get some funky text effects going, basically a glorified string creation. It writes a line a bit like a billboard and to do it I've used setTimeout. Thing is I would like to put it...

Creating a dynamic expandable toolbox

c#,wpf,menu,itemscontrol,multiple-instances
I'm trying to create a dynamic expandable toolbox, like shown on the picture below. The custom control will put the different items in the base and advanced menus depending on the available space. If there's enough space to display all the items in the base menu, then the advanced menu...

Starting multiple tomcat instances in one server with init.d script

centos,tomcat7,multiple-instances,init.d
I'm trying to configure tomcat init.d start script to work with multiple instances (at this time 2 instances) I'm following below sample script to create init.d script #!/bin/bash # # tomcat This shell script takes care of starting and stopping Tomcat # # chkconfig: - 80 20 # ### BEGIN...

Running multiple instances of one tcl script

multithreading,bash,tcl,expect,multiple-instances
Currently I am reading in host names from a file using a foreach command and using this hostname to connect to the device. All this is done within my TCL script. Is there a way I can run multiple instances of the script so that each device is queried separately?...

Eclipse - Running the same project twice

android,eclipse,multiple-instances
I have managed to create my first app called RoomFinder and it works fine. I have now managed to create RoomFinderNFC which uses NFC technology. To create RoomFinderNFC I created a new workspace and imported/copied Roomfinder into a new workspace. My plan was to have RoomFinder installed on my phone...

How can a single installer 'Setup.exe' be used to install multiple instances of same application

windows-installer,installer,installshield,multiple-instances
I have created a installer of type InstallScript MSI installer using InstallShield 2008 and it is working. Now I want to install multiple instances of same product on same machine using same installer. I want to show them as a separate application in Add/Remove programs and also a separate directory...