multiple

[WPF] How can I display multiple colored underlined Text in a Textbox

Hello, this code underlines all Text in the Textbox, can I underline only specific Text? Brush brush = Brushes.Blue; Pen pen = new Pen(brush,2); TextBox tb1 = new TextBox(); tb1.AcceptsReturn = true; tb1.Text = "This is a very long Text not?"; TextDecoration te...

jquery validate with multiple rules

How to validate a email address field with three rules with three customized messages in the div container. ie. rules: { email: { validationRule: true, email: true, remote: '/ajax/emailDuplicationCheck.php' } } if first one false message should be "validation rule failed" if second one false(...

Apache - multiple websites - allow top folder access

Hi, I have multiple websites setup on my Apache2 server. The directory structure is as follows: /var/www/ /var/www/site1.com /var/www/site2.com It is setup such that "www.site1.com" has root folder /var/www/site1, "www.site2.com" has root folder /var/www/site2, and http://server_ip_address has root folder /var/www However, if...

Multiples domains pointing to differents ports in apache server

Hello everyone, I am working with a web development framework which publish its applications in apache server ports:8080, 8081, 8082, etc. For instance MyApp1 runs in localhost:8080, MyApp2 runs in localhost:8081, and so on. What I would like to achieve is that my domains point to a "port" where its application is running in my apac...

Integrating 'Simplegallery' Jquery Plug-in with multiple gallery instances

Hello all, My developer friend told me of this site, and I'm hoping that perhaps someone might be able to help me solve a problem that I'm running into on any and all browsers while building the portfolio section of this website for my friend at her website which is (sorry for only being able to link one thing.... www - jennaschweitzer ...

How to create multiple table view in a View Controller for iPad?

Hi friends, I am working with the universal apps. Now i want to create a three table views in my view controller for iPAD. I have three separate view controllers with XIB.So how can i add the other two table view as subview in the main controllers. Please give me some sample applications and links. In my application, i have three view c...

how combine multiple arrays into a single associate array using the arrays as keys

I have 2 arrays that i would like to loop through and combine into an associative array. I would like to use the 2 arrays as the keys for the new associative array. I am new to php so any and all help would be appreciated. $id = array( 2, 4); $qty = array( 5, 7); array('id' => , 'qty' => ); Thanks in advance I would like to output...

Optimize a query that is using multiple left joins on the same tables

I've come across a query that is taking "too long". The query has 50+ left joins between 10 or so tables. To give a brief overview of the database model, the tables joined are tables that store data for a particular data type (ex: date_fields, integer_fields, text_fields, etc.) and each has a column for the value, a "datafield" id, and a...

Subversion: how to create a tag with folders at multiple revisions

Hi, We have a large project which consists of a single build job (Maven, via a pom.xml, with multiple child folders etc). Developers have given us three different revision numbers, and would like us to create a single tag that we can feed the (Hudson) build job. Example: / -- at rev X /project1 -- at rev Y /project2 -- at rev Z I was...

Variables and Multiple Activities

How can I make a variable or object available to multiple activities or restarts of the same one. ...

[PostgreSQL] How to select distinct from multiple columns

Hi I'm sure there's query for this kind of operation, but I just can't seem to get it. I have a table like this: product_id | saved_by | deleted_by | accepted_by | published_by -----------+----------+------------+-------------+------------- 1 | user1 | | user1 | -----------+----------+------------+---------...

JQuery validation : How to check items in multiple select

I have a form using JQuery validation plugin. <label> <input name="Distribution[]" type="checkbox" id="dist_europe" class="required minlength:1" value="Europe" /> Europe </label> <select name="Europe[]" size="5" multiple id="Europe"> <option value='Albania'>Albania</option> <option value='Andorra'>Andorra</option> <optio...

Building multiple apks from on android app source

The application reads a key from a file to hit production vs test server. I want to create a test apk build that will pick test key and second build apk for release that will pick the production key I am currently building app using eclipse ...

Select all rows from SQL based upon existence of multiple rows (sequence numbers)

Let's say I have table data similar to the following: 123456 John Doe 1 Green 2001 234567 Jane Doe 1 Yellow 2001 234567 Jane Doe 2 Red 2001 345678 Jim Doe 1 Red 2001 What I am attempting to do is only isolate the records for Jane Doe based upon the fact that she has more than one row in this table. (More that one seque...

Do a Master-Detail scenario with a DataGrid and TextBox`s beside, how to bind to multiple selections?

My user can Select multiple Orders in a OrderDataGrid from a selected customer. When the user selected the OrderId + Ordername in the DataGrid all Order details must be filled in the TextBoxes righthand of the Order datagrid. The problem I have is how can I bind always to the first element of the selected orders? At the moment the Text...

Windows, multiple process vs multiple threads

hi, we have to make our system highly scalable and it has been developed for windows platform using VC++. Say initially, we would like to process 100 requests(from msmq) simultaneously. what would be the best approach. single process with 100 threads or 2 processes with 50-50 threads. What is the gain apart from process memory in case o...

bash cat multiple files content in to single string without newlines

i got some files with name start as eg_. and only each contains one single line eg_01.txt: @china:129.00 eg_02.txt @uk:219.98 eg_03.txt @USA:341.90 ...... i am expecting to cat them in to a single line to send by URL like: @china:129.00@uk:219.98@USA:341.90 i use echo cat eg_* it give me the output look like a string, but it actu...

Multiple bluetooth connection

Hi I want to connect 3 device via bluetooth (My Droid must connect to 2 bluetooth devices). I 've connected my Droid to 1 device using Bluetooth chat How should I modify it for multiple bluetooth devices? Could you help me please? ...

AWK/BASH: how to match a field in one file from a field in another?

Hi all, I have 2 files, the first contains the following: ... John Allen Smith II 16 555-555-5555 10/24/2010 John Allen Smith II 3 555-555-5555 10/24/2010 John Allen Smith II 17 555-555-5555 10/24/2010 John Doe 16 555-555-5555 10/24/2010 Jane Smith 16 555-555-5555 9/16/2010 Jane Smith 00 555-555-5555 10/24/2010 ... and the second fil...

Javascript - Clipboard - Multiple Lines

Before any asks, I did research this thoroughly and the answer has not bbben post here previously. I want to send some plain text configuration text to the clipboard with javascript. The text will consist of multiple commands, one command per line, so that the user may then past into a configuration file on his PC (call it myconfig.ini...