64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for kookies

I am currently using a great javascript based image viewer and wish to use it as a menu to navigate pages on my website . Wondering if someone could take a look at this great menu and modify the javascript for me ? As i know nothing about javascript but …

Member Avatar for essential
0
218
Member Avatar for Dannyo329

I just knew about getch() and found it better than cin (a lot) but there's one problem bugging me, can you makea n if statement for getch()? For example they have: [CODE] int a; cin >> a; if (a == 1) //blah else if (a ==2) //blah else //blah [/CODE] …

Member Avatar for Dannyo329
0
659
Member Avatar for thillai

hello everybody, In my project, i have used frames in one web page.and whatever javascript i have written in that page is not executed...why...? Thank you

Member Avatar for thillai
0
314
Member Avatar for lonestar23

Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or …

Member Avatar for lonestar23
0
554
Member Avatar for Easter Bunny

i have a clients.dat file with client info in it. i have gone through it to find the record i want to delete, used PushBackBuffer to unread the one i want top delete, skipped that bit and carried on reading the rest and writing it to clients.tmp. after i have …

Member Avatar for Easter Bunny
0
143
Member Avatar for john88

I dont know why this doesnt work, basically I want to calcualate the letters and numbers and white spaces and so on, nothing fancy. And it does work, it does calculate everything. However I seem to be stuck in the while loop or something because I cant print it out, …

Member Avatar for MelechM
0
123
Member Avatar for Emerald214

I don't understand why **ptr is used in this code. Please expain to me. [code] template<class NODETYPE> void Tree<NODETYPE>::insertNode(const NODETYPE &value) { insertNodeHelper(&rootPtr, value); } template<class NODETYPE> void Tree<NODETYPE>::insertNodeHelper(TreeNode<NODETYPE> **ptr, const NODETYPE &value) { if(*ptr == 0) *ptr = new TreeNode<NODETYPE>(value); else { if(value < (*ptr)->data) insertNodeHelper(&((*ptr)->leftPtr), value); else if(value …

Member Avatar for ArkM
0
116
Member Avatar for designingamy

Hello all! I have been told for many reasons that when a user wants to end their account on a website, that you shouldn't delete the user out of the database for awhile. So if I need their information to be off the Internet, but still remain in the database, …

Member Avatar for designingamy
0
108
Member Avatar for skatamatic

Ok, so I'm trying to prove to my teacher that Div and Mod isn't always the best way to solve things. So i created this tiny program, held entirely in main.cpp : [CODE=cplusplus] //Project: Mod_Efficiency //Author : Kyle Wesley //Descrip: This was made to prove that mod/div operations are often …

Member Avatar for skatamatic
0
3K
Member Avatar for shaikh_mshariq

I have Installed apache http server 2.2.4 [COLOR="red"][B]on[/B][B] Windows [/B][/COLOR]and configure the doc_root to my htdocs directory and its working fine. But when is add these lines in httpd.conf file it gives error. [COLOR="green"]LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/php" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps[/COLOR] It gives error like"[B][COLOR="Green"]server cant load …

Member Avatar for abinash.b
0
573
Member Avatar for motterj

Hi. I'm trying to modify some PHP code (actually, the HTML section inside it) to set the background as transparent, so the displayed text shows the website's template's background beneath the text. It works great in Firefox, Safari and even Chrome, but in IE7 the background is solid white no …

Member Avatar for motterj
0
109
Member Avatar for designingamy

Hello all! I have been googling US maps using Javascript until I'm blue in the face and still can't find what I'm looking for. I want to learn how to create a US map like the following: [url]http://www.websitedesignerslist.com/[/url] Can anyone point me in the right direction? Thanks bunches, ~Amy

Member Avatar for designingamy
0
115
Member Avatar for asifjavaid

hi all, I want to convert a string contain hex format '0x15' and what to convert it integer because i want to write data contain by a integer variable in hex format (binary data) into the file. here is my code [code=c] char * str = "0x15"; int value; FILE …

Member Avatar for Narue
0
4K
Member Avatar for SVR

Im calling a function in a 3rd party dll. Somewhere down the line it hits an access violation (0xC0000005). I wrapped the call in a try/catch but it never catches and the runtime pops up the old Unhandled Exception. This call is several calls deep in my code so I …

Member Avatar for SVR
0
205
Member Avatar for ceyesuma

Hello. I have built a hibernate project and the dropdown list and the table load data to the web page but the drop down list is not poulated with the names (derived from the xml id) There is a lot of code to paste. Is there someone that could help …

Member Avatar for ceyesuma
0
1K
Member Avatar for bpacheco1227

I am a beginner with VB, I'm coming from C++. When I compile and test the program the base pay textbox changes to 0, gross pay textbox to 0 and the total deductions turns to 0.25. For the life of me I can't figure out why. My little experience with …

Member Avatar for bpacheco1227
0
185
Member Avatar for Elmo_loves_you

