64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Roebuc

Hey all, I am trying to write my first Ajax script.....I downloaded a demo and basically tried copying it and it did not work. My PHP scripts that are tied to it work, however on the form, my onclick="getName();" or onChange="getName();" does not work. onkeyup="doWork();" works just fine. can someone …

Member Avatar for Roebuc
0
118
Member Avatar for tag234

Hi, Ive recently been working on a C++ project where we are required to prompt the user for a string "command", take the first char from that string to decide exactly what command it is, and then take the remaining parts of that string and turn them into individual characters …

Member Avatar for tag234
0
124
Member Avatar for joshmo

Hey all. I have another problem with classes. I have 3 classes A, B and C. B extends C and class A is where objects from B and C will be used. Below is the syntax of what am trying to say [code=cpp] class A{ private int o,p; protected B …

Member Avatar for BestJewSinceJC
0
105
Member Avatar for jackakos

I have a form in which there is a table that displays a list from the MySQL with checkboxes to each displayed name. I have to make a selection out from the list by checking some the checkboxes all may be all the checkboxes in some circumstances. A. I have …

Member Avatar for jackakos
0
171
Member Avatar for vponnoju

Hi All, I have wrote a java program, that displays all the drives available in the system. I used File.listRoots() However, this method doesn't perform any security operations(such as read and write access) and displays all the drives in the system. I want the program to display the only drives …

Member Avatar for ~s.o.s~
0
239
Member Avatar for emhmk1

Hi All, Basially a client wants to visit his site click on the admin link and upload some images and some text so his page refreshes with the new stuff showing at the top and the older stuff below it. I was thinking at first of using include but not …

Member Avatar for emhmk1
0
84
Member Avatar for sfrider0

I'm trying to create a simple TCP client. The user enters the host, port, and a send statement(GET, HEAD, etc). Then the Headers and everything else is returned back in a textbox. When I send the information, it pauses for a second, then it just does the crlf. sentText is …

Member Avatar for sfrider0
0
118
Member Avatar for FSinister

Hey people. I need someone to tell me what they think of this. I've been trying to write this small java program to search for mobile phone numbers in a document. The document is a .csv file, but thats not too relevant. The numbers are Irish mobile numbers in the …

Member Avatar for FSinister
0
130
Member Avatar for letlet_pogs

helo guyz...do you know any sites to recommend where can i find java exercises (exercises w/ answers)..,,,it is our sembreak,,,and i want to do other stuffs bout programming to develop my mind more in programming....

Member Avatar for orko
0
182
Member Avatar for skatamatic

For an assignment I must implement an operator -= to remove points from a canvas (that have been plotted broken line graph style). Here's the part where the problem is occuring. It certainly removes points, just not the right ones seemingly and not all of them. It doesn't make much …

Member Avatar for skatamatic
0
338
Member Avatar for Will Gresham

I have got a slight problem with the code below, I am getting entries into the Database with null values, which as far as I can see should not be possible I have both Client-side JS to validate the fields are not empty and PHP to do the same, Just …

Member Avatar for Will Gresham
0
107
Member Avatar for Clawsy

Hello, I have a little problem that kept me busy for quite a while so I search for help here, maybe someone sees 'the bug'. I use JW FLV player to play *.flv movies from my website. I use a XML playlist for that. It's just the movies don't start …

Member Avatar for Clawsy
0
314
Member Avatar for yasmena

Is It Possible to pass a variable through an included file include("../admin/addcustomer.php?page=partner"); i tried it but it says : Failed to open stream: No such file or directory plz i need help and if it's not possible how can i pass this variable

Member Avatar for yasmena
0
191
Member Avatar for Achupa

Hi, I have a method that checks whether Objects in a Collection are Human and whether they are of certain age. I have three different classes for Human, Adult and Child. the code for the method is in a different class called Cinema class. the code is as: //THIS METHOD …

Member Avatar for stultuske
0
108
Member Avatar for ashishchoure

I have to develop an application which is similar to outlook in which i have to create a button by which we can transfer mail message to user specific folder.I am using MFC for that application. I found that there is api called MAPI(messaging application programming interface) which provide two …

Member Avatar for marco93
0
130
Member Avatar for neighbordave

I've been working on this code for two days now and I still can't figure out what is going wrong. I'm very new to programming and we just started learning about creating objects and constructors so I appreciate any help I can get. I have to turn in a set …

Member Avatar for stultuske
0
137
Member Avatar for c++noobie

I have a feeling ya'll get plenty of cin questions here and are quit tired of them, but I have a few that are a little more in depth. I started trying to write my own input stream flush template and had some very minor successes when I found the …

Member Avatar for c++noobie
0
177
Member Avatar for DemonGal711

I have to fill in a 2^n by 2^n board that has a hole in it with tiles that look like the example below. The tile we have to use is the combination of the 1's in the image below and the 0 is the hole (cause I really don't …

Member Avatar for DemonGal711
0
177
Member Avatar for soultrav

Hello! The error above appears on line 9 and i can't seem to figure it out! [code=php] <?php srand(time()); for ($i=0; $i < 5; $i++) { $rand1 = (rand()%13 + 1); $rand2 = (rand()%4 + 1); $slot[$i] = $rand1*10 + $rand2; for($j=0;$j<$i;$j++) while(slot[$i] == slot[$j]) { $rand1 = (rand()%13 + …

Member Avatar for jt1
0
136
Member Avatar for freelancelote

Hi, is there a factorial function implemented on math lib? Alternatively, is there any way I could check if it's implemented on my compiler? thanks

Member Avatar for freelancelote
0
88
Member Avatar for VernonDozier

OK, this is a follow-up to this thread, which I have marked solved. [url]http://www.daniweb.com/forums/thread152797.html[/url] I changed things from GIF to PNG and that seems to solve the saving issue, but there is a new issue. I'm trying to create a semi-transparent circle as an image, which can be saved. The …

Member Avatar for VernonDozier
0
176
Member Avatar for AdventureX

Hey people, I'm at uni and we have lab sessions for Java. In my lab session I have been given an exercise to complete however I need help because I don't know where to start!! Can anyone help me? If you can I will post back with the task to …

Member Avatar for dickersonka
0
79
Member Avatar for Shanti C

Hello.. I want to counts clicks for a flash script.. For image it is easy to do..but for flash i don't know how??? Can anybody know about this...please help me... Shanti

Member Avatar for FlashCreations
0
136
Member Avatar for justinmyoung

strangely enough I got this to work once but I can't understand how. I've looked it over for hours. need help. here's the situation. all I want to do is have my form, a basic form, insert information into my database. It works for all my fields, except two. I …

Member Avatar for justinmyoung
0
116
Member Avatar for sbhavan

I have to update 5 tables simultaniously which are inter related with each other. My requirement is if all tables are updated successfully then all the updates will be commited. if any one of the query is failed due to some reason all the queried should be rolledback. The way …

Member Avatar for Ezzaral
0
123
Member Avatar for DragonReborn225

hey, this program is supposed to calculate fractions, and I feel that I have most of the code down, but I can't get past the fractions.cpp:50: error: expected primary-expression before 'char' error, its probably something misicule, but I can't get it for the life of me. The error is in …

Member Avatar for emotionalone
0
476
Member Avatar for Aashath

Hi I have a LinkedList of class called Room. Now i want display elements that i stored in that class . i also implemented toString() in my Room class which returns string. The code i tried is below but its not working . i dont know the reason . can …

Member Avatar for darkagn
0
120
Member Avatar for queenc

hi i have a application in which i want to get the zipcode or search based on the zipcode.when the users give the radius and a particular zipcode..i want to get the zip code based onthe radius .please tell me how to do that.. thanks

Member Avatar for queenc
0
722
Member Avatar for kevin wood

i am trying to submit three forms with the one button using javascript. here is my code [CODE]<script type="text/JavaScript"> function submitForms(){ document.dropdown.submit(); document.radio.submit(); document.form.submit(); } function textLimit(field, maxlen) { if (field.value.length > maxlen + 1) alert('your input has been truncated!'); if (field.value.length > maxlen) field.value = field.value.substring(0, maxlen); } </script> …

Member Avatar for kevin wood
0
115
Member Avatar for enim213

hi, im enim and its my first time to post here in javascript because im into php. my question is: 1.) Is it possible to have two checkbox in a row (with different value), the one is hidden and if i check the the visible checkbox, the other one will …

