3,417 Topics
![]() | |
what is the API / function for getting the percentage of CPU utilisation by a given process? | |
Is it possible to use child window created in Win32 API as a container for another windows (controls - buttons, edit fields etc.)? Or is there any other way how to use container in Win32 API? The goal is to create a simple user interface for application? | |
Hey everyone, I've been working on learning the Win32 API for C++ so that I can start programming windows programs. I haven't run into any issues until last night when I tried to include a menu in my basic window through resources. I'm using Visual C++ Express 2010 which doesn't … | |
Hi XSLT Gurus, I am creating html from xml. I am calling a custom function to initialize the style attribute of a div element. This throws an exception during processing. I call a built-in function to initialize the id attribute of the same div element and it works fine. I … | |
I need to develop J2me (Midlet for graduation project)...I installed Java ME SDK 3.0 after installing JDK 6.0 I was running Java ME SDK 3.0 and I faced some errors: An error: A java.io.IOException exception has occurred java.net.ConnectException:connection refused This error keeps poping up 100 times+ while the Java ME … | |
i want to use google map api for my desktop application. the application will be totally connected to internet. while i was searching some research notes about this implementation. i found a ideal site with the configurations. but it has some java files to be downloaded. but when i tried … | |
I'm trying to use the web request class in vb.net to post some xml. On the reciving end, I keep getting an internal server error with the message: Missing Soap action header". I did some reasearch and saw that a firewall can strip out the soap action header so I … | |
I'm trying to develop a drupal module to return json from the citysearch api. I can successfully construct the url and I can use the url to open a new window and display the returned json data, thus: [CODE]testwindow= window.open (URL, "mywindow", "location=1,status=1,scrollbars=1,width=100,height=100");[/CODE] however, my attempt to try this with … | |
Dear Friends, Please help me in getting out of the below error. I have made attachment of source file, kindly try to execute the program experience the error and guide me. D:\Tomcat 6.0\webapps\Beer-v1\WEB-INF\classes\com\example\web>javac -classpath " D:\Tomcat 6.0\lib\servlet-api.jar" BeerSelect1.java BeerSelect1.java:3: package com.example.model does not exist import com.example.model.*; ^ BeerSelect1.java:15: cannot find … | |
somehow this does not work: [icode]self.list_box_1.SetForegroundColour(5,"red")[/icode] SetForegroundColour is though listed in [url="http://www.wxpython.org/docs/api/wx.ListBox-class.html"]the api reference[/url] | |
have just "finished" learning C. By finished, I mean I have learned all the basics in plain vanilla C (command prompt style). I want to get into windows developement so that i can create something useful. What should be my next step? Should i be learning a object oriented language … | |
Hi ! Let's get directly to the problem : I'm actually doing a firefox extension in which i would like to implement the [URL="http://jwebsocket.org/"]jWebsocket API[/URL] in order to build a small chat. I got my main script file, named [I]test.js[/I], and the jWebsocket lib into a js folder. Just for … | |
Hi there, recently I wrote a small C program utilising the Windows API to communicate with a device over the serial port (COM1, a real serial port of my PC). This worked fine, but I am aware of the fact that those real COM ports are replaced more and more … | |
Hi, I have some data stored on an XML file and I am trying to read a specific part of it. Here is a line from the XML:- [CODE] <photo id="4539802593" owner="***" secret="***" server="4032" farm="5" title="Stone Bridge" ispublic="1" isfriend="0" isfamily="0" /> [/CODE] Below is the bare bones of code I … | |
Hi, this is a major stepup in programming for me so please bear with me. Using the Flickr API to generate photostream thumbnail images I need to parse the XML output to my application. I don't want to use a browser component if I don't need to but rather display … | |
Hello. I'm currently developing an IVR system under Asterisk through the Asterisk Gateway Interface (AGI), connecting to a Mysql server using the Mysql C API. The server returns a ticket number that I have to say to the client, so I developed a TTS (Text To Speech) algorithm to say … | |
I am using jquery's ajax method to POST data to a server. I am using the servers API, and it is stated that in whatever request, I have to include this "authentication token" to access the data I need, either as an http header field or a header parameter. I … | |
Hey guys, I want to know how you guys parse html. I'm writing a program to compare products on a website. I already have a system that scrapes the websites. I looked at HTMLParser, I'm a little confused on how to use it, I was thinking about writing my own … | |
Hey guys, Would it be possible for someone to post a working example? I can't find any good information on using the streaming API with ASP.NET and I can't get any of the code on this thread to work. I was trying just to get the response from the api … | |
I'm currently writing a code for a dynami image generating script to return XBox Live gamercards. I've got everything working almost perfectly apart from imagecreatefromjpeg (which I am using to return the thumbnail images of recently played games). My code is below along with a sample image for you to … | |
Hi All, I need to create a new web-service by using php. And I need to use SOAP RPC/encoded for implementing this. I also need to authenticate the soap request using soap header information. Before doing main task that I have created a WSDL file, client and server files using … | |
i have a ibm java webservice with soap protection username and password needed to give for accesing this webservice .. i need to call this webservice from C# client ... when i call this webservice .its showing this error com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5048E: One of "SOAP Header" elements required. please help me... … | |
Hello! Suppose I'm using an external API, and in that API, they define: const Bar& Foo() const; So this function returns a Bar by reference. Now, I have a function void f() { Bar P = Foo(); } Is it safe to const_cast whatever is returned by Foo? I want … | |
Can anyone help how to develop simple GUI in Win API. The window should looks like "Options windows" in Firefox (Tools->Options). I would like to create something when I click on the button above(like in FF) the content in below will change. I know how to implement it, but I … | |
I have two questions that are Eclipse and Mac OS X specific. Question 1: Referring to eclipse preferences > java > Installed JRE's > Execution Environment: Can someone explain the [ execution environment's ] and compatible [ JRE's ]? I'm interpretting this as the execution environment being the JVM eclipse … | |
My SEF URLs are working fine on my local machine (WAMP Server) but when i upload it to server (Server API : CGI) it shows all the pages as 404 error. Here is the code i use : [CODE] 1) .htaccess : Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule … | |
So is it worth learning win32 API instead of just shooting straight to Microsoft Foundation Classes? One of my classes covered win32 for a little and I was able to do a couple fun things with it, but then we jumped into MFC. It makes you ask the question, is … | |
hi guys, I'm kind of new with xml. I have an xml file in the following format, with 592 records: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <data> <item> <buildingName>Chateau</buildingName> <address>81 North Broadway, White Plains, NY</address> <mail>I</mail> <laundry>I</laundry> <garbage>I</garbage> <parking>I</parking> <rating>No Access</rating> <municipality>White Plains</municipality> </item> <item> <buildingName>44 Franklin Avenue</buildingName> <address>44 Franklin Avenue, New Rochelle, … | |
Hi could somebody please help me with this as it is driving me nuts for hours!!! I keep receving the "NullReferenceException was unhandled " message: [code] public static Conditions GetCurrentConditions(string location) { Conditions c; c = null; c = new Conditions(); c.GetCurrentConditions(); XmlDocument xmlConditions = new XmlDocument(); xmlConditions.Load(string.Format("http://www.google.com/ig/api?weather={0}", location)); if … | |
i ve gone through a link while dong google search to handle the dialog boxes prompts in web browser control..this is the link. [url]http://www.codeproject.com/KB/dialog/WindowInterceptor.aspx?display=Print[/url] and i ve tried like this, [CODE] namespace intercept { [DllImport("User32.dll")] public class WindowInterceptor { IntPtr hook_id = IntPtr.Zero; Win32.Functions.HookProc cbf; /// <summary> /// Delegate to … | |
I have a 2D array whose cells represent each character in a terminal window that can either be ON or OFF (boolean). [CODE] bool grid[24][80];[/CODE] Then, using the ncurses API, I grab a key press: [CODE]key = getch();[/CODE] where key is an int type. The 'q' key is what I … | |
Ok, so I'm done with my "Code Break" and I'm back in "action". A couple months ago I completely dropped programming to pay attention to other things in my life. I was only on the forums a brief period of time anyway, so most people probably don't remember me at … | |
This script uploads the pics in the specified directory into the specified album in picasa. The script requires gdata libraries installed. Check [I]code.google.com[/I]. I had written and tested the code in linux platform. Hasn't been tested in windows. Any suggestions to add more functionality, or add a UI or any … | |
[CODE]<script type="text/javascript" src="http://maps.google.com/maps?file=api&sensor=false&key=APIKEY"></script>[/CODE] [CODE]<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&key=APIKEY"></script>[/CODE] I am trying to integrate our map overlays with a great Google maps Tooltip script I found, but I can only get the overlays to work when calling the first script, and the tooltips will only work when I use the second script. Does … | |
Hi there, I'm working on a small task to practice my (non-existing) java skills. I'm trying to write a program that reads a text file and replaces every character with a .wav file containing a musical note. A friend gave me some help, and with his help I made class … | |
Hello .. i need ur help i have this problem .. i have this in a jsp page : [code]<jsp:useBean id="rdf" class="test_rdfa.NewClass"> </jsp:useBean> String id=(String)session.getAttribute("id"); String url= request.getParameter("wburl"); rdf.readGrddl(url,id); [/code] and this is the NewClass.java: [code] import com.hp.hpl.jena.grddl.GRDDLReader; import com.hp.hpl.jena.rdf.model.*; import java.io.*; public class NewClass { Model model = null; … | |
Hi, I am trying to create an automated trading system and am fetching data from an API (interactive brokers) API. I need to store 30 nodes of tick data( Tick is a reference type struct I have created) and store it in a linked list. When i start the system, … | |
How do I load an older version of 'xerces-j 1.4.3' and 'xerces-j-docs' into eclipse so I can use the api's? I've looked at the Eclipse doc, and I'm not finding a direct reference to this which makes me think I'm not grasping some important concepts conerning plugins, and features. Below … | |
Hi, I am a Maltese student currently working on my dissertation which focuses on J2ME Wireless SOAP protocol. Since in my country i.e. Malta we don’t have professional mobile developers I had to turn myself to online questionnaires for my research methodology those of you who has done a thesis … | |
Okay i posted a question like a day ago and didn't get no response, I did however figure out the problem. The problem I am having now with is the fact that it finds the numbers that i want it to but it also adds a zero which is in … | |
following is my API [code] public unsafe static extern int SAP_GetDeviceList(int SAPIdentifier, ref uint DeviceCount, out sSAPP_DiscoveredDeviceInfo_t[] rgDiscoveredDevs ) [/code] sSAPP_DiscoveredDeviceInfo_t is a structure how do i call this api?? how should i declare rgDiscoveredDevs this varible and of wht type so that i can call above API? [code] iResult … | |
Hello All, I'm new to DaniWeb. I am trying to find php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar, coupon section. Real Estate, Dining, Shopping, and Hotel and Motel guide also. I have an advance user login … | |
I need to detect that joystick is unplugged during runtime. Using C++ Borland builder 5 enterprise edition. used windows api. Referred to [COLOR="red"]http://plib.sourceforge.net/js/index.html[/COLOR] Right now joystick once detected, it remains as plugged even though in the midst of the application i unplug the joystick. Goal: Is to stop processing the … | |
Hi All, I have an API key for google maps and its giving me the following response. My first question is, how can i extract the data? Normally i work with XML responses via CURL so im new to this. If i do use the XML example i just get … | |
Hi, I am facing a problem in capturing and retreving data from a webmethod response.I am calling web methods on remote server.So I have included the web reference of the webservice in my Vs2005 solution.But the main problem is the webmethods are returning custom Array datatypes.The coustom data types are … | |
Alright, so it has become apparent to me that Microsoft has switched up the Win32 API in Visual Studio 2010 (I'm not too experienced in the API already, I was just starting to get the hang of it). Does anyone know what exactly they changed and where a good tutorial … | |
Hi, I had a query whether Windows multithreading API throw any Synchronization exception. If I am sharing a STL string between threads and the string is not guarded,will there be any synchronization exception. Another query is does STL container throw exceptions apart from memory violation Thanks in advance :-) | |
hello, I'm using eclipse platform to try to transfer file using Java mail API, but facing the following exception java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream I know this is a common problem, but i've tried all possible measures to get rid of this exception here's what i tried * I downloaded javamail-1.4.3 from sun … | |
Dear friends, I am interesting in doing a project using 56K voice modem(normal modems that comes with pcs) to dial connected PSTN. After other party left the receiver, I am hoping to play a music or recorded voice clip to listen to them with the response of therm. Java is … | |
Hi, I have two problems. I have this program: But I dont know how can I do: 1 that I finish this program and save text to .txt by press of ENTER 2 that window, in which will be field to write text, will be illustrated in main window, but … |
The End.