199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for katieJane

Hi I am quite new to web developing and I am starting to struggling with this code. I am basically trying to enter a name along with a mark and store this in a javascript cookie. From this I want to create the mean and graph for up to 100 …

Member Avatar for fxm
0
141
Member Avatar for TechSupportGeek

Hello world of DaniWeb, I've asked a similar question to this one before but now I'm trying to find an answer to a different problem. You see, I have made a text editing application and, as you might have guessed yourself, I needed to add save features. Well, what I …

Member Avatar for TechSupportGeek
0
176
Member Avatar for Expora

Ok I've posted a couple of posts before regarding OpenGL stuff, but I realized I'll be better off learning c++ first (yeah!). So I started reading through some tutorials and already got the hang of if statements, variables, funcitons, and loops. So I decided that I could make a little …

Member Avatar for Expora
0
115
Member Avatar for Anigmalee

I'm a Electrical engineer working in an automation company, recently i'm require to do a PC base HMI. So i decide to use VB to do it(I'm a newbie in VB, just learn/use VB6 in Uni). So far, Im able to read/write to the PLC through serial port. There problem …

Member Avatar for Alexpap
0
156
Member Avatar for cyon

Can someone help me resolve the following error or point me in the right direction? An incomplete value is returned if ' is in the list value. Thanks for any help. [CODE] def FindName(self,name,list1): """ searches for a patten in the list, returns the complete list entry. Is case sensitive. …

Member Avatar for d5e5
0
161
Member Avatar for santosh12345
Member Avatar for JuhaW
0
81
Member Avatar for DaveTran

Here is my class with integer and string variables [CODE] class foo { int age; string name; } [/CODE] How do I create an IComparer that takes in foo as a class without the need for casting from an object? [CODE] class SortAgeAscendingHelper : IComparer { int IComparer.Compare(object a, object …

Member Avatar for apegram
0
984
Member Avatar for Turismosan

Hello to everyone! I am new to c# and I am creating an address book program. It has to hold 20 entries (first name, last name, street address, city, state and zip). I am trying to figure out how to set up the arrays so that I can add entries, …

Member Avatar for PierlucSS
0
149
Member Avatar for SasseMan

Hi! I'm having some problems with gridbaglayout trying to get functionality that maybe isn't even there. The problem is the following I have 3 Jpanels with differend contents. I want panel 1 to be displayed to the left of the screen filling the y-axis, panel 2 in the middle filling …

Member Avatar for SasseMan
0
7K
Member Avatar for agr8lemon

I would like to show a Div based on the URL. I'm using PHP to update a database and the page just refreshes when it's done. I'd like to set the URL to something like [url]http://www.whatever.com/update.php?id=5&ud=y[/url] So if the URL had ud=y in it, it would show a div with …

Member Avatar for almostbob
0
87
Member Avatar for codename.heaven

hi all. im sorry if i ask a newbie question, but i really newbie in c++ honestly. i got this error when i try to build solution. i dont know what files i must show to you, but i want to show 3 files. precompiled.h halls_of_lightning.h boss_loken.cpp precompiled.h [CODE=h]#ifndef SC_PRECOMPILED_H …

Member Avatar for dusktreader
0
1K
Member Avatar for xo_vicke93_xo

No idea if this could be done by just javascript but don't know where else to post it... I have a contact forum where i want the visitor to select if they're a member of not, if they select no, nothing happens but if they select yes a new text …

Member Avatar for almostbob
0
146
Member Avatar for m1dnight

Hi guys! I found a lot of my answers on this webbie, so I registered myself. I'm creating a java based quiz program. Now i'm running into a lot of problems trying to get stuff working. The problem i'm having now is the following: I have a class Question, and …

Member Avatar for JamesCherrill
0
96
Member Avatar for mharriss

I have downloaded a CPAN package 'Clickatell.pm' for use with a CGI script. I have uploaded it to the cgi-bin folder, set the permissions, but I can't get the script to use it. #!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); print "Content-type: text/html\n\n"; use lib '/websites/123reg/LinuxPackage06/ma/sa/re/masarestaurant.co.uk/public_html/cgi-bin'; package Clickatell; my $catell = Clickatell->new( API_ID …

Member Avatar for mharriss
0
99
Member Avatar for jnip

Here is my code. Currently I have my information coming out in a message box, but I need need the information to come out in "prose" form. I am not sure where to put it and how to do it. {{ ' applicant details Dim name As String = txtName.Text …

Member Avatar for Alexpap
0
199
Member Avatar for amadain

Hi Folks I have the following code in one of my classes along with checks when the code does not eval: [code]filterParam="self.recipientMSISDN==tmpBPSS.split('_')[3].split('#')[0] and self.recipientIMSI==tmpBPSS.split('_')[3].split('#')[1]" if eval(filterParam): print "Evalled" else: print "Not Evalled\nfilterParam\n'%s'\ntmpBPSS\n'%s'\nself.recipientMSISDN\n'%s'\nself.recipientIMSI\n'%s'" % (filterParam, tmpBPSS, self.recipientMSISDN, self.recipientIMSI)[/code] I am not getting anything to 'eval'. Here are the results: [code] Not …

Member Avatar for TrustyTony
0
81
Member Avatar for ravi-kr

Hi, I am trying to run some simple updates using java in Oracle(10g). I have a simple java program to do it. Running the code using Eclipse IDE. The strange thing about it is that the connection is fine. If I run a [B]select[/B] query, it works fine. However if …

Member Avatar for ravi-kr
0
127
Member Avatar for Ca67

Hi I have been working on an assignment and have run into some problems. The assignment is an awk script that splits the shell script into BEGIN and END. In particular, the problem is in the END section with the sorting of a numeric array. I have tried the following …

Member Avatar for LordNykon1121
0
118
Member Avatar for phoenix911

ive created an application which multiple users will be using on an intranet... now if i had to make changes to the app(fixes/bugs/etc) after deployment.... what would be the way to go without the user clicking a button to update... the new version would be put on the server, where …

Member Avatar for phoenix911
0
230
Member Avatar for Cap'nKirk

Hi, I am trying to add extra function to a small app that I have made and part of incorporating this is to use radio buttons. Basically a user has to choose between 1 of 2 radio buttons and then press a normal button. I am having trouble trying to …

Member Avatar for Alexpap
0
3K
Member Avatar for t_yalthis

I added these three components from tools menu/choose toolbox items; however they are not working when I changed the drive or directory.. here is the code of these three components in case they change private void driveListBox1_SelectedIndexChanged(object sender, EventArgs e) { try { dirListBox1.Path = driveListBox1.Drive; } catch (Exception ex) …

Member Avatar for rhizome
0
870
Member Avatar for Simon180

how would i go about spliting a string that is stored in a StringList ? information in string looks like this: Name RanK now i need to split them so i can use a funcation like this data[0] for Name and data[1] for rank can sumone help me please? thanks

Member Avatar for FlamingClaw
0
227
Member Avatar for salgaby

Hey I need help with the math tutor. I need to be able to print out if the answer is right or not . Also let the user enter the number of math problems per set and what the max number will be for the set. If you could please …

Member Avatar for salgaby
0
199
Member Avatar for dawsonz

Hey, My database currently stores the location of a specific image, however i'm trying to get the page to change the [CODE]img.ImageUrl = "C:\mug.jpg";[/code] However it doesn't display the image, is there any reason for this? If I use a local image it works perfectly IE: [CODE]img.ImageUrl="~/images2/mug.jpg";[/CODE] Any ideas at …

Member Avatar for dnanetwork
0
71
Member Avatar for izagaren123

ok i am currently having a problem with my shopping basket. it works fine when you go to a product and select to add it to the basket, it shows on there and you can go back to shop by clicking on the products link and add as many items …

0
72
Member Avatar for fozzywozzy

Hi, What's the best way to round doubles as in currency? I also have this error that says: internal error, cannot instantiate paycheck(java.lang.string, double, double) at paycheck to (). If you need to see the codes, I can post them. Any help at all would be greatly appreciated! Thanks!

Member Avatar for fozzywozzy
0
93
Member Avatar for 05026652

Hey guys, Im having some problems with an exercise that I need to complete with the use of inheritance - In the exercise I am concerned with two Classes (Cupboard and Safe). The cupboard can be opened and closed and tested to see if it is open or not. A …

Member Avatar for JamesCherrill
0
171
Member Avatar for illway

Hey folks, I'm writing a class called Set that can put in objects (ints, chars, whatever) into a dynamically allocated array. I'm having issues with two functions, union() (which concatenates two arrays of the Set class) and intersection() (which puts two arrays together of the Set class at a point …

Member Avatar for Fbody
0
111
Member Avatar for JRHughes

Hey All, I'm struggling with a project set to me that involves allocating shifts to staff that work within an Event Venue. Basically, staff only work when there are events on. Therefore, I have a database that contains tables showing: - Staff - Events - Shifts (for the above events) …

Member Avatar for JRHughes
0
135
Member Avatar for kaylors

I'm a newbie at this so couldn't figure this one out. [CODE]<html> <head> <title>Test JavaScript</title> </head> <body> <script type="text/javascript"> var frst=true; function first() { if(frst==true) { window.alert('Don't forget to Capitalize.'); } frst=false; } </script> <form> <input type="button" value="Derke" onclick="first;" /> <select> <option>color</option> <option>smell</option> <option>rain</option> </select> <br /><br /><br /><br /><br …

Member Avatar for kaylors
0
88
Member Avatar for deadelgabar

The program imitates a gambling card game. The program shows you three cards, then the program interchange them, and if you can guess correctly where a particular card is, you win. Here is some sample interaction with the program: Card 1 is the 7 of clubs Card 2 is the …

Member Avatar for caut_baia
0
268
Member Avatar for ceyesuma

hello Is this String from my properties sheet able to become a prepared Statement. is the syntax compatable? [code][b]if the string from properties is i=0 for the array [/b] private boolean createTables(Connection conn) { for (int i = 0; i < schoolofdbTables.length; i++) { boolean bCreatedTables = false; PreparedStatement ps …

Member Avatar for ceyesuma
0
120
Member Avatar for zachattack05

Thanks to you guys I have been able to get my first application halfway going. But I have a question about data integrity. The application that I am developing utilizes a single sql server and multiple work stations accessing that sql server. What is the best way to maintain data …

Member Avatar for zachattack05
0
98
Member Avatar for deven_a76

Hi all, I need to design a database for the below requirement. SuperAdmin [Myself - Final Approval] | Admin [Client User for Approval] | User [ Client User for data Entry] How can I implement the following requirement. Kindly help. Dev.

Member Avatar for debasisdas
0
72
Member Avatar for Scottmandoo

im trying to set up a calendar using the code from the following site, however i have only got up to the code displayed below, which the site says it should show a calendar however im getting this error. I do however want to set up the whole calendar to …

Member Avatar for Scottmandoo
0
133
Member Avatar for olofom

I'm writing a slideshow program with Tkinter, but I don't know how to go to the next image without binding a key. [CODE=python]import os, sys import Tkinter import Image, ImageTk import time root = Tkinter.Tk() w, h = root.winfo_screenwidth(), root.winfo_screenheight() root.overrideredirect(1) root.geometry("%dx%d+0+0" % (w, h)) root.focus_set() root.bind("<Escape>", lambda e: e.widget.quit()) …

Member Avatar for olofom
0
311
Member Avatar for ollie60

Hi I am having issues populating a vector using "new" where nodeVec is a vector where each entry consists of another vector with 3 elements. zMap is the vector I am trying to populate with the sum of the squares of the first two elements for each entry in nodeVec. …

Member Avatar for ollie60
0
112
Member Avatar for cutieann12

hello, everyone i had a project which will have a function to resize the images in the picturebox..i've seen some code snippet in resizing the images. The code works fine but it automatically resizes the image when i run the program..what i need is that the user will be the …

Member Avatar for kvprajapati
0
1K
Member Avatar for izagaren123

hey i have two tables in a database that i will like to join in the below code, but i cant. i can only use one table at a time. $result = mysql_query("SELECT name,price from products WHERE itemid = '$id'",$cxn) or die ("Unable to retrieve information from database"); if i …

Member Avatar for izagaren123
0
497
Member Avatar for muralibobby2015

hello, i have to share products in facebook from my site. i used ths code for share. [CODE]<a href="http://www.facebook.com/sharer.php?u=http://<?=$_SERVER['HTTP_HOST']?>/blockbuys/details.php?route=product/product&product_id=<?=$fetpro['auto_id']?>&amp;t=<?=$fetpro['productname']?>"><img src="images/facebook.jpg" /></a>[/CODE] but product image is not displaying in facebbook. how to do this task? thnks.

Member Avatar for muralibobby2015
0
768
Member Avatar for chipbu

Hi guys, I have this code to mix elements in an array. Basically I want it to exchange the 1st element with the other elements in order. When it finishes exchanging, it will then take the original array and go to the 2nd element and do the same job as …

Member Avatar for farooqaaa
0
209
Member Avatar for Ionelul

Hi, I have a little problem with a macro I'm working at. I need to pull data from a database and then show it in an excel sheet. Everything work fine till the moment when I want to close the recordset . Then my application freezes and I have to …

Member Avatar for vb5prgrmr
0
331
Member Avatar for lotrsimp12345

When i try it goes heywire and gives me 35 errors. all for the erase command. :( [CODE] for(int i=0; i<populationsize_; i++) { //check for black for(int j=answer_->front(); j!=answer_->back(); j++) { if(answer_[j]==population_[i][j]) { feedback_[i][j].push_back("Match"); for(int k=tempanswer_->at(i).front(); k!=tempanswer_->at(i).back(); k++) { //find first instance if(tempanswer_[i][k]==answer_[j]) { tempanswer_[i].erase(k); break; } } } } …

Member Avatar for lotrsimp12345
0
251
Member Avatar for DayneD89

I'm fairly sure this will be my second thread to make me facepalm when I realise what I've missed, but oh well. If I have a list, for example L=[0,1,2,3,4], can I take the values out so that, again for example, t1 = 0, t2=1, etc.? The easy way would …

Member Avatar for vegaseat
0
156
Member Avatar for kamos.jura

I have a problem with accessing iterator to the vector in following code (just a few important lines): [CODE]class Data { ... vector<double> hodnoty; public: int CompareData(vector<Senzory*> data); ... } class Senzory : Data { ... const vector<double> &GetData(void){return hodnoty;}; //Returns reference to the vector hodnoty ... } int Data::CompareData(vector<Senzory*> …

Member Avatar for kamos.jura
0
245
Member Avatar for camigirl4k3

the program I had looks like this: def wordToNumber(word): if word == "one": return 1 elif word == "two": return 2 elif word == "three": return 3 elif word == "four": return 4 elif word == "five": return 5 elif word == "six": return 6 elif word == "seven": return …

Member Avatar for TrustyTony
0
131
Member Avatar for macneato

Hi, So basically I have a php file that fetches database records and displays it. Now i would like to add the ability to edit each record using lightbox. here is the main file [CODE=PHP] <?php $username="root"; $password=""; $database="lhs_anniversary_banquet"; mysql_connect("localhost",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM …

Member Avatar for macneato
0
215
Member Avatar for newcountry

Hello, I would like ask you how works the FLV Metadata, i use it in order to analyse video streaming websites such as YouTube. It analyses the video header only or the whole video? [CODE]<?php class FLVMetaData { private $buffer; private $metaData; public $fileName; private $typeFlagsAudio; private $typeFlagsVideo; public $VCidMap …

Member Avatar for sourcebits
0
220
Member Avatar for kiransharma

I use php for web building . my html table sorting ( js ) not working . it is working in other table but not working in my php page .

Member Avatar for sourcebits
0
105
Member Avatar for hyephp

The End.