All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

ASP shopping cart

Hello based on the example at http://www.15seconds.com/issue/010411.htm i will like to create an ASP shop but i would like to rewrite the connection to db as i don't have a dedicated server . Instead ...
1
vote
1answer
241 views

Why am I seeing the error “Format is not a string literal and no format arguments”?

i am creating a music application in iphone where i am integrating twitter in my iphone so that a user can listen to a particular song click on the twitter tab ,log in to twitter and post his comment ...
6
votes
3answers
1k views

Handling Scroll bars with jQuery event Drag and Drop

I have a room div with some toy divs arranged on it, see Toys are absolutly positioned and are drag-able with in the walls of the room . The room container div has a fixed height and height, so the ...
2
votes
1answer
612 views

Generated asynchronous method calls in C# - AOP?

I am working on an WPF application that uses a BusinessLogic layer (currently a single dll) in which I created my BL methods that will be called directly from the UI. Each BL manager is resolved with ...
1
vote
1answer
1k views

How to set Tomcat or JBOSS or Glassfish as App-Server for GWT Web Project in eclipse

How to create and run GWT web project in eclipse with tomcat or another app-server? I created a Gwt Project and when i run or debug it, eclise did use GWT hosted mode server. I can not find and ...
5
votes
8answers
15k views

Java Code unable to delete file

My java code is unable to delete files on the the system hard drive. Whenever file.delete() function is called, it returns false. Any ideas, why that might be happening?
0
votes
2answers
92 views

About Flex with PHP kick start

I am a php developer and I wish to start an application with a php flex combination. Can anyone direct me to a good tutorial/sample other than zend tutors. Since I am working with Drupal I have no ...
1
vote
1answer
4k views

how to make a 'div' element drag on iphone

this is my code,for some reason , i can't use any javascript lib ,like ;jquery: <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> &...
9
votes
1answer
2k views

Google Checkout - XML API associate callback serial number with original order

Via the XML API, how do you associate an Google Checkout callback serial number with the original order? On the same line - What does the serial number in the "Option B - Submit a Server-to-Server ...
0
votes
1answer
2k views

MVC How to create dynamic DataTable?

