199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for programing

hi i need to help me to understand this code how its work and depend on what it determine how many time yopu should enter values [CODE]#include <stdio.h> #define SIZE 100 #define SENTINEL -99999 #define TRUE 1 #define FALSE 0 #define READ 10 #define WRITE 11 #define LOAD 20 #define …

Member Avatar for DJSAN10
0
220
Member Avatar for Cap.Alvez

Hi everyone! I would like to know if python is any good for creating apps for cellphones .. like Iphone,Blackberry.. or even for Ipods? Ive been researching on this matter but I never got a good answer.. haha Thanks in advance! :)

Member Avatar for M.S.
0
196
Member Avatar for RLS0812

According to this post [url]http://www.python-forum.org/pythonforum/viewtopic.php?f=3&t=31349#p146797[/url] it claimed to be possible to create a list were you can store and recall data using a coordinate system ... [code]SomeList[1][5][2] = 234 [/code] I have been playing around with the code a while, and have ran into a problem. No matter what I …

Member Avatar for TrustyTony
0
209
Member Avatar for AbdullahDar

The above code gives no errors and the emulator starts running, but the Login Screen is not being displayed on the emulator. I am working in j2me sdk 3.0. Anyone please tell me why it isnt showing the Login Screen. [CODE]import javax.microedition.midlet.MIDlet; import javax.microedition.lcdui.*; public class LoginExample extends MIDlet implements …

Member Avatar for _neo_
0
866
Member Avatar for emorjon2

Hi all! I bought a new HTC desire Z I'm swedish so I wanted Å, Ä and Ö on my QWERTY-keyboard on the mobile but I couldn't get a HTC desire Z with Å, Ä and Ö. So I decided to fix it on my own. I am developing a …

Member Avatar for _neo_
0
155
Member Avatar for Rahul Das

Hello Everyone, I am new to J2ME. I am learning J2ME Bluetooth application development. I have written a simple code only to get the name of my local Bluetooth device. It is working fine in all the emulator. But when I am trying it in my phone then it is …

Member Avatar for _neo_
0
159
Member Avatar for avinash_545

Hi everyone. I am currently working on a project and I am new to php xmlrpc and openerp. I came across sample codes but I cannot figure out the method being called nor is it documented in the OpenERP xmlrpc definitions. The link for the sample code is : [URL="http://doc.openerp.com/v5.0/developer/6_22_XML-RPC_web_services/index.html"]http://doc.openerp.com/v5.0/developer/6_22_XML-RPC_web_services/index.html[/URL] …

Member Avatar for cereal
0
115
Member Avatar for farhanakram

i have written following insertion sort program for a doubly linked list completely by myself.The the sort function is giving me Segmentation error and i am unable to figure it out...Plz help me out and forgive me if the code is too wrong to handle.. [CODE] //insertion sort using doubly …

Member Avatar for farhanakram
0
6K
Member Avatar for kavi4u

hi... i have one function in my c # application. this is to add one field from the table to the combo box. but i have to use this function in many forms , instead of writing this function in all the forms is there any other way where i …

Member Avatar for kamilacbe
0
128
Member Avatar for AquaNut