Member Avatar for enim213
0
134
Member Avatar for geordiejon

I am trying to get to grips with Object Oriented PHP. Last week we were given a exercise to do, which creates a webpage, using a class and a client which will call the class. I am totaly not getting the hang of this, and i am getting so frustraited …

Member Avatar for vl4kn0
0
150
Member Avatar for grisha83

Hello, it the same old program calculator i have corrected errors that were preventing me from running the program. Now that i have done it i am facing another issue; It doesnt perform needed computations such as +-* and etc. It must be my switch fn. Any help will be …

Member Avatar for Evan M
0
145
Member Avatar for potatochips

hi, i have a Windows Application using visual studio.net 2005.. is there any way to close only the report in the report viewer n not the rest of the windows that r running? =/ thanks so much! :)

Member Avatar for potatochips
0
134
Member Avatar for Evan M

As I was busy inlining some of my functions, I was wondering if it is really necessary to inline anything. Doesn't the compiler automatically inline stuff, or do I have false memories? And if the compiler does inline stuff for me, would it be best to let it do its …

Member Avatar for Evan M
0
135
Member Avatar for grisha83

Hello, I am writing the code for my basic calculator program and having some issues with it. I keep getting the same error, which doesn't let even let me see whether my program works. Could you please take a look at it and at least direct me in a direction? …

