3,417 Topics

Member Avatar for
Member Avatar for jdm3

Hello, I'm currently working on a Python CGi program. This program takes a zipcode in a form and interacts with a website to obtain information on the Congress representative for that district. My question is, certain zipcodes have multiple representatives, and I want to make a page with radio buttons …

0
86
Member Avatar for Andy90

I m creating an app! in which if the user moves the cursor the message should be displayed! But I m using setcursorpos() in my form to set cursor position which display the message! I dont want message to be displayed when mouse is moved through function, I want message …

Member Avatar for skatamatic
0
214
Member Avatar for Traps

I'm trying to create a jUnit test for my EJB's and if my app just contains a few beans everything's all good but as soon as I incorporate JPA and entity-classes my jUnit test blows up. My test fails at ejbContainer = javax.ejb.embeddable.EJBContainer.createEJBContainer(); and the stack trace says the following: …

Member Avatar for Traps
0
488
Member Avatar for nuclear

I have no working experience but i do have some knowledge in programming and web development. Note that i cant work at a company or such right now so i think freelancing is the best choise for me. I think it's much better to list what kind of projects and …

Member Avatar for nuclear
0
287
Member Avatar for stanley87

Hi,guys.I have 1 question on the rest api redirection problem,hope you guys can help me to solve this problem,thanks. My question is: How to i embed the redirection script into the response api? eg,The user call http://domain.com/api=redirect&keyword= 'bla,bla,bla,bla'. What i want to do is to force the user to redirect …

Member Avatar for pritaeas
0
187
Member Avatar for 9tontruck