public string DefString { set; private get; } private string path = "http://someuri.org/search?Par1=15&Par2=55"; public string GetAnswer() { WebRequest myRequest = WebRequest.Create(path); ...
1
vote
1answer
391 views

Nhibernate Generate wrong SQL for Oracle with locking

yesterday I've been trying to make this code work inspite the fact it's just working fine with nhibernate and SQL server but when it come to oracle it generate wrong sql UnitOfWork.Current....
23
votes
4answers
880 views

Why it is accepted to use an UL, LI structure in menu lists?

I'm new to HTML. When I started reading documentation about lists, I've noticed that everywhere an <ul>, <li> structure is used, even for creating very simple lists. But for me it's most ...
0
votes
1answer
674 views

unable to download dynamically created file

I've created a custom Action Result in my MVC application, where I generate a CSV file according to the configuration that the user provides. However. The problem I have now is that if I create a ...
0
votes
3answers
2k views

how to convert string with tags to xml?

what would be the best way to parse, for example, the string below and make a valid xml document out of it with java. So, for example, '\b' would be converted to <b> </b>, spaces to </...
1
vote
1answer
4k views

How can I use custom fields in a vCard?

I'm writing an application which generates vCards from an internal customer database and would like to include additional information in the card, e.g. internal customer number. Reading the RFC, I've ...
0
votes
1answer
12k views

find control in grid view

I had code to find label in gridview and I checked on it,s label text and it gives me the index not text and this error apear object refrence not set to ..... so I wnat to give CU.Username = LBL.Text; ...
2
votes
1answer
395 views

Recommended document structure. File Wrappers? Roll my own?

I'm currently working out the best structure for a document I'm trying to create. The document is basically a core data document that uses sqlite as its store, but uses the Apple provided ...
3
votes
4answers
5k views

HTML page submission without redirection

Is there any method to submit an html form without redirecting from the current page without using ajax ?
10
votes
2answers
4k views

The various options for solving PermGen problems

I am looking into the various options around garbage collection on a Java 6 18 VM and would like some pointers. We run our application on JBoss, and occasionally there are the infamous PermGen errors ...
0
votes
3answers
198 views

insert identity table column value

i have table propertybag, it's have only one identity coloumn fo eg propertybagid identity(1,1) i want to insert this value to this column one by one by query how? plz reply soon
1
vote
2answers
2k views

bean reference with two Spring config context XML files

I always get it worked when reference to a bean in an other Spring context XML file but this time is doesn't work: springapp-servlet.xml: <!-- Spring Controllers --> <b:bean id="...
5
votes
2answers
1k views

Finding info on scala operators

Im reading http://debasishg.blogspot.com/2008/04/external-dsls-made-easy-with-scala.html and I am trying to find info on the "<~" operator, for example: def trans = "(" ~> repsep(trans_spec, ","...
1
vote
5answers
379 views

Search for products with multiple criteria

I'm having a problem with fetching some data. The tables I have (for testing purposes): Products: product_id | product_name ----------------------------- 1 | product 1 2 ...
0
votes
2answers
255 views

A Way to Access Subversion in Java

I am developing a web service in GWT which needs to be able to read and write files on the server. Initially I was just going to dedicate a directory on the server which will be accessed via the GWT ...
1
vote
3answers
8k views

PHP recursive function to retrieve all children of a category

I would like to write a recursive PHP function to retrive all the children for the specified category. I tried the one described here but it didn't output what I have expected. My categories table ...
0
votes
1answer
61 views

Release fixes with only some changes from CVS trunk without using branches

I have this kind of situation: CVS trunk - all changes, stable ad unstable, are made to trunk. production - major releases are made creating tags on CVS, but minor fixes are made manually, merging ...
2
votes
2answers
2k views

Extracting nth word onwards

how do i extract words from the nth word onwards in sql server? eg. | Description | | This is a nice dress | extracting the 4th word onwards, would output 'nice dress'
0
votes
3answers
222 views

what is garbage collector in java and how can we use it [duplicate]

Possible Duplicate: What is the garbage collector in Java? what is garbage collector in java and how can we use it
0
votes
3answers
1k views

I have a delphi 7 program running on windows 2008 and I get “folder does not exist” error

I've asked the very same question here : Why does my program say "folder does not exist" when run on Windows 2008? but none of the answers were satisfying and my problem still exists , so I ...
0
votes
6answers
710 views

send array using jquery

i have a variable $visitRecord->getReferallist() which get the list of doctors in an array . i need to send the array to a php file and do foreach action in php file.. how do i send this array ...
0
votes
1answer
522 views

Store sub report fields in array

Hi I want to store sub report fields per page into an array and print that array inside the report footer in main report. Any clue guys ?
1
vote
1answer
804 views

Get user from URL segment with Django

I have a web application which will return a user id based on the first segment of the url, much like Twitter: http://www.myapplication.com/user-name-goes-here/ It can go deeper too, like so: http:/...
2
votes
3answers
1k views

Is there a setting in FireFox to allow the parent document access to the DOM of an IFRAME on another domain?

Notice how Firebug can access the DOM of cross domain iframes and even allow you to modify them? I'm wondering if there is an firefox addon extension or a config setting that will allow a page on our ...
2
votes
4answers
12k views

Linq to XML, select all attributes and their values for a given node

I have an xml mapping file that looks something like this <colourMappings> <model name="modelX"> <mapping colour="White" configCode="1"></mapping> <...
0
votes
1answer
763 views

How to display wpf Splash screen inside main window?

WPF Splash screen getting displayed just as an image not as a window...i mean ...it looks like first an image comes..then...my window(i mean window with a bar at top) comes in...How do I display image ...
10
votes
1answer
26k views

How to add Canvas in a specific LinearLayout?

I am new comer to android but not to java. I have been designing UI in android through XML file, in that page i have 3 linear Layouts, in my top layout(first LinearLayout) i have kept some image and ...
0
votes
2answers
161 views

Two scripts Javascript doesn't work together

I have two scripts in a file active_form.js The first script hides a text entry when a radiobutton is checked and the second does the same thing when a value is selected in a list. When there are ...
18
votes
7answers
12k views

factory_girl + rspec doesn't seem to roll back changes after each example

Similar to the problem described here: http://rpheath.com/posts/411-how-to-use-factory-girl-with-rspec in Short (shorten'd code): spec_helper: config.use_transactional_fixtures = true config....
5
votes
2answers
6k views

how to Assign roles to User while creating their account

i am using asp.net built-in membership and role provider. In my application Admin Create account for user. currently i am assigning roles by going to asp.net configuration website. kindly tell me ...
0
votes
3answers
357 views

Drupal: placing 2 views in a 2 column page

Is there any way to place 2 views in a 2 columns page in Drupal without having to install the Panels module ? N.B. The 2 columns layout should be used only for this page. thanks
0
votes
1answer
532 views

DirectShow.NETCF & HD2

The getMediaTypes() of the DirectShowNETCF.Camera.Camera() return no data on an HTC HD2. As someone any idea of the reason ? Regards Stéphane
1
vote
2answers
52 views

Is it possible to automate generation of wrong choices from a correct word?

The following list contains 1 correct word called "disastrous" and other incorrect words which sound like the correct word? A. disastrus B. disasstrous C. desastrous D. desastrus E. disastrous F. ...
1
vote
2answers
242 views

Modified directory structure in project, now SVN won't allow me to commit.

I am using an SVN repository to hold revisions for a project. About half way through (having commited several times) i changed the directory structure of the project, and renamed some files. Now ...
0
votes
1answer
4k views

passwd: Authentication failure on redhat

I have an application (APP1) which can only be executed by a user with root privileges but not by root. Hence I have created another user root1 : adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M root1 And ...
2
votes
1answer
507 views

TV out an iphone application

Using the UIScreen API is it possible to display the same app screen on both ipod screen and external display. I have tried using UIScreen but application is displaying only on external display, not ...
1
vote
1answer
444 views

How can i detect Adobe AIR version through javascript?

I want to detect the adobe AIR version through javascript..how to do that?
2
votes
5answers
193 views

PHP: How to get a Date when a person reach to a specific age?

I am working on task in which dates are involved. I have a person's age in months+days. Now I want to get a date when this person reach to a specific age in months. For example: A person is 250 ...
0
votes
2answers
1k views

IFrame Comet response contains no data

I'm experimenting with Comet and I'm stuck with implementing it via a hidden IFrame ("forever frame". This is my index.html: <!DOCTYPE HTML> <html> <head> <script type="...
5
votes
3answers
1k views

Can I find to what target .NET dll was built looking into the file?

I have a bit of mess with projects coming some on 4.0 some on 3.5 Is it possible to find out what version of .NET was the dll built looking into the file (not from code!) ?
1
vote
1answer
1k views

TFS reports on daily basis

My team is using TFS 2008 and Conchango template for Scrum. We use the Sprint burndown chart, sprint view and sprint task board reports to track the status of tasks on daily basis. The burndown chart ...

15 30 50 per page