3,417 Topics

Member Avatar for
Member Avatar for hervens

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 …

0
57
Member Avatar for ericfrank

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(), …

Member Avatar for NormR1
0
197
Member Avatar for spartan.pk

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 …

Member Avatar for HITMANOF44th
0
483
Member Avatar for ChaseRLewis

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 …

0
94
Member Avatar for L3gacy

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 …

Member Avatar for L3gacy
0
190
Member Avatar for jacob21

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 …

Member Avatar for mschroeder
0
150
Member Avatar for epicrevolt

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 …

0
83
Member Avatar for ppetree

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? …

Member Avatar for ppetree
0
3K
Member Avatar for nsyncpilu

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 …

Member Avatar for jackmaverick1
0
140
Member Avatar for harinath_2007

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 …

Member Avatar for jwenting
0
139
Member Avatar for pardeep3dec

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 …

Member Avatar for gooptek
0
124
Member Avatar for Majestics

How to add flash objects in java without Java Flash Player Api? Any idea. Just hint required.

Member Avatar for Majestics
0
101
Member Avatar for mpw5013

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', …

Member Avatar for ddymacek
0
130
Member Avatar for raghujosh

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 …

Member Avatar for Airshow
0
5K
Member Avatar for sacarias40

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.

Member Avatar for gcornejo
0
101
Member Avatar for emcyroyale

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 …

Member Avatar for emcyroyale
0
158
Member Avatar for gunjannigam

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 …

Member Avatar for NormR1
0
252
Member Avatar for piyushdhamecha

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 …

Member Avatar for debasisdas
0
389
Member Avatar for eltonpiko

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 …

Member Avatar for urtrivedi
0
257
Member Avatar for Righthe

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 …

Member Avatar for Righthe
0
186
Member Avatar for triumphost

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 …

Member Avatar for Tellalca
0
147
Member Avatar for ARaza110

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 …

Member Avatar for mKorbel
0
149
Member Avatar for mike_2000_17

[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 …

17
3K
Member Avatar for hatebin

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"); …

Member Avatar for NormR1
0
195
Member Avatar for barriegrant1

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 …

Member Avatar for barriegrant1
0
2K
Member Avatar for eltonpiko

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 …

Member Avatar for eltonpiko
0
130
Member Avatar for divyakprabh

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

0
62
Member Avatar for palsoft

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 …

Member Avatar for palsoft
0
2K
Member Avatar for stevanity

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 …

Member Avatar for stevanity
0
105
Member Avatar for jazz_vill

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 …

Member Avatar for jazz_vill
0
270
Member Avatar for jayawant.sawant

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 …

0
77
Member Avatar for gyno

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 …

Member Avatar for jackmaverick1
0
202
Member Avatar for marcux

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 …

Member Avatar for GreenDay2001
0
226
Member Avatar for mcwebalizer

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"> …

Member Avatar for mcwebalizer
0
1K
Member Avatar for ankit.pandey3

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 …

Member Avatar for mynameissiva
0
357
Member Avatar for lifeworks

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 …

Member Avatar for almostbob
0
195
Member Avatar for Lyandor

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 …

Member Avatar for caut_baia
0
176
Member Avatar for Graphix

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 …

Member Avatar for m4ster_r0shi
0
941
Member Avatar for mikedeomon

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 …

Member Avatar for woooee
0
198
Member Avatar for serdas

[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 …

0
72
Member Avatar for aloul84

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 …

Member Avatar for aloul84
0
278
Member Avatar for shelexelex

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 …

Member Avatar for shelexelex
0
313
Member Avatar for komyg

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, …

0
63
Member Avatar for drewpark88

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 …

0
71
Member Avatar for t@sos

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. …

Member Avatar for gyno
0
2K
Member Avatar for AjithAnnadurai

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"> …

Member Avatar for AjithAnnadurai
0
341
Member Avatar for muralibobby2015

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 …

Member Avatar for diafol
0
226
Member Avatar for asrockw7

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 …

Member Avatar for asrockw7
0
427
Member Avatar for tomtetlaw

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 …

Member Avatar for tomtetlaw
0
1K
Member Avatar for cemali_ys

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 = …

Member Avatar for twiss
0
939

The End.