multi

Multi Select combo box in dojo grid

I've implemeneted customised single select combo box as a cell element in dojo grid. Can someone tell me how to implement multi select conbo box? ...

Gathering Data: Dynamic Text Boxes.

Edit: if someone could also suggest a more sensible way to make what I'm trying below to happen, that would also be very appreciated I'm building an multiPage form that takes a quantity (of product) from a POST method, and displays a form sequence relying on that number. when the user goes to the next page, the form is supposed to colle...

How do I keep my world data in synch in a multi-threaded game engine?

So I'm trying to create a simple multi-threaded game engine for the game I want to write. So far, everything has worked without any problems, I even know what steps I have to take to finish it. There is only one thing I don't know (well, technically, I know a solution for it, but I'm hoping there is something more elegant and faster): B...

Reading from Excel (Range into multidimensional Array) C#

Hello, How would I read from an Excel sheet and load the marked selection (Area) into an multidimensional array? A column in Excel could itself be a multi dimensional array since it would contain more than just one value. The idea (not sure how good or bad this is) is right now is to do a for loop through all the Excel.Area (selected ...

speed up operation on mysql

I'm currently writing java project against mysql in a cluster with ten nodes. The program simply pull some information from the database and do some calculation, then push some data back to the database. However, there are millions of rows in the table. Is there any way to split up the job and utilize the cluster architecture? How to do ...

Avoid deadlocks in a multithreaded process

What are the best practices/idioms should someone follow in order to avoid deadlocks? ...

jQuery moving MultiSelect values to another MultiSelect

So I have a MultiSelect box with x values which I need the ability to move to another MultiSelect box and vise versa. <select class="boxa" multiple="multiple"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </select> <select c...

.NET Remoting Client's Problem when running on the machine with Multi NICs

I built a .NET Remoting Client which works quite fine on the machine of single NIC, and lots of testing messages received via remoting event. But when additional NIC was added, the Client seemed to be able to connect the remoting Server, but the testing messages cannot arrive anymore. From debugging, the server end did trigger the even...

SQL query join elements

Hi guys. I will re-write my doubt to be more easy to understand. I have one table named SeqNumbers that have only one collumn of data named PossibleNumbers, that has value from 1 to 10.000. Then I have another Table named Terminals and one of the collumns have the serial numbers of the terminals. What I want is get all the SerialNumbers ...

Multi Criteria Search Algorithm

Hello, Here's the problem : I've got a huuge (well at my level) mysql database with technical products in it. I ve got something like 150k rows of products in my database plus 10 to 20 others tables with the same amount of rows. Each tables contains a lot of criteria. Some of the criteria are text values, some are decimal, some are just...

VS2005 c# multi threading: how to launch 10 threads

What is the best way to launch 10 threads like in a for loop for a process intensive method. A code example would be very helpful. for (int i = 0; i<=10; i++) //10 threads are intended. { LongRunningMethod(); } ...

Java Multi threading synchronization problem?

Hi Guys, I think I have a synchronization problem...It may be too basic..Please help.. I have a thread the run method of which is below public void run() { while(true) { try { for (int i = 0; i < 100; i++) { buf.append(hello + (myint++)); } ...

multitouch not working in uitabbar controller

Hi, I wrote a Simple View Controller with multi touch function (swipe left, swipe right). It works fine if I set it to window directly. But after I added a tab bar controller and add this Simple View in its selected view, the multi-touch event won't get fired any more. Please help. Thanks. ...

Multi-domain deployment of Google App Engine (GAE) apps

We would like to develop and sell custom commercial GAE applications. I would like information on the deployment of GAE applications on arbitrary Google Apps domains (i.e. not appspot). Suppose our company is abc.com and we are selling app to def.com and xyz.com. What are the steps to deploy our app on our customer's domain? When an ...

Storing Multi Choice Field into in SQL Server 2008

I'm writing an app in .NET, and using a dropdown checkbox. I'm not sure what the best practice is for storing this info in the db. Currently I'm writing back a comma delimited string to an SP in SQL Server 2008 ie "apple, banana, pear", storing this in a nvarchar(MAX) and then splitting this in the SP into another table holding the ID ...

serialize problem in php

I want to serialize a multidimension array in php: $arr['foo'] = array('bar'=>'foo'); I'm going to pass $arr to an eval function and so i needed it to be serialized. When eval runs, it actually passes this as an argument to a class method, call it helper method, this helper method then takes that argument and converts it back to a rea...

Excel TreeView multi columns

Hi there, Sorry for my Noobness with Excel/Vba... coming from a unix world...I need help! I am trying to build a TreeView in an Excel Form from an excel Sheet with 3 columns. The sheet references a list of cinemas, already organized in a "tree view", where the A Column refers to a cinema group name, the B and C columns refer to the par...

PHP and asynchronous cURL having a weird issue

Take a look at the code below, it is a simple PHP script that uses cURL's multi handles feature: // Initialize multi handle $m = curl_multi_init(); // Initialize the actual curl handles $c1 = curl_init(); curl_setopt($c1, CURLOPT_URL, 'http://speedtest.bbned.nl/download/file32mb.bin'); curl_setopt($c1, CURLOPT_RETURNTRANSFER, 1); cur...

Open Source, multi language / unicode fonts?

Hi, We need a selection of fonts that we can use in PDFs. Our PDF library only works with TrueType fonts, and we want these fonts to be as multi language friendly as possible - i.e Chinese/Japanese support ideally, at the very least a wide range of European characters. http://stackoverflow.com/questions/458566/unicode-implementation-...

Reading files multi-data-type (c++)

Dear all, I want to read from one file that has several kinds of data-types. I utilize ifstream (C++ language) but it can't read strings. In fact, I have written a code that has too many options and input parameters. Now, I want to read these parameters and (bool) options from an input file, then I can run my program by edition of inp...