3,417 Topics

Member Avatar for
Member Avatar for Frederick2

Here is the full code relating to my performance problem I’m having with my operator+= which I described in this adjacent thread…. [url]http://www.daniweb.com/forums/thread340734.html[/url] As a quick review, I’m finding that the operator+= function in the Standard C++ Library’s String Class, i.e., <string>, is performing almost impossibly fast compared to the …

Member Avatar for Frederick2
0
556
Member Avatar for iwanttolearnc

hello there guys. im quite confused regarding the use of pyserial classes. ive been reading up on the pyserial documentation. i followed an example and used the code below [CODE]import serial ser = serial.Serial (0 , baudrate = 57600 , timeout = 1) #open serial port (1) - 1 line …

Member Avatar for iwanttolearnc
0
173
Member Avatar for tripleD

I'm working on a file organizer of sorts. The user can drag icons from the desktop into a list view, and drag items out of the list view to remove them. Dragging icons from the desktop to the list was straightforward, it's the other part that's giving me trouble. What …

Member Avatar for tripleD
0
807
Member Avatar for anuj_sharma

Hi, I have two XML files namely (1)'message_gen.xml' and (2)'message_user.xml'. The (2) file is correct and the (2) is generated by an application. The (2) file should be same as that of the (1) file i.e. it should have the same elements, the same element content. I am currently using …

0
86
Member Avatar for suzan atte

i am thinking of doing a project ''controlling a pc using a mobile". can u just give some guidance. Thanks. i need to write a proposal on it and i dnt kw ow to go about it but i kw i need a mobile fone with the facility to send …

Member Avatar for jimsym
-2
60
Member Avatar for VichuTheWizard

Hi, I am currently doing a project on remote object communication between Flex 4.1 SDK and Java using Flerry API.I need a Java program that can capture the user keystrokes while the user enter's text in the action-script text-area. i.e I need Java program that captures the keystrokes as user …

Member Avatar for VichuTheWizard
0
197
Member Avatar for n00b3

Hello, I am writing a c++ program for windows using the API. My program needs to be able to get some text from the clipboard, import it to the program's scope as a string, and do work on the string. [what I have tried] [code] cout << GetClipboardData(CF_TEXT) << endl; …

Member Avatar for Panda_007
0
5K
Member Avatar for triumphost

The code below is what I'm having problems with... The combobox part is getting me angry and i've searched everywhere, code guru, msdn, stackoverflow, daniweb... And I cant figure it out. Its for a game my friend plays. I play and quit on and off.. I decided to do a …

Member Avatar for jonsca
0
362
Member Avatar for DarkLightning7

I cant seem to find the problem with this program I am building as a learning exercise. I am getting errors referenced to extremely simple pieces of code. In the output the first thing that should be printed is the random double number that the program selects then it should …

Member Avatar for DarkLightning7
0
275
Member Avatar for dre-logics

I use Visual Basic 2008 I have this code : [CODE] ' this picture i want enclose in the URL '========================================================== Dim PicBuffer() As Byte PicBuffer = IO.File.ReadAllBytes("c:\picture1.png") ' ========================================================== Dim Request As HttpWebRequest Dim Response As HttpWebResponse Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test") Request.Method = "GET" Response = Request.GetResponse Dim reader As …

Member Avatar for kvprajapati
0
116
Member Avatar for tomtetlaw

I'm using VC++ 2008 with Window XP Professional. I'm trying to make a custom assert function, which presents a dialog box asking what the user wants to do about the assert. When I call DialogBox, it shows my dialog properly, but every subsequent call to that function appears to do …

0
70
Member Avatar for Masood_786

Hi All, I have been assigned a task to read other application data installed in our client's computer running windows 2000 and then send it to serial port. The application has a tab control in the main dialog that contains two sub dialogs, one contains a combo box, selecting each …

0
65
Member Avatar for Don_k