Hi Coders, I have a minor problem that I would like to try and resolve. I am pasting data from an Excel spreadsheet and and adding a 0 to the start of each 9 digit string it's it's missing (thanks to the help of Rev Jim. This works great if …

Member Avatar for AquaNut
0
208
Member Avatar for Jack Eagles1

Hey Guys, I've been working on some autocomplete abilities for a webbrowser I'm building, rather like in IE or Firefox. This is what I mean: [url]http://content.screencast.com/users/JackEagles1/folders/Snagit/media/509d42db-a0bd-4077-81c2-2783d0466e04/12.25.2011-21.18.04.png[/url] I have absolutely everything working - adding search providers from webpages, getting the search suggestions as an XML file from whatever provider may be …

Member Avatar for NewUserVB.Net
0
180
Member Avatar for Smartflight

Hi, I'm learning C/C++ at school and we have our vacations; thought I might do some programs on my own. I've landed at trouble with sorting numbers in a 1-D array at the time of insertion. It seems to work up to a certain point, after which it fails to …

Member Avatar for Smartflight
0
358
Member Avatar for epicbeast9022

Hello everybody I [I]thought[/I] I understood inheritance but it turns out I don't. I am creating an SDL/OpenGL mini-GUI library. I have a master class, GUIComponent, with subclasses such as TextLabel under it. I have a vector called guiList that is initialized as [ICODE]std::vector<GUIUnit*> guiList[/ICODE] (it's extern'd and initialized elsewhere; …

Member Avatar for vijayan121
0
175
Member Avatar for _neo_

Actually I'm trying to open serial port to send logging data in j2me. When I connect my phone via usb cable to pc my code works correctly. But when I start app without usb cable connecting to phone it is hanging up. [CODE]private static void sendToSerial(String msg) { try { …

Member Avatar for _neo_
0
327
Member Avatar for bhagawatshinde

Hi is it possible to access file from server without downloading it to remte machine

Member Avatar for bhagawatshinde
0
92
Member Avatar for _neo_

I have test midlet which requests my location via JSR-179 Location API. I use Nokia 6275i. Its java: MIDP-2.0, GPS enabled (I see blue icon on top of my mobile device) When I run this app I got the following error: "java.lang.securityexception: Positioning Log denied Location access." Google do not …

Member Avatar for _neo_
0
266
Member Avatar for floatingDivs

Hey everyone (especially Narue!), I've ventured over to the C++ board again. I've been reading my C++ book (Data Structures and Algorithms in C++) again and want to fully grasp the concept of pointers. In the back of each chapter, a couple of exercises are available and I'm attempting to …

Member Avatar for floatingDivs
0
718
Member Avatar for ThomsonGB

Okay - Now I am beginning to get a bit frustrated. I have a project that builds perfectly and I just want to duplicate it so I create a new project with the new name that I want to call it. When It shows me the empty space to start …

Member Avatar for ThomsonGB
0
494
Member Avatar for -==Zero==-

I Got A Problem Here And Seem I Got Some Fix For The Code The Problem Here [url]http://www.daniweb.com/web-development/php/threads/403345[/url] But I Need To Know Something This Code Work Ok [CODE]<? if(isset($_SESSION['username'])) { $query = ("SELECT * FROM users WHERE password='$_SESSION[password]'"); $result = mysql_query($query); while($row = mysql_fetch_array($result)) { echo "Welcome<br/>"; echo "Your …

Member Avatar for sohbet
0
276
Member Avatar for mehnihma

I have problem formating this code to displey 2 decimal points [CODE] public String toString() { return super.toString() + "\n\tYear Level:\t" + getYearLevel() + "\n\tTuition:\t$" + "%1$.2f",calcTuition(); } [/CODE] calcTuition is type double how can I do this? Thanks

Member Avatar for Ezzaral
0
180
Member Avatar for TrustyTony

Got inspired to make computer to make moves in English Solitaire, I learned in childhood days to solve by myself consistently, no solving or game play interface at the moment (easy to add though). I added printing of the ready solution from the wikipedia, also maybe of your interest are …

0
349
Member Avatar for Sherif1410

Hi, I wrote the following Java Program. When I enter Arabic Course name, it displays non Arabic characters. Can you help me to read and write Arabic Character. Thanks. [code]package p91; import java.util.Scanner; class GradeBook { public void displayMessage(String courseName) { System.out.printf("Wellcome to the Grade Book Dr. Sherif! for \n%s!\n", …

Member Avatar for ~s.o.s~
0
8K
Member Avatar for beforetheyknew

Hi guys, okay 2 questions, please see the below code. 1.) Why in the code below, does my incrementing ScoreInt not work ? need a fresh pair of eyes. 2.) The time in my form when run only displays the time the application was initially run, but does not update... …

Member Avatar for codeorder
0
131
Member Avatar for archelle

Hello.. i have a table named Tuition with fields: TuitionNum,TotalFee,Fine,levelNum,SchoolYear,DateCreated,Removed,DateLastModified,UserID I inserted record successfully but when i'm trying to display TotalFee using this code, [CODE] myConnString = "server=localhost;" _ & "user id=root;" _ & "password=fiancee;" _ & "database=anneclaire" SQL = "SELECT TotalFee FROM Tuition WHERE levelNum='" & TextBox1.Text & "' …

Member Avatar for adam_k
0
211
Member Avatar for daniel36

Is here any way to send information to two url with the same form using get of post method at one time?Please suggest me?

Member Avatar for EvolutionFallen
0
131
Member Avatar for Feriscool

I'm looking for some sort of collaboration software/tool where several developers can work on the same project, and edit the same files at the same time without conflict. Does anyone know of any? :icon_cheesygrin:

Member Avatar for JamesCherrill
0
88
Member Avatar for moonL!ght

hi there, i want to make an application in which that if we select a shape to be drawn and the we draged the mouse in the panel aseries of the sames shape will be drawn my prog in the other hand draw the shape and if i drage the …

Member Avatar for moonL!ght
0
399
Member Avatar for mattitude
Member Avatar for zekish

Hello, all. I am in the process of writing a peg solitaire solver in Python. It will allow the user to select the shape of the board in the future but for now I'm testing it with a standard 5 row triangle game, like the ones you find in Cracker …

Member Avatar for zekish
0
1K
Member Avatar for stoopkid

I'm having some trouble collecting data between 2 different years (ie: December 2011 & January 2012). This is a timeclock system where punches are stored as: DD-MM-YYYY (31-12-2011). I want to be able to search for dates between: DD-MM-2011 through DD-MM-2012 but am coming up empty. When using the same …

Member Avatar for stoopkid
0
94
Member Avatar for protestor

Hi, I use an msp430f16 and I want to calculate the execution time of a code (in milliseconds) any idea? thanks

Member Avatar for rubberman
0
178
Member Avatar for shanie7

Hi, I have a text file here. Names Fishingclub Totalweight (g) Kalle Karlsson : Krokodilen : 1035 Sven Svensson : Noten : 786 Anders Andersson : Handgranaten : 1234 Jonas Jonasson : Uttern : 1497 Sten Stensson : : 654 Turliga Ture : : 1498 Donald Donaldsson : Noten : …

Member Avatar for InterociterOper
0
209
Member Avatar for Mayank23

i need help, i want to pass a value to javascript from php and it keeps giving me "null". i want to get what picture the user selected. [CODE] <?php mysql_connect('localhost','root',''); mysql_select_db("ajax"); $query="SELECT * FROM xxxx"; $result= mysql_query($query); while($row= mysql_fetch_array($result)){ $rating=$row['ID']; echo "<img src =\"" .$row['filepath']."\" /><br/><a id=".$row['ID']." value='rating' onclick='getrating();'> …

Member Avatar for stbuchok
0
196
Member Avatar for whit89

Say i wanted to search a table with multiple values separated by spaces. Say Brand Colour Dulux Red Green Blue Crown Pink Red Yellow So searching red would return Dulux Red Crown Red or searching red pink Duluz Red Crown Red Pink.

Member Avatar for whit89
0
135
Member Avatar for emorjon2

Hi all! I am developing a java-game where you are building with balls. It will connect to a server to create a huge map available for everybody playing this game.:) For this, I need a PHP-file who will append some urldata into the file data.txt, for adding a ball into …

0
122
Member Avatar for dean8710

I have a code to trim the long word for the specific length and replace it with '...' but, it has a problem, where, if user's name dont have space, its will look wierd.. heres the code: [ICODE] <? function truncateString($string, $length, $append = '...') { $length -= strlen($append); // …

Member Avatar for dean8710
0
156
Member Avatar for nomorelogic

so i have a working ish program now, when i add the record it saves and returns the save message box as it should and is viewable in the database where it saves to, but it is not viewable in the text boxes when looking back at the form until …

Member Avatar for nomorelogic
0
197
Member Avatar for Raouldukey

I am writing a program to control other applications that are running. Essentially an automation UI program. I am using a combination of AutoIt and basic windows API calls (sendcommand). I am able to do almost everything that I need (read/write textboxes, labels, click buttons/checkboxes/radiobuttons) However, I cannot seem to …

0
120
Member Avatar for khelly

so, this is my coding. [code]#include<iostream.h> #include<fstream.h> #include<stdlib.h> #include<iomanip.h> using std::cout; using std::cin; using std::endl; struct menu typedef struct menu RECORD; void addRecord(RECORD input[], int arraycounter); void printRecord( input[]); void printAllRecord( input[]); int main() { fstream submit; submit.open("D:jualan.dat",ios::out); { int menuEnter; int arraycounter=0; do { cout<<"\tFamily Outfit Shop"<<endl; cout<<"\t MAIN …

Member Avatar for khelly
0
372
Member Avatar for squares86

It is from Chapter 10 of jeff duntemann's book on assembly language. I tried to write some code by myself but I can't get it to work properly. I need some insight please. [CODE] ;Library Name:hexasc_lib;used as library for hexasc.asm section .data DumpLin: db " 00 00 00 00 00 …

Member Avatar for sbesch
0
265
Member Avatar for Stickie

Hi, I'm not familiar with the AJAX way of doing this, hence why I'm posting this. I've got this form that needs to check if the user input is already in the database, if this isn't the case it should disable the submit button and display an error depending on …

Member Avatar for fobos
0
493
Member Avatar for pspwxp fan

K. I've put up with this issue for long enough and have decided to solve it once and for all. Halp? For those who dont know what i'm talking about, its the damned VC++ error "Resource file *.ico is not in valid 3.00 format" ^^headache. Googling doesn't help. I made …

Member Avatar for pspwxp fan
0
1K
Member Avatar for markdean.expres

Guys I have a program that copies files from folder to folder using IO namespace. The problem is, when I am copying a large file, the program stops responding until the file gets completely copied. I have heard about multithreading and have been reading about it recently and I wonder …

Member Avatar for markdean.expres
0
107
Member Avatar for kaosjon

Hi, i am not sure whether this is in the right section or not but i am building an file upload site and want to be able to scan the files on upload for viruses etc.. How would i be able to do this? Any ideas to get me started? …

Member Avatar for pritaeas
0
151
Member Avatar for gplkrsna

Hi All, Hi All, I'm trying to execute a vbscript programme, on execution I'm getting following error, can you please help me in coming out of the problem. "Wrong number of arguments or invalid property assignment: wsh" CODE snippet: [CODE]Set xl=createobject("excel.application") Set wb=xl.workbooks.open(testset) xl.visible=true Set wsh=wb.WorkSheets(1) <------- ERROR is seen …

Member Avatar for gplkrsna
0
101
Member Avatar for navi18

i want the user should enter only time in the textbox in C#.e.g 09:00:00 how it is possible?

Member Avatar for lxXTaCoXxl
0
5K
Member Avatar for thines01

Here are two examples of opening read streams to files on an FTP server. One example uses the FtpWebRequest method. One example uses the WebClient method. Here is a method of testing those functions: [CODE] using System; using System.Diagnostics; using System.IO; using System.Net; namespace UseFtpStreamExample { using FtpReadStreams; class Program …

0
406
Member Avatar for fka

Hi everyone, I wrote something like that: [CODE] book *library = NULL; customer *service = NULL; do { printf("**********MENU***********\n"); printf("* #1 List of books *\n"); printf("* #2 Add book *\n"); printf("* #3 Search by title *\n"); printf("* #4 Search by category *\n"); printf("* #5 Search by author *\n"); printf("* #6 …

Member Avatar for fka
0
293
Member Avatar for evaldaskowka

hello, i'm willing to learn direct3d but i can't find tutorials for it, youtube has few video tuts but they are very unclear. Do you know any free e-books or sites where i can start learning? Another question is directx better than opengl? from my experience opengl needs a lot …

Member Avatar for SasseMan
0
165
Member Avatar for kyriacos1986

I have been asked to design a method splitMid that can be added to the LinkedList<E> class. This method should have the following header: public void splitMid(LinkedList<E> sublist) and should split the given list into two sub-lists of (almost) equal sizes. Suppose myList points to the with elements 34,65,27,89 and …

Member Avatar for NormR1
0
6K

The End.