Hi lads (and ladettes) I have to create a mobile application that gathers user input, saves it to a document so that it can then be emailed back to HeadQuarters. Im new to this area ... although I have used the StreamWriter/StreamReader classes to create a new TextFile and save …

Member Avatar for Elmo_loves_you
0
183
Member Avatar for serkan sendur

i am going to purchase a laptop, do you guys know which version of vista is recommended for app. developers?

Member Avatar for graham_m84
0
112
Member Avatar for shahriar2403

How can i make my report header variable? I want 2 make my report header label as per a textbox filled in a form. How can i do it? Please help me..

Member Avatar for surveyteck
0
116
Member Avatar for Robtyketto

Greetings, Within my jsp I have HTML code (see below) which accepts input, one of these fields sequence unlike the others is an Integer and within the HTML FORM the INPUT TYPE is set to "int". [CODE]<FORM ACTION="wk465682AddFAQ.jsp" METHOD="POST"> Id: <INPUT TYPE=TEXT NAME=Id><BR><BR> Category: <INPUT TYPE=TEXT NAME=category><BR><BR> Question<BR><TEXTAREA NAME=question COLS=100 …

Member Avatar for haoyou2008
0
2K
Member Avatar for hellofriend

hi, :p i am trying to achieve a registration page in JSP. i am using tag library to do this. c tag library and Sql tag library. [CODE] <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <c:if test="${param.submitted}"> <c:if test="${empty param.name}" var="noname" /> <c:if test="${empty param.pw}" var="nopw" /> …

Member Avatar for haoyou2008
0
983
Member Avatar for AutoC

I need to code a linked binary min heap.Everywhere I go its an array based min heap..can someone direct me to some pseudocode for a linked min heap? Thanks for any help

Member Avatar for ArkM
0
118
Member Avatar for marvinkamote14

hello guys, just want to ask some newbie questions. i have a table named "students" in my database, the field names are "Lastname", "Firstname" and "Highschool". i want to sort my query by highschool field. i want to show that query results in table form. how can i sort by …

Member Avatar for Shanti C
0
306
Member Avatar for FullBjarne

Hello. I'm doing a html editor. i want a function to the html editor that change the color on the text when I press a button. Example if I write this code in the html editors textbox: <table><tr><td bgcolor = "abc123">hello</td></tr><table> And then I press the button would it change …

Member Avatar for Diamonddrake
0
164
Member Avatar for no1zson

I thought I understood how this worked, but maybe I do not. I intentionally left a field out of my compactdisk class (artist) so that I could create a sub class later, impliment it, and see how that whole thing worked. Sounded simple, I still think it is, I just …

Member Avatar for abeer mohamed
0
401
Member Avatar for sweet cLassy

i'm using Macromedia Dreamweaver MX, and i fail to connect with mySQL database . any tips ?? pls help .. :confused:

Member Avatar for peter_budo
0
88
Member Avatar for bondo

Does anyone know how to reference a COM library from the command-line? Specifically, I need to reference CDOSYS.dll. Whenever I try to include the reference when I compile I get a message saying: fatal error CS0009: Metadata file 'c:\WINDOWS\system32\cdosys.dll' could not be opened -- 'An attempt was made to load …

Member Avatar for bondo
0
199
Member Avatar for db_ozbecool

1. Does Python have some built in [B]statistical functions [/B]- eg. like PERCENTILE, Root Mean Square etc ? I tried Python help and the web, to no avail. I checked standard Python maths functions and could not find anything too. If there is nothing built in then is there a …

Member Avatar for woooee
0
164
Member Avatar for Kavitha Butchi

Hello all, I have this strange problem. During registration if user chooses to have '.' in his username, eg: sam.leo then i am getting this wierd problem . -respective tables with the given username are not getting created in the Database. Everything is working fine if usernames are having no …

Member Avatar for Kavitha Butchi
0
260
Member Avatar for jmzjmz

Can anyone help me on this I recently installed MS SQL 2005 Developer on my PC (XP Pro)and that works oK. I installed another on my Notebook (Vista Ultimate) and somehow got connected to my PC Database. But that is cool. At least I know I can connect to my …

Member Avatar for peter_budo
0
85
Member Avatar for acoxia

Hello (sorry if i break any rules on post format first time on daniweb)Have a project to make a binary to hex,Dec,octal. Now i found this code here [url]http://www.daniweb.com/forums/post598839.html#post598839[/url] and made a few changes to it but i am not familiar with a few of the parts and some help …

Member Avatar for acoxia
1
87
Member Avatar for mksakeesh

I am trying to write some cd details to a file, from a queue. First i have taken all details from keyboard to a Queue and the made to write all those to a file in ascii format. Each queue has details like CD ID, film Name, film language, film …

Member Avatar for ArkM
0
104
Member Avatar for bdcd

So I want the code to allow the user to login and then direct them to their page, I'm just not sure how I can do that. Here's the table and code I have, is there a way to make "header("location:/instacp.htm");" pull the location from the table in the database? …