Hi, I would like to using POSIX API system calls in C, and via command line arguments know how to go about extracting from an archive file.(in Linux). I have done the archiving process it archives the files I enter into the command line , and the last but one …

0
123
Member Avatar for jackmaverick1

How do I comunicate with an API? I'd like to create a thing that would comunicate with other people through another server (say Gmail) Thanx, JT

Member Avatar for jonsca
0
98
Member Avatar for Nathan Campos

I'm trying to adapt the opensource code from the page [url=http://tlrobinson.net/iphone/lighttable/]Drag and Drop in MobileSafari[/url], here is a snippet of the code I've changed from: [code] function jsonFlickrApi(data) { for (var i = 0; i < data.photos.photo.length; i++) { var p = data.photos.photo[i], img = document.createElement("img"); img.src = 'http://farm'+p.farm+'.static.flickr.com/'+p.server+'/'+p.id+'_'+p.secret+'_m.jpg'; img.className …

Member Avatar for Airshow
0
295
Member Avatar for Nassarofficial

Hello, i have to split my code into parts so i split a dragimage demo from the wx demo package which is this code: [ICODE] import wx import images #---------------------------------------------------------------------- class DragShape: def __init__(self, bmp): self.bmp = bmp self.pos = (0,0) self.shown = True self.text = None self.fullscreen = False …

Member Avatar for loveerl
0
254
Member Avatar for malli123

Hi, I need to write a program to open a file in usb mass storage devive(pendrive) without using mount point.I used libusb API to open the device but how to open a file in that without knowing the mount point.Any API functions are there to open text file in that? …

Member Avatar for anirudh33
0
109
Member Avatar for Shankye

Hey friends .. Can anyone give me idea on how to Create a button similar to like button of facebook .. I think they use complicated API n all .. I want it to be simple but useful .. Can anyone help me with this please ..

Member Avatar for Shankye
0
110
Member Avatar for hariharans87

Hi, I have PIC32MX795F512L. I have used the "USB Host - MCHPUSB - Generic Driver Demo - PIC32 USB Starter Kit II.mcp" Firmware. I am very new to Delphi. So I have copy and paste the code from [URL="http://www.sixca.com/delphi/article/microchip_usb.html"]http://www.sixca.com/delphi/article/microchip_usb.html[/URL] It is working fine. I want to use the UPDATE_LED (change …

Member Avatar for pritaeas
0
180
Member Avatar for kcomeby

Hello, I have an application, its usefull but i think it's doing something nasty. I want to check what is it doing like: creating file, opening process, sending data over network, deleting file, killing process etc.. There are softwares, listing all api calls but its much more complicated than i …

0
56
Member Avatar for 3vilwyatt

Hey guys, I am doing a very simple POC regarding Instant Messaging using Struts. So I was able to do login and sending message. However, I am confused on how I can get the messages display to my POC if the other person is replying. The idea that I am …

Member Avatar for Airshow
0
281
Member Avatar for malli123

Hi, I need to write a program to open a file in usb mass storage devive(pendrive) without using mount point.I used libusb API to open the device but how to open a file in that without knowing the mount point.Any API functions are there to open text file in that? …

0
56
Member Avatar for josh_diego

Hello, I was wondering about API standards. I want to embed games on my website but log in my server the score visitors will do. I couldn't find any API that allows such thing (or a gaming platform which "pings" back the score to my server) I would like to …

0
102
Member Avatar for ChEeZeBaLL

I've found many tutorials on writing IRC bots and I think it would be nifty to code a simple chat bot for [URL="http://www.tinychat.com"]tinychat[/URL] I was thinking something with basic greet functionality and maybe being able to tell you what the weather is going to be. I have no idea where …

Member Avatar for ChEeZeBaLL
0
180
Member Avatar for gunbuster363

Today I tried to write a vba macro with the vba editor in excel to perform some stupid and time-consuming job. but then ,after 2 hours trying to write the macro in vba, I found that I don't know how to write vba, and the tutorials is not completed in …

Member Avatar for peter_budo
0
140
Member Avatar for bwallace

When we test our currency converter it shows a weird number before the numbers we enter. "25 pounds to U.S. dollars" returns "$1.5406, 25 British Pound = $38.52 U.S. Dollar". (For the record, Google says "25 British pounds sterling = 38.5375 US dollars".) What's wrong? [CODE=PHP] <?php /** * Jojo …

Member Avatar for bwallace
0
344
Member Avatar for Don_k

Dear guyz, I am creating a file archiver/extractor(like tar), using POSIX API system calls in C. I have done part of the archiving bit. I would like to know if any one could help me with some C source code(using above) to create [B]a file header for a file in …

Member Avatar for Don_k
0
291
Member Avatar for youlichika

hi. I want to add a google map(with street view) in my site. I use this code. when I clicked the point on the map, it can change the street view to this part and show the click point information. But how to add a Red balloons marker in the …

Member Avatar for youlichika
0
360
Member Avatar for dark3lf

Hello all, I am building a web application in python that prompts the user for a question that they want to have answered, then gives multiple answers by querying various Q&A sites (yahoo! answers, chacha, answerbag, etc). The problem is, I'm having trouble finding a significant number of APIs from …

Member Avatar for Tech B
0
115
Member Avatar for Naveen Haran
Member Avatar for chikkupa
-1
92
Member Avatar for rizrash

Hey i have created a few voice controlled codes...e.g one for opening and interacting with wikipedia..other for opening webtv...etc...and the third that gets rss feeds from various website....all this work on voice ...i used speech API for that..now i want create an interface that works like this 1. A MAIN …

Member Avatar for Diamonddrake
0
120
Member Avatar for ms88

Hi there, I have some problem with accessing API using PHP. Here is the story : I use PHP as my main script on my webserver. I want to retrieve data in database server (oversea). The database server provides API and it's available to download. So I download the API …

Member Avatar for mdew_47
-1
907
Member Avatar for jhai_salvador

Okay, this is just a simple trick to determine whether CAPS is pressed because some people here use API to determine whether the CAPS Lock is pressed. [QUOTE] KeyDown and KeyUp don't detect exactly the same information as KeyPress. KeyPress detects a character in its KeyAscii parameter, but KeyDown and …

Member Avatar for jhai_salvador
0
879
Member Avatar for RunTimeError

Hey guys, For some reason I cannot get an image I have uploaded to display when I try to render it through an <img> tag within a response.write() API Call in C#. Here is my code: [CODE=C#]protected void uploadFiles(object sender, EventArgs e) { HttpFileCollection allFiles = Request.Files; for (int i …

Member Avatar for CrappyCoder
0
614
Member Avatar for onus

Hi, here is a simple puzzle to which I have made a program, A C program to take bondectory name as command line argument and print last 3 directories and 3 my_files in all subdirectories without using api 'system' inside it. suppose directory bond0 contains bond1, di2, bond3, bond4, bond5 …

Member Avatar for Trentacle
0
233
Member Avatar for cielle

Hi all, I am trying to apply Hamming window on my lengthy sound data soundSample[1000] with window length 100. Then proceed with FFT. And i found that java does have the package for Hamming window and FFT. As below, [url]http://code.compartmental.net/minim/javadoc/ddf/minim/analysis/FFT.html[/url] [url]http://marf.sourceforge.net/api/marf/math/Algorithms.Hamming.html[/url] But i hardly find an example that illustrate how …

Member Avatar for quuba
0
1K
Member Avatar for rakesh4java

[CODE]import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class getname extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void destroy() { } public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException { String name = null; PrintWriter out = response.getWriter(); if(request.getParameter("txtname") != null) …

Member Avatar for rakesh4java
0
25K
Member Avatar for mangel.murti

hello all,, i am working on online hotel booking project . where user can pic room in Hotel and booked them using paypal. what if user want to cancel booking... i used paypal api for that.....and payment type is sale.... my Question is that 1. if user wants to cancel …

Member Avatar for mangel.murti
0
107
Member Avatar for dilip_singh3
Member Avatar for SuPrAiCeR69

I have an example below from the registrar and when implemented (in a loop) it takes between 500ms to 1s between checks. I need it to run as quickly as possible, whether it be through curl or without. It seems curl takes forever between checks. I only need the script …

Member Avatar for mschroeder
0
2K
Member Avatar for aslamdoctor

I am using buddypress plugin on my wordpress project to create a social networking site. I have created a User login module & also used a plugin called BP-FBConnect to allow users to log in as facebook users. So here there are 2 user categories 1. Site Users 2. Facebook …

0
55
Member Avatar for erniestl

I have windows 7 on my pc with 2 gig memory, 350 gig harddrive and 2.67 GHZ CPU. I run slimbrowser most of the time. This problems does it in IE,Firefox and slimbrowser. What ha}ppens is if I open like 15 websites aat once will close the browser down , …

Member Avatar for dvdreplication
0
413
Member Avatar for VanessaRyan

[ATTACH=left]17531[/ATTACH][URL="http://www.5o9inc.com/products/download/"]5o9® EZMobile[/URL], to be released on October 11, 2010 is a new mobile context app for all Web apps that utilize the browser to deliver real-time context (mobile user, device and location data) to the Web server for use in any Web application. This new software enables developers to know …

Member Avatar for mactilden
1
464
Member Avatar for hiddepolen

Hi all! I have a very strange problem. I am making a Win32 program, using Visual C++ professional 2010. Everything works exactly as it should, until I want a MessageBox to appear. It appears, but I cant click any buttons. I also can't access my main API, so I can't …

Member Avatar for hiddepolen
0
1K
Member Avatar for daudiam

I can't understand the following statement [QUOTE]The Hotspot VM now implements Thread.yield() using the Windows SwitchToThread() API call. This call makes the current thread give up its current timeslice, but not its entire quantum.[/QUOTE] given at [URL="http://www.javamex.com/tutorials/threads/yield.shtml"]http://www.javamex.com/tutorials/threads/yield.shtml[/URL] I understand that after a thread yields, other threads get a chance to …

Member Avatar for ~s.o.s~
0
694
Member Avatar for abelingaw

I would like my login form to display a message when the user logging in pressed the CAPSLOCK key when he is entering data in the password textbox. I tried using this code on Keypress Event [CODE] If KeyAscii >= 65 And KeyAscii <= 90 Then txtPass.Locked = True Msgbox …

Member Avatar for AndreRet
0
97
Member Avatar for Yuichi

Hi all, I am new to ffmpeg and I tried using api-example.c to decode wma files. However when I run the program, it gave me an error saying "frame_len overflow". Does anyone know how to fix this error? Here is my code: [CODE]extern "C" { #include <avcodec.h> #include "../libavcodec/avcodec.h" #include …

0
151
Member Avatar for jfortiv

Hello, I'm developing an org chart for my company and I want to spend some effort to make it interactive. I'm utilizing the Google Visualization API Org Chart tool and writing JavaScript to extend the basic functionality provided by that framework. This is the general plan that I've devised so …

Member Avatar for jfortiv
0
115
Member Avatar for youlichika

Hi everyone, I'm new study Facebook api. I use this code, but the resault is empty. Can anyone help me? Thanks. ps: i have replaced my api id, url ,secrect in it. [CODE]<form action ="index.php" method ="post"> <input type="text" value="what is?" name="search" style="color:#999;text-align:center;" onfocus="if (value =='what is?'){value =''}" onblur="if (value …

0
123
Member Avatar for Don_k

Hey guys using Linux(C) using POSIX API system calls read,write, open etc. I can open,read,write to a file and copy its contents to an output file. How would I go about copying more than one file to an output file using related system calls only. I currently have: [code=c]filein = …

Member Avatar for Don_k
0
224

The End.