3,417 Topics

Member Avatar for
Member Avatar for vadan

what is the API / function for getting the percentage of CPU utilisation by a given process?

Member Avatar for rahmu
0
81
Member Avatar for cecp

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?

Member Avatar for cecp
0
226
Member Avatar for dgr231

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 …

Member Avatar for mitrmkar
0
252
Member Avatar for johnware

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 …

0
76
Member Avatar for johnnydarten

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 …

0
82
Member Avatar for lich

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 …

Member Avatar for JamesCherrill
0
168
Member Avatar for Eregnon

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 …

Member Avatar for kronald
0
2K
Member Avatar for scottholmes

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 …

Member Avatar for scottholmes
0
100
Member Avatar for fardeenmc

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 …

Member Avatar for fardeenmc
0
120
Member Avatar for Kruptein

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]

Member Avatar for HiHe
0
168
Member Avatar for stirredo

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 …

Member Avatar for Ancient Dragon
0
74
Member Avatar for colon3l

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 …

Member Avatar for colon3l
0
140
Member Avatar for friendfx

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 …

Member Avatar for Jason Guo
0
2K
Member Avatar for Cap'nKirk

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 …

Member Avatar for Cap'nKirk
0
85
Member Avatar for Cap'nKirk

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 …

Member Avatar for Cap'nKirk
1
173
Member Avatar for ContactaCall

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 …

Member Avatar for saurabhjasuja
1
343
Member Avatar for urbancalli

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 …

Member Avatar for fxm
0
100
Member Avatar for PhiberOptik

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 …

Member Avatar for PhiberOptik
0
93
Member Avatar for elblocko

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 …

Member Avatar for elblocko
0
99
Member Avatar for euantor

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 …

Member Avatar for euantor
0
308
Member Avatar for crdipu

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 …

0
116
Member Avatar for aju982007

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

Member Avatar for nrrbalaji
0
415
Member Avatar for Xorlium

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 …

Member Avatar for Xorlium
0
173
Member Avatar for cecp

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 …

0
30
Member Avatar for gjames

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 …

Member Avatar for gjames
0
159
Member Avatar for bobbymoir

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 …

Member Avatar for bobbymoir
0
160
Member Avatar for LevyDee

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 …

Member Avatar for LevyDee
0
103
Member Avatar for herbozo2

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

0
79
Member Avatar for tookerello22

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 …

Member Avatar for mcriscolo
0
174
Member Avatar for khan17

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 …

Member Avatar for kvprajapati
0
189
Member Avatar for samurai1200

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 …

Member Avatar for samurai1200
0
696
Member Avatar for Maulth

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 …

Member Avatar for paulojrudi
0
389
Member Avatar for giri.pankaj

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 …

Member Avatar for giri.pankaj
0
375
Member Avatar for Loved

[CODE]<script type="text/javascript" src="http://maps.google.com/maps?file=api&amp;sensor=false&amp;key=APIKEY"></script>[/CODE] [CODE]<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&amp;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 …

0
80
Member Avatar for supersuper

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 …

Member Avatar for supersuper
0
105
Member Avatar for Ghada Ibrahim

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

0
64
Member Avatar for ashish.men

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

0
93
Member Avatar for gjames

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 …

Member Avatar for gjames
0
73
Member Avatar for AnarChYm

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 …

Member Avatar for AnarChYm
0
120
Member Avatar for helpmepassclass

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 …

Member Avatar for javaAddict
0
116
Member Avatar for RupaliMagar

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 …

Member Avatar for kvprajapati
0
68
Member Avatar for cityportalguy

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 …

Member Avatar for vijju0987
0
199
Member Avatar for ranjita.cdt.esg

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 …

Member Avatar for Salem
0
99
Member Avatar for whiteyoh

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 …

Member Avatar for whiteyoh
0
200
Member Avatar for saisunil1978

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 …

Member Avatar for nn pp
0
205
Member Avatar for Spartan-S63

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 …

Member Avatar for Ancient Dragon
0
143
Member Avatar for Sonali_86

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 :-)

Member Avatar for madhav_75
0
114
Member Avatar for Pritha17

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 …

Member Avatar for parry_kulk
1
4K
Member Avatar for cool4angle

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 …

0
31
Member Avatar for 1manik

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 …

0
50

The End.