3,417 Topics

Member Avatar for
Member Avatar for daino

I'm a little confused about how to go about creating a wrapper class? I think I need to start with the basics. What I want to do is write a C++ wrapper class for a C API. I know several of you could explain this well but I need to …

Member Avatar for daino
0
4K
Member Avatar for ndeniche

Hello guys I've recently taken participation in a music project (feel free to check us out at [@lettherebmusic](http://www.twitter.com/lettherebmusic)) where we tweet music info about a certain topic every day. I actually use tweetdeck to schedule tweets for the whole day, so that content is available all day long. The thing …

0
118
Member Avatar for rotten69

Hey everyone, I am looking for Javascript API's on the internet but I couldn't find one that has all built-in functions and stuff. Is there a downloadable version of the documentation or a website that I can search what function is available? something like php.net Cheers,

Member Avatar for rotten69
0
419
Member Avatar for Dani

I'm attempting to use Sphinx for the first time in awhile. require('includes/lib/sphinxapi.php'); // Sphinx Search API $cl = new SphinxClient(); $cl->SetServer($config['SphinxServer']); $cl->SetSortMode(SPH_SORT_RELEVANCE); $cl->SetMatchMode(SPH_MATCH_ANY); $articles = $cl->Query('Foo', 'articles delta'); If I then do `var_dump($articles);` it just always returns `bool(false)`. What am I doing wrong? If, from the CLI on the web …

Member Avatar for vfedorkov
0
741
Member Avatar for trektrak

I have this qoute.. how am i going to refresh only the php out;.. which generally generate xml.. <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Google Maps JavaScript API v3 Example: Common Loader</title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="util.js"></script> <script type="text/javascript"> var infowindow; var map; function …

0
113
Member Avatar for DJWK

# Can You Program like McGee in NCIS # I was watching a NCIS rerun and started to wonder about McGee's superhuman programming skills. He sat down in front of a random computer in a suspects house, and yet again, within two to three seconds he hacked the system. This …

Member Avatar for MrUpsetter
0
258
Member Avatar for mr3army

Hi Trying to login to google accounts this is the code that I created but I get this error: Your browsers cookie functionality is turned off. Please turn it on. I dont want to use there api too as this is a learning for me thought I had it nailed …

Member Avatar for mr3army
0
206
Member Avatar for vidhu1911

Recently 2 Admins on my website asked me that they would like to Code a software which will help them Moderate normal users and i agreed by saying that i would code them a very! simple API with only the basic stuff they would need. Now the question that came …

0
133
Member Avatar for millroy

well i am tring to make compass with a needle which rotates with respect to the position but the problem is my new to j2me and i dont know how could i access my gps to to do so i want to know wat r the various api's i can …

Member Avatar for millroy
0
83
Member Avatar for zekstein

From where to start in making an application like Dropbox ? Exists any code snippets or some api ? If not possible in C++, C# is good ... Thanks :D.

Member Avatar for Ancient Dragon
0
119
Member Avatar for mits28

I am trying to learn JavaMail API.i am working on this.i have search much from google..i know for hosting mails, mail server is require and Apache james is a open source server.i have downloaded that.but i am not able to configure that.i dont understand how actualy javamail work with James.I …

Member Avatar for godzab
0
178
Member Avatar for hprem991

Hello All, I am stumbled with one problem regarding HTML Tag Name which is a Varible and I am reassigned it value in runtime. Actually the Code is something like this. <% String var=null; for (int i=0;i<=5;i++) { var=(String)i; %> <div id=var> </div> <% } %> No if I want …

Member Avatar for kvprajapati
0
113
Member Avatar for rakibtg

a script which will show a page content like video, photos to a user if they share it on Facebook. i mean to watch a video they have to share it first and only then they will able to watch it from web page...can i do it with javascript? like …

Member Avatar for dany12
0
88
Member Avatar for harrispc