Member Avatar for bdcd
0
129
Member Avatar for leloo_d

Hi there, i have some problems with lists and structs (or perhaps pointers in general) I am sorry if this was already discussed, but I really spend some time searching, but I am pretty new to programming and I did not find anything. I need to use a list of …

Member Avatar for leloo_d
0
91
Member Avatar for jmzjmz

Hello I am new in this. Just installed MS SQL 2005 on my notebook for learning purpose. I found that though using the default instance, it keeps giving me a logon screen which I am having problems loging in with Server Name: JMZCONS-PC Error Number: 18456 Severity: 14 State: 1 …

Member Avatar for jmzjmz
0
88
Member Avatar for castrohe

I am trying to make a priority queue with a specific type class 'alumnos'. I create 3 new classes (new, medium, old) who inherit from it. Then I insert the classe into de queue. I would like to use polymorphism when extracting to use the correct function 'verificarEdad' but gives …

Member Avatar for castrohe
0
9K
Member Avatar for Yellowdog428

I am working on an assignment for class and cannot for the life of me figure out how to use letters to choose a case for a switch statement. Here is my code [CODE=CPP]#include <iostream> #include <cctype> #include <cstdlib> using namespace std; // prototypes void showMenu(); int getVowels(char*, int*, int); …

Member Avatar for Yellowdog428
0
201
Member Avatar for Stefano Mtangoo

Hello all, Please review these two piece of code and see why the latter doesnt resize as desired. When I add panel I find result becomes very strange. How can I resize widgets in a panel without such problem? Below are the two codes for simple editor PROBLEMATIC CODE [CODE] …

Member Avatar for Stefano Mtangoo
0
78
Member Avatar for farhan.foxtrot

i am using oracle 10g along with php 5. the problem is i cannot connect with oracle database from php with the function oci_connect. i can understand that this is because of the way php is configured. can anyone help me configure php to connect and manipulate oracle database?

Member Avatar for farhan.foxtrot
0
94
Member Avatar for rickya100

Hi. I need to create an RSS file from one table in my database. I'm using PHP5 and MySQL. I have searched on this and tried to do it myself but i'm not sure what path to take. Should I use SimpleXML to do it? I am hoping someone might …

Member Avatar for rickya100
0
116
Member Avatar for bin_asc

I`m trying to load the contents of a php file, change some variables through a replace, and save it again, but upon loading, the file_get_contents doesn`t parse the start of the file for some reason. I tried this on my server and on the local server. Example : filesample.php : …

Member Avatar for bin_asc
0
173
Member Avatar for asifjavaid

Hi all :) , I am working on video plug-in in C++.NET. I have a video file. Its size is not fixed. It can be in MBs or GBs. I have calculated sample size and sample count of video file and now I want to prepend (insert in the beginning …

Member Avatar for Ancient Dragon
0
115
Member Avatar for NinjaLink

Hello all, I am creating a program, and I am currently stuck. I need someone to guide me on track on what I am doing wrong. My main goal is to get the program to run. I can't even do that. My C++ code is provided below. Thanks for all …

Member Avatar for NinjaLink
0
274
Member Avatar for ingvarorn

I'm doing a assignment for a class at my school and have written this code that follows with little help from DaniWeb users but I have one final touch problem. The problem is that if I run my strcpy function it always fills out the pzsDestination array to fill out …

Member Avatar for ingvarorn
0
150
Member Avatar for lllllIllIlllI

Hi guys I have been making a program over the last few days that grabs an image and re-paints it in paint in 256 colour. The main thing this program is for is so you can watch it getting painted in paint. It works perfectly on my computer but i …

Member Avatar for lllllIllIlllI
0
371
Member Avatar for Tecfan

I'm planning to connect a MIDI-keyboard(piano) to the external sound card (in the MIDI-port, duh), and program a program that will get the status from it. So my question is: How would I get the input signal from the keyboard(piano)? Which function/library would I use? (I only need ON/OFF signal, …

0
88
Member Avatar for ingvarorn

Hi again. I'm having two issues with this code, first of then strlen only counts the characters in the first word of the line I put into console. Then the second one is that the console takes the second word put into the console in to next "cin" and does …

Member Avatar for ingvarorn
0
133
Member Avatar for ingvarorn

Hi, I'm pretty new to C++ and basically pretty new to all programming at all, have done something in java in school but never been programming something else than some scripts in work until now. My problem now is when I try to compile this code I have here then …

Member Avatar for mustafaneguib
0
197
Member Avatar for bhoot_jb

i am currently learning VC++ with MFC. But i am quite confused now. My dilemma is whether to use structures (which i guess are used extensively at Win32 API level) or their equivalent MFC objects. let me elaborate it. For example i want an array of points to use it …

Member Avatar for bhoot_jb
0
164
Member Avatar for AlSal

I'm trying to send an char array through a function convert it to an int array and send it back so I can reuse it with another function. I'm just having the worst time with this matter, please help!

Member Avatar for ssharish2005
0
84

The End.