Hi, First, I made a web page which only contains Facebook Comment API. (http://developers.facebook.com/docs/reference/plugins/comments/) This works fine in any internet browser such as FF and IE. I can leave a comment - submit button works fine. Also I can change the name. (We can have multiple names/pages in one account) …

0
183
Member Avatar for hptchen

hi guys.. I tried to put google maps by the result of mysql query but i don't know why, it won't work... can anyone help me? Thanx... Anw, this is my code so far <html> <head> <?php include ("config/connection.php"); ?> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> var map; var marker=false; function …

0
54
Member Avatar for harinath_2007

Hi folks.. I'm in search of desktop nofication api's apart from the basic(default) one that java already provides. Can anyone direct me to some good links . Its better if it is free of cost. I found [this](http://blog.swingfx.ch/twinkle-100) nice one but its not free.

Member Avatar for JamesCherrill
0
84
Member Avatar for Labdabeta

I have an array of data of the form: union colour { unsigned int argb; struct{ unsigned char a; unsigned char r; unsigned char g; unsigned char b; }bigendian; struct{ unsigned char b; unsigned char g; unsigned char r; unsigned char a; }littleendian; }; struct sprite { int w,h;//stores the …

Member Avatar for Labdabeta
0
698
Member Avatar for vergil1983

I have this sample of API code, i'm trying to embed my form into it. This code is in php. Below is the sample API code ----------------------------------------------------------------------------------- <?php echo(get_sentiment_rank_text("We like sharing our service with you. We hope you enjoy it as well.")); function get_sentiment_rank_text($content) { //get the sentiment scoring info …

Member Avatar for vergil1983
0
128
Member Avatar for rayidi

I'm working with a sms gateway thing, now i have to pass a url via GET or POST. i'm tried with fopen("http://api.studentmug.com/bulksms/sms.php?Username=<something>&Password=<something>", "r"); like that. but it didn't worked. Please help me guys. i'm also used curl_init(); it is replying Bad Request. Guys please help me with this. Thanks in …

Member Avatar for Biiim
0
217
Member Avatar for Nole_diver

Hey all, Trying to get a map to show up with points read from Json, an example of what the coding looks like is this: ` {"earthquakes":[{"eqid":"c0001xgp","magnitude":8.8,"lng":142.369,"src":"us","datetime":"2011-03-11 04:46:23","depth":24.4,"lat":38.322},{"eqid":"2007hear","magnitude":8.4,"lng":101.3815,"src":"us","datetime":"2007-09-12 09:10:26","depth":30,"lat":-4.5172},{"eqid":"2007aqbk","magnitude":8,"lng":156.9567,"src":"us","datetime":"2007-04-01 18:39:56","depth":10,"lat":-8.4528},{"eqid":"2007hec6","magnitude":7.8,"lng":100.9638,"src":"us","datetime":"2007-09-12 21:49:01","depth":10,"lat":-2.5265},{"eqid":"a00043nx","magnitude":7.7,"lng":100.1139,"src":"us","datetime":"2010-10-25 12:42:22","depth":20.6,"lat":-3.4841},{"eqid":"2010utc5","magnitude":7.7,"lng":97.1315,"src":"us","datetime":"2010-04-06 20:15:02","depth":31,"lat":2.3602},{"eqid":"2009mebz","magnitude":7.6,"lng":99.9606,"src":"us","datetime":"2009-09-30 08:16:09","depth":80,"lat":-0.7889},{"eqid":"2009kdb2","magnitude":7.6,"lng":92.9226,"src":"us","datetime":"2009-08-10 17:55:39","depth":33.1,"lat":14.0129},{"eqid":"2010zbca","magnitude":7.6,"lng":123.533,"src":"us","datetime":"2010-07-23 20:51:11","depth":576.3,"lat":6.4939},{"eqid":"2010xkbv","magnitude":7.5,"lng":91.9379,"src":"us","datetime":"2010-06-12 17:26:50","depth":35,"lat":7.7477}]} ` Here is my code i have been using for this: var geocoder; …

Member Avatar for Airshow
0
243
Member Avatar for JoeMc

I am currently working on a project based on google maps api's. This is a website with a back-end database. I am trying to find out how to save a route that a user creates on my website map (from point a to point b), into my database, just by …

Member Avatar for cereal
0
85
Member Avatar for barriegrant1

Im uploading student details that are tab seperated within a text file. If a submitted ID was added sucessfully to the database i want to add the submitted details to a gridview to allow the admin to see the total of submitted students. //student details from the submitted text file …

Member Avatar for barriegrant1
0
135
Member Avatar for Tuz

when i compile my programm the output is : Note: C:UsersOwnerDesktopNew folder (2)Animate.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Can some one help me please?

Member Avatar for TrustyTony
0
88
Member Avatar for vizz

<script type="text/javascript" src="http://maps.google.com/map?file=api&v=2&hl=en&key=MY_KEY&sensor=true"></script> <script type="text/javascript" charset="utf-8"> google.load("maps", "2.x"); </script> This works well on localhost. On domain it gives error about obtaining key. I followed step given 3-4 times with generating key 3-4 times. But it continues giving error about javascript v2 obtaining key

Member Avatar for Airshow
0
148
Member Avatar for roscoNI

I am trying to create a website where a user can enter a start location and an end location into textbox's and the distance between the two location shall be output into another textbox (This is done using a google API). On my webpage I have set up several instances …

0
128
Member Avatar for Tuz

when i compile my programm the output is : Note: C:\Users\Owner\Desktop\New folder (2)\Animate.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Can some one help me please? Thanks

Member Avatar for Ludachrispeed
0
210
Member Avatar for blake81

I am trying to code a number guessing class and client. The issue/problems I am having with this class/client is that my number guess either ends up too high or too low and in top of that it loops the number twice when it should once. Number generated from 0 …

Member Avatar for stultuske
0
144
Member Avatar for bhallarahul
Member Avatar for bhallarahul
0
105
Member Avatar for nickecarlo

Hey, I have the following piece of code in Processing (programming language) that I am supposed to change and implement in new ways. However I just can't seem to understand it. I would love it if someone here explained it to me step by step. Here's the code: [CODE]// TREE …

Member Avatar for TrustyTony
0
230
Member Avatar for prem2

Dear team, I need to get the information for a particular domain name using the php and some linux commands.So, i have tried a small program in php in Lamp Environment. When the user gives,www.google.com.My program uses the below commands and functions ping,dig,host,get_host_names etc.To retrive the informations. But i need …

Member Avatar for cereal
0
211
Member Avatar for danielgr

Hi, This is the first time I'm working with consuming a web service which produces a lot of data and I have a hew questions. I've created web services in the past, so this part I understand. What I'm not sure about is how to consume the web service. I've …

0
144
Member Avatar for Darkone

I am having a problem and that is I have buttons to read text to speech like play pause and stop I have created 4 buttons Play,Pause,Stop,Resume but now I dont want the Resume button, instead when I click on the pause button it should pause the speech and later …

Member Avatar for Begginnerdev
0
962
Member Avatar for fistfullofbeer

I am working on a personal project and am trying to figure out if Python 3 or PHP would work better. I prefer Python because I am trying to hone my skills at it and at the same time I really do like its syntax and ease to learn. I …

Member Avatar for TrustyTony
0
167
Member Avatar for fpaquin

I am writing a site that sends the following: [url]https://accounts.google.com/ServiceLogin?service=cl&passive=1209600&continue=http://www.google.com/calendar/event?action%3DTEMPLATE%26text%3DEventTitle%26dates%3D20120107T152000Z/20120107T162000Z%26location%3D1%2BNicholas%2BStreet%26details%3Dhttp://dev.uocal.uottawa.ca/en/node/354&followup=http://www.google.com/calendar[/url] to Google to add to the Google calendar. How would I write the URL if I want to add a calendar event every Monday until a specific date to Google calendar. I looked in the Google API and I did …

Member Avatar for fpaquin
0
312
Member Avatar for krejar

Given a UML diagram of: Oval ------- ------- +draw (g:Graphics, x:int, y:int) +toString(): String I have currently [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Oval extends Shape { public Oval (Color color, boolean isFilled, int width) { super (color, isFilled, width); } public void draw (Graphics g, int x, …

Member Avatar for JamesCherrill
0
122
Member Avatar for Hypnos_16

[I]This exercise will explore the queue and stack data structure implemented with linked lists. The Koch snowflake can be implemented without recursion by using a queue or a stack. Assume that L is either a queue or a stack, L.add( seg ) adds a segment, and L.remove() removes the segment. …

0
122
Member Avatar for cr7489

hi i am trying to create 2 lists in one screen. i am using the google api places where i want the list to appear then when selected the result will appear, this what i have so far but the second list doesnt appear and i am not sure why …

0
98
Member Avatar for cr7489

hi, using the google places api where it says food or restaurant how can you create this so that when its selected it allows you to specify food the type of food such as chinese, english ect ?

Member Avatar for peter_budo
0
94
Member Avatar for observ

Hi, I have an issue, with not being able to set the the correct header here is the operation from the WSDL: [CODE]- <wsdl:operation name="findRegistrationByID" parameterOrder="registrationID"> <wsdl:input message="impl:findRegistrationByIDRequest" name="findRegistrationByIDRequest" /> <wsdl:output message="impl:findRegistrationByIDResponse" name="findRegistrationByIDResponse" /> </wsdl:operation>[/CODE] This is also from WSDL: [CODE]- <wsdl:operation name="findRegistrationByID"> <wsdlsoap:operation soapAction="urn://url/findRegistrationByID" /> - <wsdl:input name="findRegistrationByIDRequest"> <wsdlsoap:body …

Member Avatar for observ
0
1K
Member Avatar for masijade

I am attempting to run a junit test against a JAX-WS service method using a simple client class and compiled generated sources from ws-import. When the test is run through surefire while doing either test or install I get the error java.lang.NoSuchMethodError: com.sun.xml.ws.api.model.SEIModel.getJAXBContext()Lcom/sun/xml/bind/api/JAXBRIContext; but when I inspect the xml in …

0
84
Member Avatar for HWK1982

hi everybody my problem is when i set timer for ftp to send me a file , the keylogger doesn't log or save any text in log file , i face this problem just when i set timer for ftp otherwise it work fine i mean without timer i set …

Member Avatar for triumphost
0
669
Member Avatar for titosd

Hello, I developed web software. And I have multi clients for this software. I need your help to give me an idea for manage all this clients. I"m Now built for every client a new database, but i discover that this idea nor good, because i want to get statics …

Member Avatar for BitBlt
0
57
Member Avatar for xcrypted1

*Edit* Just so you know, we are on the chapter in the book introducing ArrayLists *Edit* I am having trouble with this problem. The problem is stated: Implement a class Polygon that contains an array list of Point2D.Double objects. Support methods public void add(Point2D.Double aPoint) public void draw(Graphics2D g2) Draw …

Member Avatar for NormR1
0
579
Member Avatar for cr7489

hi, i have a sysytem that gets film reviews from my DB when i search the film but i want to use an API to be able to search online aswell such as getting reviews from IMDB does anyone know how i can go about this, are there any examples …

Member Avatar for cr7489
0
154
Member Avatar for Vampiricx3

Hey guys, I'm trying to create my own personal API (more like a simple way for me to write long codes), and i've run into a snag. I want to create a simple function to detect whether or not I want the consoleWrite() to print out a new line system …

Member Avatar for ~s.o.s~
0
95
Member Avatar for mr.confused!

The title sums it up. I need to call info off cloud based applications. Any suggestions?

Member Avatar for mr.confused!
0
51
Member Avatar for Dingo001

Hi I have a PHP error that only occurs when I have a new router attached. I will post the complete code here but it works fine on one router but not another. I have put the problem on a forum for Hardware people but have had no replies. To …

Member Avatar for pritaeas
0
180
Member Avatar for zacharysr

Does anyone know how to use youtube's api? I downloaded it from [URL="http://code.google.com/apis/gdata/articles/php_client_lib.html#php-path-installation"]here[/URL] But i cant figure out how to use a form to send a link to it and get back the name, keywords, html, description and thumbnail link..... Does anyone know how to get this info from youtube …

Member Avatar for veedeoo
0
302
Member Avatar for david_r

I am trying to pull some data from a report that is simple called an API link. I am not familiar with the data format. Hopefully, I can find out the format and see if someone has already developed some PHP code to access and manipulate this. I thought it …

Member Avatar for david_r
0
113
Member Avatar for snehil_khanor

I have an aplication that stores the data in a local MS access file now I want to move the data to the goOgle docs ans synt my MS Access files with goOgle docs. I'm planning to store all my app documents in a specific folder on goOgle docs and …

0
87
Member Avatar for wonderlandslost

So my instructor assigned us to create a program that calculates the area and stores that, along with coordinates, in an array. This has to be done for both triangles and squares. He is having us use separate classes for the project; the main Drawer class, parent class, square class, …

Member Avatar for wonderlandslost
0
307
Member Avatar for irwallace

Hi Guys, I was hoping someone could point me in the right direction. I have a nusoap server that I am trying to pass an array of data to. For now I just want to simply pass this array back, before handling this data, mainly to help my learning process. …

0
488
Member Avatar for edu_3dw4rd

Hi everyone, My name is Edward and I have question about AJAX, JSON, and google geocode. I have an assignment to create a webpage that has following text fields: name, street address, zip code, city, and state. The goal of this assignment is that when I fill the zip code-text …

0
130
Member Avatar for Labdabeta

Hello, I have been working with opengl and other graphics libraries and they all require the bits per pixel of the screen on initialization of a window. My question is, is there any way to get the system's preffered bits per pixel? or that of the monitor?

Member Avatar for Labdabeta
0
910
Member Avatar for Navlag

My code(below) displays only one "message" at a time and then prompts the user to delete the message in order to create a new one. How can I make it so that the user can constantly add new messages without having to delete the previous message? [CODE]import java.security.SecureRandom; import java.util.Iterator; …

Member Avatar for stultuske
0
341
Member Avatar for sagngh8

Hi everyone, Please help me on this. “Could not load file or assembly 'Newtonsoft.Json, Version=4.0.3.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)”. 'NewtonsoftJson.dll’ assembly is required for posting to twitter .The version used is 4.0.3.0. …

Member Avatar for Momerath
0
434
Member Avatar for bhallarahul

i want to use use javamail Api and i am not able to understand which server i use or is there is any other api available which is better then javamail Api.please suggest me

Member Avatar for bhallarahul
0
148
Member Avatar for jerry4all

I've been all over looking for how to get this done. below is the script I use to parse sms to my provider's API.however I've been having issues deliver a more than one page sms. I later found out there's need to add a UDH to each page to concatenate …

Member Avatar for jerry4all
0
156

The End.