Member Avatar for grisha83
0
100
Member Avatar for neighbordave

Hi all, first time user on this website and I'm very new to Java so I'm kind of stuck on this I would appreciate any help I can get. My assignment is as follows and I got everything except one last part that I cant figure out how to write …

Member Avatar for neighbordave
0
144
Member Avatar for Baskar_engg

hi The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception. this is the Exception im getting while im fetching records from excel file help me to solve thiz

Member Avatar for technicalganesh
0
195
Member Avatar for vkiller

I have a program to write that can binarize a gray-level image based on the assumption that the image has a bimodal histogram. The code should report both the binarized image and the optimal threshold value. Assume that foreground takes a value of 1 and the background a value of …

0
77
Member Avatar for Ancient Dragon

If anyone can answer [URL="http://www.programmingforums.org/thread16958.html"]my question on PFO [/URL]I'd apprecaite an answer. I don't want to repeat it here because it is somewhat lengthy.

Member Avatar for Ancient Dragon
0
82
Member Avatar for MDGM

Hi all, Iv made a simple 5 star voting system and need a way to make sure the user can't vote on the same product again in the next hour. I'm not a mathmatician and get really confused with the time calculations and have tried quite a few methods now …

Member Avatar for MDGM
0
142
Member Avatar for RonaldvanMeer

I'm writing a program wich is using an array -> startpoint[4] this array will be later filled by values from an other array. this is not the problem! the problem begins here: I have a class: computerPlayer.cpp with a method: getStartpoint() [code=cpp] int *startPoint[4]; // global variable int* computerPlayer::getStartpoint(){ int …

Member Avatar for RonaldvanMeer
0
165
Member Avatar for christiangirl

Hello, I need to test an array of chars to see if they are numbers. I am trying isdigit() but that is not working. Does anyone know how I can do this? Here is the code, it is in three seperate files. I try to test the char in the …

Member Avatar for christiangirl
0
148
Member Avatar for NinjaLink

I am currently doing classes, but I am unable to print out my cout statements in the "elmo.modifyALL" function. I can get the other stuff to print correctly so far. This is my first time doing this kind of program, so I do not understand why I can't get cout …

Member Avatar for NinjaLink
0
122
Member Avatar for Leandro-AL

Hi all! I'm trying to write a "last login" message in my login script. The plan is to store dates in the database with UTC_TIMESTAMP and then show them back to the user with CONVERT_TZ, using each user's specified timezone (they have set that on registration). However here lies the …

Member Avatar for Leandro-AL
0
230
Member Avatar for sistasweetpea

I have an assignment and I'm stuck. The program is supposed to read in names and test scores from a data file, compute the average, and display the letter grade. This is the code that the teacher gave us in class: [CODE=cplusplus] #include <iostream> #include <cstring> #include <iomanip> // // …

Member Avatar for sistasweetpea
0
116
Member Avatar for Avaviel

I'm having trouble with a program with class. When it runs, on the screen and on the file it shows one output, the last one in the input file. It USED to work, untill I tried to get fancy and add some other code... that will be below the main …

Member Avatar for Avaviel
0
343
Member Avatar for marcosjp

Hello there! How can I convert an INT value into a string? I used the itoa function successfully in Windows: [code=c]itoa(the_int_number, the_string, 10);[/code] It worked fine in Windows (DevC++) but Linux did not recognize this function. Does anyone know another way of converting INT into char[n] in C that Linux …

Member Avatar for ArkM
0
9K
Member Avatar for sfrider0

Can somebody please tell me what I'm doing wrong? I am creating a TCPClinet. I have 2 errors and both of them come back to this line. [code] connectSocket.Send(System.Text.Encoding.UTF8.GetBytes(sendText)); [/code] The errors are: 1. The best overloaded method match for 'System.Text.Encoding.GetBytes(char[])' has some invalid arguments 2. Argument '1': cannot convert …

Member Avatar for ddanbe
0
168
Member Avatar for dnmoore

I have to create a temperature conversion project using a method and driver class...... i did it b4 put only as one file , i started the driver class but when i compile i get a couple errors; the errors i get are: Degree.java:30: illegal start of expression public double …

Member Avatar for dnmoore
0
2K
Member Avatar for new_2_java

Hi all, I have an HashMap with key/value pair. The program processes each element of the hashMap, and should mark the HashMap element as "processed". i.e. I have the follwoing key/value pair. [code] 1/"090003453bc454" 2/"090003453bc455" 3/"090003453bc456" and so on... [/code] So, when the program process each element, it should mark …

Member Avatar for new_2_java
0
146

The End.