In my Swing app, users can click a button to open a dialog panel and enter some values, then they can click "Ok" on that panel to close it and return to the main program, but how can I pass the values they enter to the main program without saving them to a file first ?
...
I need help with an Xcode script, and was wondering if anyone can help me solve this.
Lets say that I created these fields, "UITextField *titleField" & "UITextField *tagsField" directly within a table cell. And the "UIBarButtonItem *saveMyContentButton" below calls a function "saveMyContent". When I run the app I get the two commented e...
Please forgive my ignorance and poor SQL programming skills but I am normally a basic SQL developer.
I need to create a trigger off the insertion of data in one table to insert different data into another table.
Within this trigger I need to insert certain data into the new table based upon values within the newly inserted data from t...
I am playing around with an iPhone app, and need to accomplish something that I am sure is very basic:
I have a slider that is implemented in a Controller.m class. However, I need its value must be available in a different class, MainView.m class where I have defined an equation that depends on the value of the slider. How can I do i...
Hello. Can anyone tell me how to get and display the biggest values from a database? I have multiple values in my database with the heading "gmd", but how would I get only the first 3 biggest ones to be displayed? How would I do it in this example:
$query = "SELECT gmd FROM account";
$result = mysql_query($query);
while($row = mysql_...
Hello. How could I make an image graph from values in a database? The idea came from "Steam", which uses a graph to show how many users are online. How could I do the same thing? It seems like the graph is one whole image; not made up of parts. Here's an image of the graph from Steam:
Thanks.
...
So I have a function
public int Sum(var valueA, var valueB, var valueC) {
var summ = valueA + valueB;
return summ;
}
I want to add to summ valueC if it was given. And let user not specify it if he does not want to. How to do such thing?
...
Hi,
I need a function by which I will be able to convert a number to a nearest value of a given multiple.
Eg i want an array of number to be set to the neareast multiple of 16, so 2 = 0, 5 = 0, 11 = 16, 17 = 16, 30 = 32 etc
thanks
...
Hi Guys,
how to store values inside Plist and read while runtime in iphone 3.0?.
Thanks in Advance.
...
this get ever more complicated :)
now i face another issue in last question we managed to take unique values from only one parent node
now with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<roots>
<root>
<name>first</name>
<item>
<something>A</something>
<something>A</something>
...
Hi all, I am trying to get values from a view which i have the code below and I am taking the start date value from the view input text box and posting it back but I am still getting null except for the apikey and userkey.Here are the two views..
public ActionResult View1(string apiKey, string userId)
{
StartGoalView...
Hi all. I am having a real headache with reading in a tab delimited text file and inserting it into a MySQL Database.
The tab delimited text file was generated (I think) from a MS SQL Database, and I have written a simple script to read in the file and insert it into an existing table in my MySQL database.
However, there seems to be so...
Hello. I have a tab delimited file with 5 columns and need to retrieve a count of just the number of unique lines from column 2. I would normally do this with Perl/Python but I am forced to use the shell for this one.
I have successfully in the past used *nix uniq function piped to wc but it looks like I am going to have to use awk in h...
I want to take a value
ex: <input type="hidden" name="quicksearch" value="**1**" />
from a third party website.
then place that value on my website
ex: <input type="hidden" name="quicksearch" value="**REPLACE WITH 1**" />
...
In my application, a company can have many employees and each employee may have have multiple email addresses.
The database schema relates the tables like this:
Company -> CompanyEmployeeXref -> Employee -> EmployeeAddressXref -> Email
I am using Entity Framework and I want to create a LINQ query that returns the name of the company...
I am fairly new to symfony and I have 2 fields relating to my table "Pages"; created_by and updated_by. These are related to the users table (sfGuardUser) as foreign keys. I want these to be hidden from the edit/new forms so I have set up the generator.yml file to not display these fields:
form:
display:
General: [name, template_i...
I have an add form inside a div which has 3-5 textboxes.. I submit the form via ajax and hide the div in the success function of it... Now i want to clear all the values of textboxes within the adddiv using jquery?
...
here is an example of the dict
ActivePython 3.1.2.3 (ActiveState Software Inc.) based on
Python 3.1.2 (r312:79147, Mar 22 2010, 12:20:29) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> dict = {}
>>> dict[("127.0.0.1", "127.0.0.2")] = ["value", "value2", "value3"]
>>> dict...
Hi i would like to know how to create custom values for the dataTable. For example I want to do some calculations for the values that will be placed in the dataTable. But what happens is that I get an error: ERROR errors.GrailsExceptionResolver - Executing action [dataTableJSON] of controller [com.MeetingController] caused exception: ...
Please note this is just an example:
<img src="img/normal-font.png" onclick="javascript:document.body.style.fontSize = '13px';" />
<img src="img/medium-font.png" onclick="javascript:document.body.style.fontSize = '14px';" />
<img src="img/large-font.png"onclick="javascript:document.body.style.fontSize = '15px';" />
The...