I have written my first javascript block which functions correctly in IE, however nothing executes in FF or chrome. have I missed something. Also is there a way to stop IE from prompting to run it? TIA Javascript function getCondition() { if (window.XMLHttpRequest) {// code for ie7+, firefox, chrome, opera, …

Member Avatar for jmichae3
0
170
Member Avatar for Lolalola

I wish re-index my blog after i post new content? I found how send new site map, but i wish send ping after i add post. I don't wish send all new site map. Maybe google have some api?

Member Avatar for almostbob
0
276
Member Avatar for devin2203

Hi In my application I have a test for distance using google maps api. As you can see above if the postcode is within range the page is redirected to the menu page. I have created a very simple lightbox using css and the onclick function. I want that div/lightbox …

0
134
Member Avatar for anuj_sharma

Hi, I am trying to develop something but I am stuck. it's not about the code but about the implementation. The application captures screenshots and then inserts all the images in a RTF document. Now, the user is also supposed to write a one line description for each image inserted. …

Member Avatar for rtellez700
0
155
Member Avatar for dorinpaunescu

Hi all ! I tried a lot of time to find something useful to get disk and network usage (separately) for a Windows process. Actualy I make use of [Windows Performance Counters](http://msdn.microsoft.com/en-us/library/windows/desktop/aa373083(v=vs.85).aspx) but it can't provide separated statistics, it provide me all IO activity. A disadvantage in Performance Counters are …

0
46
Member Avatar for maverick0612

I am connecting to a data stream that pushes data continuously and when I tried to set up a network stream I just could not connect and kept getting the 'not found' error. I used the httpwebrequest with webrequest.keepalive = true and started to consume the data by reading into …

Member Avatar for Oxiegen
0
1K
Member Avatar for galtectdemo
Member Avatar for mschroeder
0
61
Member Avatar for adohertyd

I'm trying to build a meta search engine in Python, probably using Grok as a framework. Django seems a little more complicated than I need. My main problem is that I can't find any decent tutorials for Grok. It's own tutorial doesn't really explain anything. The way I intend it …

0
65
Member Avatar for cool_zephyr

hello everyone..i'm trying to create a simple window using Win API in visual studio 2010 using the code below #include <Windows.h> LPCTSTR g_lptstrClassName="myWindowClass"; LRESULT CALLBACK WndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd,msg,wParam,lParam); } return 0; } int WINAPI …

Member Avatar for adityatandon
0
584
Member Avatar for jepp3

Hey! I'm trying to get mail(imap) from google by oauth authorization . I have got the authorization to work, but I can not retrieve the emails. As I understand it should be posible. But Google does not have any api to retrieve mail(?). I found the following: https://developers.google.com/google-apps/gmail/oauth_overview That says: …

Member Avatar for jepp3
0
172
Member Avatar for dannyniu

As you can see from the title, I'm suffering the problem. developer.apple.com didn't provide much information about this, I have to ask for solution somewhere else. I already know how to up/down-load files and create directories, but the official reference doesn't say how to undo it. I hope some one …

Member Avatar for dioioib
0
1K
Member Avatar for KazenoZ

Hello, I'm sorry about this being a kind of a raw question, but I'm just not really even sure which direction is right to head at. Anyway, let me explain the problem; I have a game, written in C++/SDL for PC, and I'm looking at possibilities of integrating Facebook activity …

Member Avatar for KazenoZ
0
183
Member Avatar for sabid

import maya import sys import os from functools import partial import maya.cmds as cmds def customVer(FileName, version): #create a file path with the file you have and version you want version = 9000+int(FileName[(location-3):location]) newFileName = str((myFileName[0:(location-3)])) version = str(version-1) version = version[1:] newFileName = newFileName+str(version) return newFileName def newFile(myFileName): #find …

Member Avatar for TrustyTony
0
295
Member Avatar for DaveyMoyes

Hi everyone, I have been trying to code a facebook application using the API. Within this, I am required to include the base_facebook.php file. But I keep gertting an error Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in …

Member Avatar for veedeoo
0
3K
Member Avatar for Labdabeta

I used to use a tutorial for windows console API, but the website was taken down :(. So now I need to ask how to do these things (which ALL were included on the website) in the console with windows API: * Mouse events (clicks and unclicks) * Cursor seeking …

Member Avatar for Labdabeta
0
200
Member Avatar for wlalth

Hi, how can i return arguments in my custom native dll like ReadProcessMemory api? For example for readprocessmemory, byte arguments return readed value. Its mixed c# and c++ so if its wrong place to ask, sorry about that. public byte[] ByteOku(uint BellekAdresi, int PID) { IntPtr readHandle = NativeMethods.OpenProcess(0x10, false, …

Member Avatar for Momerath
0
469
Member Avatar for kalz

HI I am developing a web service client using netbeans ide . I have used the code completion feature to implement the submit message method : import javax.xml.bind.JAXBElement; import uk.co.csoft.www2.dtd.sendsms5.Message; import uk.co.csoft.www2.dtd.sendsms5.ObjectFactory; import uk.co.csoft.www2.dtd.sendsms5.Recipient; public class Main { public static void main(String args[]) { //Recipient r = new Recipient(); //Message …

Member Avatar for kalz
0
2K
Member Avatar for Captain_Ludd

Hello all, Im new here and looking for some advice re the google maps javascript API (which im also pretty new at) The background: I have managed to get some pages that use the googlemaps interface up and running add markers to them etc and allow the user view directions …

Member Avatar for 72dpi
0
263
Member Avatar for nikoerror

**Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/u377251981/public_html/foll.php on line 69 how to fix this error? please help me... ** <!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" lang="pt-br" xml:lang="pt-br"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <style type="text/css" media="all"> @import "style.css"; </style> <script type="text/javascript"> function …

Member Avatar for nikoerror
0
182
Member Avatar for anuj_sharma

I have created an application which puts all the images at a user defined location in a rtf document. The code is working fine and the images are getting inserted. However, if I open the document and add some text manually and save the file, the file size increases dramatically. …

Member Avatar for anuj_sharma
0
644
Member Avatar for petzoldt01

Looking for some advice from a Windows perspective. Hopefully someone can relate, or at least understands what I am trying to accomplish (keep in mind the "path of least resistance"). I am open to multiple suggestions and paradigms, just try to sugar coat if you can :) I know something …

0
90
Member Avatar for yy886

This is a small php which will read the youtube RSS feed. What I want to do is convert it into object oriented. Using class and function. I am new to object oriented, can some body show me a way how and where to start with? I have read the …

Member Avatar for veedeoo
0
1K
Member Avatar for zifina

hai all... i need to add google map to my c sharp project...and also be able to find distance between any two locations on the map... i have no clue how to do it.. i dont know how to use the google map api... please help me with any info …

Member Avatar for zifina
0
152
Member Avatar for BenzZz

Hi, I'm creating a web app that downloads sms messages from an M2M server using a Soap Client. The problem I am getting is that the SoapClient is not being found when i do this: $m_obj_client = new SoapClient($m_wsdl); The error i receive is: Fatal error: Class 'SoapClient' not found …

Member Avatar for BenzZz
0
144
Member Avatar for mogaka

I am trying to process an array to get variable name and its value. below is the code. $s = explode("&",$mine); foreach($s as $k=>$v){ $v=explode("=",$v); for($i=0;$i<count($v);$i++){ $a[$v[$i]]=$v[$i+1]; } print_r($a); } The prolem is that the array repeats itself in output. as shown(look at it keenly): Array ( [APIresult] => 000;APIresultexplnation …

Member Avatar for diafol
0
132
Member Avatar for marleyB

<?xml version="1.0" encoding="ISO-8859-1"?> <project name="ant_template_core_java" basedir="." default="info"> <!-- Properties files --> <import file="../masterbuild/masterbuildproperties.xml"/> <import file="../lib/libproperties.xml"/> <import file="../implementation/implementationproperties.xml"/> <import file="../api/apiproperties.xml"/> <import file="../junittest/junittestproperties.xml"/> <import file="../javadocs/javadocproperties.xml"/> <!-- Ant task files --> <import file="../implementation/implementation.xml"/> <import file="../api/api.xml"/> <import file="../junittest/junittest.xml"/> <import file="../javadocs/javadoc.xml"/> <import file="../masterbuild/masterbuild.xml"/> <import file="../log4j/log4j.xml"/> <!-- Make directory files --> <import file="../masterbuild/masterbuildmakedir.xml"/> <import file="../implementation/implementationmakedir.xml"/> <import …

0
41
Member Avatar for zuzzles

So i came across this issue that I can run my applet fine and it creates my file (exe) until i attempt to do so in a browser (firefox, IE, etc). Its signed and asks for permission and gives no erros but it doesnt write to the file I want …

Member Avatar for JamesCherrill
0
313
Member Avatar for kalcio

hi, I prepare for an application to monitor network with the SNMP protocol,I have searched for APIs to help me in developping the code with java language like SNMP4j,but I'am just confused,is this API let me develop a class for searching the MIB values of the agent and thanks.

0
78
Member Avatar for nuclear

Maybe I'm just missing something but I was thinking what do you call something like a Windows Form Application in Visual Studio where you can drag and drop and stuff like that. Do you call that an API or SDK or GUI or something else? By the way, as I …

Member Avatar for mike_2000_17
0
246
Member Avatar for anuj_sharma

Hi, I am trying to get a screenshot of the active window on the screen, for which unfortunately Java does not have an API. It allows me to capture the screenshot of the whole screen but not of the active window. Now, I did a bit of workaround but it …

Member Avatar for anuj_sharma
0
263
Member Avatar for IIM

Anyone have idea about how can we use webcam to take pictures in java. Is there any specific port or something to enable webcam? Wondering how to do this. I don't want to use API like JMF or something.I just want to know how can we establish connection and get …

Member Avatar for IIM
0
92
Member Avatar for doctorphp

Hey everyone, Parsing RSS is not my strong point and I am making a news feed for a client and they want me to use the Yahoo News RSS feed. I am using the following code. <?php $url = "http://news.yahoo.com/rss/europe"; $xml = simplexml_load_file( $url ); ?> <h3 id="ln">Latest News</h3> <?php …

Member Avatar for mschroeder
0
377
Member Avatar for ITOzann

Hello guys, I've been trying to finish a project. But I seem to be stuck. I'm suppose to get the following output: [1:18:10, 2:33:10, 3:21:10] Remove customer:1:18:10 Remove customer:2:33:10 Remove customer:3:21:10 [Cashier:1001:0-0:Customer:null, Cashier:1002:0-0:Customer:null, Cashier:1003:0- 0:Customer:null, Cashier:1004:0-0:Customer:null] Remove free cashier:Cashier:1001:0-0:Customer:null Remove free cashier:Cashier:1002:0-0:Customer:null Remove free cashier:Cashier:1003:0-0:Customer:null Remove free cashier:Cashier:1004:0-0:Customer:null [Cashier:1001:13-31:Customer:1:18:10, Cashier:1002:13-46:Customer:2:33:10, …

Member Avatar for ITOzann
0
382
Member Avatar for Venom Rush

Hi I need to manipulate a soap call before it's sent off to the soap server. Currently my soap call is constructed as follows: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.xxxxxxx.co.za/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:SubmitStringLead> <xmlLead xsi:type="xsd:string"> <strXml> <Lead> <General> <dealer>419</dealer> <source ref="1334923054">randomstring</source> <enquiry>1</enquiry> <subtype>4</subtype> <comment /> </General> <Prospect> …

Member Avatar for Venom Rush
0
2K
Member Avatar for sarrrry92

Ok, I've been trying to do this for a few days, But I'm not getting it. Our Prof. is not very good, and I have no one to ask how to do this, I really need help with this. Write a program that has an array of 5 Strings, and …

Member Avatar for NormR1
0
166
Member Avatar for Venom Rush

Hi there I'm new to soap and I'm using the NuSOAP library. I'm trying to send xml to a soap server and then receive a response. I'm getting nowhere with this and it's beginning to frustrate me. Here is what I was provided with: First Snippet POST /Submit.asmx HTTP/1.1 Host: …

Member Avatar for diafol
0
5K
Member Avatar for hptchen

hi guys... i really need reference ASAP what i'm trying to do now is: -creating API from my website so that -other website can read certain content for my website database and put it in their website. i don't know if i explain it correctly, i tried to googling for …

Member Avatar for pritaeas
0
67

The End.