3,417 Topics
![]() | |
Hello, I have the current sample xml document below: [CODE]<Units> <category name="Temp"> <unit id="0"> <unit_name>celcius</unit_name> <fromFormula>inFrom0</fromFormula> <-- need this value <toFormula>inTo0</toFormula> </unit> <unit id="1"> <unit_name>fahrenheit</unit_name> <fromFormula>inFrom1</fromFormula> <toFormula>inTo1</toFormula> </unit> </category> <category name="Length"> <unit id="0"> <unit_name>feet</unit_name> <fromFormula>InLengthFrom</fromFormula> <toFormula>inLenghTo</toFormula> </unit> </category> </Units>[/CODE] Now, I am trying to retrieve the value "inFrom0" from the … | |
I am trying to write a sample program that can call use the main method of "SequenceFilesFromDirectory", which aims to convert a set of files into sequence file format. [CODE]public class TestSequenceFileConverter { public static void main(String args[]){ String inputDir = "inputDir"; String outputDir = "outoutDir"; SequenceFilesFromDirectory.main(new String[] {"--input", inputDir.toString(), … | |
Hi I'm developing a web application and needs to Integrate it with Authorize.NET AIM. I have tested the code provided by Authorize.NET it works fine for Single product. This code has an option to use for line items and is commented by default. I uncommented it and then used it … | |
Well I've been following the rapidxml sparse documentation but I'm getting confused because I'm getting an error saying "expected =" when I call parse<0>(char* c). Messy code I know, but trying to figure out how to use this api I'm new with. Loading Code [CODE]bool Shader::Load(const char* path) { std::ifstream … | |
Hey guys I basically finished reading Beginning Visual C++ 2010 with Ivor Horton, I skipped the MFC part as I am more interested in the Win API which there's was only one third of a chapter on(not enough) and I was wondering if Programming Windows, Fifth Edition by Charles Petzold … | |
Hi All, I need to be able to send bulk emails (somewhere in the thousands) for the online service I am planning on providing. Is there an online service (preferably, a web service api) that I can use to send bulk emails? Are there any other options other than running … | |
Alright, so I have been o this for quite sometime. I am building a Facebook application with Wordpress and have a question. I have the app integrated into my fanpage and that works fine. The only problem is, whenever a user clicks a page inside the iFrame, it should be … | |
Hi All! I'm apparently doing something very wrong here... I can't get my soap client to send the security certificate which a valid .pem file and because of that the subsequent calls are failing. What do I have to do to get the soap client to send the pem file? … | |
Hy , I have a example tooken from the internet , and compiler gives me this error : The type CommPortIdentifier is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\comm.jar The code is: [CODE]import java.awt.*; import java.io.*; import javax.comm.*; import java.util.*; /** * Open a serial port using … | |
Great to hear that.. Java SE 7 is officially released today! After nearly five years of collaboration within the worldwide Java community, Java Platform, Standard Edition is ready for download! It's an important step in Java’s evolution. The major features of Java SE 7 are: • Project Coin- many small … | |
Dear Experts, I have code for adding/deleting/modifying form icon and tool tip text to task bar. Its working fine in Standard.exe project but when i tried to use these code as dll file then i am getting error code 424 , object required. I already register dll file through regsvr32 … | |
Good Morning, I'm receiving a SOAP error when I try to pull all of my products (20k) into an array. So, I want to limit the script and only grab 1/3 of the database. How would I do that? Here is the code that is erroring: [CODE]$products = $client->call($session, 'catalog_product.list', … | |
I have a google maps application which has an address text box. When we type in the postal address, it gives the corresponding latitude and longitude as a pop up info window on a google map. All i want to do is to be able to get the latitude and … | |
is there an existing api for a postal code system? for example, you are at a gas stations website, and you want to find a station nearest you. so you type in your postal code and it returns the result.\ thanks. | |
Hello Everyone. I am looking to make a program that uses the webcam that is integrated into my laptop. What I would like to know is how would I go about doing this? What I mean is, is there a standard API or library that I can use. Am I … | |
I have written a code which uses RXTX Serial API for communication. Now I want to distribute a jar file for my program. The problem is that since I have used RXTX Serial API jar & dll files for this needs to be copied in java home. I wrote a … | |
I am using VB6 i am create Crystal Report File at run time using CreateReportOnRuntimeDS "p2smon.dll" API function. this function will connect the .ttx file to the report. now i want to connect another one. i am creating .ttx file is at run time using CreateFieldDefFile "p2smon.dll" API function. now … | |
hi im working on on a personal project and i need some help on how to structure my database and query. so here is my problem and searching for a solution. on my site everyday there will have a daily article or item grouped in categories. now a user has … | |
Is this code correct? It is supposed to get input from SMS messaging API and save it to database. Mysql database is created with Table inbox and 2 columns called ID & Msg. I want to know if this code is going to do the job? Else help me in … | |
Normal buttons look Rectangular and I was trying to figure out how to round the edges of it and found myself with a headache.. How do those pro designers do it? How do they get the custom GUI's and the buttons rounded or even custom buttons in any shape? Kind … | |
Hello, Can anyone please tell me how to divide a 3D Cylinder in equal parts. A Cylinder has three fields as defined in the API, TOP, BODY, BOTTOM. I have divided my cylinder in these parts. Now, i only want the Cylinder.BODY (i mean the surface of the cylinder) to … | |
[B]Beginner's Guide to C++0x: The Big Five - Implementing a Resource-holding RAII Class[/B] This tutorial will show how to implement a [I]resource-holding class[/I] showing practical use of [I]C++0x features[/I]. A resource-holding class is any class which holds, with its data members, a resource which could include: [LIST] [*]dynamically allocated memory … | |
Hello. Like as the title sayes. Im trying to edit key values in a Map/hashMap/treeMap. For example: [CODE] public class MapExample { public static void main(String[] args) { Map<int,String> mp=new HashMap<int, String>(); // adding or set elements in Map by put method key and value pair mp.put(12, "Two"); mp.put(11, "One"); … | |
when uploading an image to the website i get the following error message: [CODE] Server Error in '/' Application. A generic error occurred in GDI+. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and … | |
hi does anybody know a free sms api that i can integrate in a web app.will need to take text from a database and the selected phone number from the database and send it via sms.iv heard about google voice sms option but it doest say much of if you … | |
Hi, Does java provides any API to find the details of mobile service provider given a mobile number.?? Or any link to find the data regarding this. Thanks in advance | |
Hi, I have PHP script which is calculating some Google Maps API functions in Javascript and then sending output back to PHP. My biggest problem is, that i need it to run at intervals, but AFAIK cron can't handle javascript I've tried a little workaround - setting cron which sends … | |
I have been tasked with building an application that maintains a simple Student DB to store and process marks of students of 5 departments with 4 batches of students in each dept. I first thought of developing a UI-dataAccess style application. But Was unable to process because of various complexities … | |
I'm trying to populate our database using some curl command like curl --user username:password [url]https://somewebsite.com[/url] curl - d "name=New User Name&address=New User Address" [url]https://somewebsite.com/api/add/new[/url] The instructions that they gave to me uses curl but I want to do it in Java so I decided to use HttpClient here's my code … | |
hi, i have create a simple chatting application with windows live messenger.I have give the reference Messenger API Type Library 1.0.Then in form_load() event i have create the object of that MessengerAPI type library, ie, in vb.net windows application.I have used visual studio 2008.I have both check windows xp service … | |
For quiet some time now i have been trying to get the java API library downloaded on my system but no success yet, i have tried all means possible that i know, for instance i have been to java.com, sun.java.com even to oracle.com lately but no success yet. I am … | |
Hi all! I have been hacking some Qt before, but now I want to try to code in Gtk and std C++. I have been searching the web but I can not realy find what I am looking for. As I can see Gtk is written in C. Is it … ![]() | |
Of course, Yesterday I ask for help for my google map route creator. And of coure, I made my google maps route creator source. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Google Maps</title> <script type="text/javascript" src="jquery.js"></script> <script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> … | |
Hi friends.... I want to execute my first servlet but i am not able. I am going to explain what steps I did. 1-First I copy "Servlet-api.jar" from lib folder in tomcat and paste it in ext folder of java. 2- Create HelloWorld.java in somewhere in my hard drive [CODE]import … | |
Hi, story goes... I need to process a timesheet - I want to use a csv file of the spreadsheet, so I was hoping to plug in the path to what Google said was a CSV output of a spreadsheet... [url]https://spreadsheets0.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AhhCntOrEg9FdF9PZkIwY08tZTdwd3lkYkJFNEtkMkE&single=true&gid=1&output=csv[/url] Unfortunately if you click on that link, it prompts … | |
Hey guys, I'm new to this forum so nice to meet you all :D I'm really bugged by a weird bug that prevents my dialog from showing up, however the buttons show up twice, one overlapping the other. I saw other threads that discusses about this but I'm afraid I … | |
Hi, Recently I started working on a project (it's called 'fd') that needs to retrieve the current processes running. It is written in C using the WinAPI. I am running Windows XP SP3 and am using MinGW compiler with Code::Blocks. After much searching I found the PSAPI to provide the … | |
The code below works but does not loop through each name in the txt file (loops only when i just want to print their names from the text file) , it only returns the details of the last user in the list rather than returning individual user details one by … | |
[ICODE]function updateStatusViaJavascriptAPICalling(){ var status = document.getElementById('status').value; FB.api('/me/feed', 'post', { message: status }, function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Status updated Successfully'); } }); }[/ICODE] hi this is what i understand in the above code if there is an error it shows "Error occured" if … | |
hi When I try to load a new video this message appears Sometimes this message appears and sometimes does not show [CODE]Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Expected response code 200, got 403 <?xml version='1.0' encoding='UTF-8'?><errors><error><domain>yt:quota</domain><code>too_many_recent_calls</code></error></errors>' in /home/******/public_html/Zend/Gdata/App.php:709 Stack trace: #0 /home/******/public_html/Zend/Gdata.php(221): Zend_Gdata_App->performHttpRequest('GET', 'http://gdata.yo...', Array, NULL, NULL, NULL) #1 … | |
please i am new to this vb programming but i have a challenge before me.. I need to make a program that will compare the date in the database with the system date and if they are equal, it pops up a notification on the icon tray. Your help will … | |
Hi, I am deveoloping a Web Service solution that is hosted inside a JBoss 4.2.3 sever and connects to a JMS queue that is hosted on another server. So far I am creating a new connection to the JMS queue each time the web service is called, this means that, … | |
Hey guys, I am new to JS/Ajax and would love some help if possible. I am not sure how to POST my form using Ajax rather than using the action="http://example/api/register_user.php" on the form to post form fields then display the response from the URL. If I post the from using … | |
Hello to everyone, I am new to this forum as I am new to Java. I would like to know if anyone has come up with a method that helps in learning the huge collection of classes of the Java API. I know that question is not easy to answer. … | |
hi friends , i found a code for tamil language comment box in blogger and also its executed successfully but one problem i cant post a comment . only box alone coming in this code . please check it and give me a proper code . [CODE] <script src="https://www.google.com/jsapi" type="text/javascript"> … | |
hello, i have to find google co=ordinates from given address. so i am displaying google map in popup box but i don't know why google map not loading in popup. but it is working fine in new page.when i am trying to display in popup then only i am getting … ![]() | |
So I've finished C in school. Finished a Deitel book about C(The C part at least) though unprescribed. I know there's more, but 'how to' books isn't going to cover it. The school library isn't helping. I want more indepth info/lessons about C and I don't know where to go/begin … | |
I'm trying to understand how to change a windowed-window to a fullscreen-window at run time. What I do is use a DEVMODE structure with ChangeDisplaySettings when I want to make it fullscreen. I set the width and height to the width and height of the screen, which is fine. But … | |
Hello! I am writing a simle extension on Google Chrome. But chrome's extension API is not powerfull enough for my extension because i need file io operations for local files. That's why I need to call functions from dll which i write from javascript. <script type='text/javascript' language='javascript'> var obj = … |
The End.