64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jacob07

Hello, i have proplem with the following excercise: There's a txt file which contains tab seperated words like: [CODE] Name N1 N2 Type FFapple 11 15 fruit ZZbanana 33 45 fruit ZZcarrot 22 25 vegetable FFapricot 10 30 fruit ZZmelon 22 50 fruit FFbroccoli 16 40 vegetable[/CODE] i want to …

Member Avatar for jcao219
0
220
Member Avatar for farsen

Hi. I have this UpdatePanel with som boundfield content. In this panel, there is an edit link, which will edit the content. It works fine. Now I want to make all the boundfields clickable as a link, so they act as the edit button. In that way, I dont have …

Member Avatar for dnanetwork
0
2K
Member Avatar for miturian

So, in the course of trying to write my own matrix-class (as an exercise, if nothing else), I ran across the following problem, exemplified in a dummy class: [CODE]class dummy { public: int a; int b; dummy(int a, int b): a(a), b(b) {}; dummy& operator=(dummy &rhs) { a=rhs.a; b=rhs.b; return …

Member Avatar for miturian
0
112
Member Avatar for filch

I had a working ticket purchase page and I have done something to break it but cannot find what I did to do so. I have the following javascript functions: [CODE]<script type="text/javascript"> function newqty( what ) { price = document.getElementById( what + "_cost" ).innerHTML.replace( "$", "" ); var qty = …

Member Avatar for fxm
0
134
Member Avatar for jazz_vill

Hi I have this table inside a form and in this form Im also fetching data from a csv file to display product informations in a table. I want a javascript code that when a user inserts a quantity value of the product he wants to buy the total column …

Member Avatar for parry_kulk
0
122
Member Avatar for Ycefire

Hello, I'm using Windows 7 Ultimate 64bit, Visual Web Developer 2010 and Microsoft SQL 2008 Express SP1(local). SQL server is set to windows authentication, I'm on admins account but the problem is that I can't work with database. It keeps doing errors with connection etc. (I have to use VirtualBox …

Member Avatar for Ycefire
0
198
Member Avatar for rohand

Hey Guys- do you have any idea how to redirect on another page after Response.End() ? I want once file download compelte it will redirect user on another page. I have tried a lot but didn't get any success. If you have any idea to achieve this then please let …

Member Avatar for dnanetwork
0
82
Member Avatar for whiteyoh

Hi All, On a registration form im pulling a list of countries from mysql. When i select, say england, i want to populate the provinces of england select option. Im using a standard loop to do this. What i dont want to do is force the user to click a …

Member Avatar for whiteyoh
0
84
Member Avatar for niths

hi, I had a project page where we can see projectname and allocate memory text boxes. so my query is that wen we enter a project name and if already a project exists with the same name then i should get a popup. i mean it should not allow duplicate …

Member Avatar for rajarajan2017
0
68
Member Avatar for Kusno

Dear all, I'm stucked with my XML problem. I have these stored procedures to save XML data into server hard disk. [CODE]CREATE PROCEDURE dbo.sp_XML_Employee(@Database varchar(10), @FileName Varchar(2000)) AS DECLARE @bcpCommand varchar(4000) SET @bcpCommand = 'bcp "SELECT EmployeeID, EmployeeName FROM ' + @Database + '.dbo.MasterEmployee ORDER BY EmployeeID FOR XML RAW(''Employee''), …

Member Avatar for Kusno
0
223
Member Avatar for niths

hi all, i am having a projects page, in which we can create a project by giving projectname and allocate some memory(we had restriction on memory i;e 60MB). so i had created a project and allocated some memory of 65MB. so now i wil get a popup as "insufficient memory" …

Member Avatar for niths
0
98
Member Avatar for ultimatebuster

The directory layout looks like this [CODE] base -- + parcer -- + parcer.py log -- + log.py [/CODE] I want to import log.py from parcer.py. How would I do that?

Member Avatar for TrustyTony
0
98
Member Avatar for BobbieJean

Hi, I've gotten this program to work but I want to format it differently. I feel like I've tried everything to make the changes that I want but they just don't work. I think I may have the right idea on most of what I want to change but keep …

Member Avatar for BobbieJean
0
1K
Member Avatar for thuyson

i have a file excel and i imported it into sql 2005 with it's name is QLHP ,now i want to delete QLHP database in sql 2005 using c#. Please help me! Thanks so much!

Member Avatar for thuyson
0
96
Member Avatar for urtrivedi

I have some doubt regarding jquery and ajax. What is the difference between jquery and ajax? Do jquery accesses server resource or its just do the things at client side? while solving a problem what to choose out of these two?

Member Avatar for urtrivedi
0
141
Member Avatar for kapiercy07

I am in a basic programming class and am having difficulty figuring out how to account for a non-numeric value being placed in for a binary number that will be converted to decimal form. If there is to be say a P typed into the binary input number, I want …

Member Avatar for kapiercy07
0
134
Member Avatar for QWaz

Hi, I am trying to set up a section on a site where the results that are shown come from a table. I want to get the number of the 'current_round' then subtract 1 from it and use that value. I have looked up MySQL dev site, and assume that …

Member Avatar for urtrivedi
0
92
Member Avatar for jeffcruz

[CODE] #include <iostream> #include <cstring> #include <string> #include <cstdlib> #include <iomanip> #include <stdlib.h> #include <conio.h> #include <stdio.h> using namespace std; class Fraction { private: double numerator; double denominator; public: Fraction (); // Fraction (double numerator, double denominator); //Fraction (Fraction &); //double operatorMultiply (fraction a, fraction b); //double operatorSum (); //double …

Member Avatar for jeffcruz
0
68
Member Avatar for QWaz

Hi, I am trying to display some results where one column is equal to another column in a table. End goal: display all the results where the round and current round are the same number for every team in the table. the number of teams will change as the number …

Member Avatar for QWaz
0
2K
Member Avatar for e30rapidic

write a program that reads in a list of names and stores them in [I]vector<person>. [/I]Then ask the name of the best friend for each person in the list. For each best friend, locate the Person object matching the best friend and call a [I]setBestFriend(Person* newBestFriend) [/I]memeber function to update …

Member Avatar for abhimanipal
0
730
Member Avatar for Simes

So I have being asked to create something in JavaScript and was told what they want it to be like, since I am beginning JS amongst other web development languages. Anyway have a look at the image and let me know if it is possible to do with JS or …

Member Avatar for Simes
0
6K
Member Avatar for azegurb

hi all, I have installed wordpress in English language. But in my language there not any available languages in wordpress official site My language is [B]Azeri[/B] [COLOR="Red"]Azerbaijan[/COLOR] country which wordpress files must i make changes thanks beforehands

Member Avatar for diafol
0
131
Member Avatar for sophie.c

Hi there, I write a code using socket to realize multiple message exchanges between a client and a server (i.e., a protocol running between A and B). But when I use recv() on a client to receive a message from a server, it turned out that the returned receive size …

Member Avatar for sophie.c
0
5K
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 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 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 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 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 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 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 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 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 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 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 krishnisilva

hi, how do u make a text box uneditable at runtime, the value is shown in the textbox but the value cannot be changed, how can i do this,?? thanxxxxxxxx

Member Avatar for Szpilona
-1
148
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 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 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

The End.