199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for masocha

l have got a table populated with data. l need to export and append the contents of the table to an existing table. l have got an auto_increment column which l need to change so it starts at 100 not one

Member Avatar for urtrivedi
0
120
Member Avatar for EddieC

Are you a certified function point specialist or play one on TV? Then the Counting Practices Manual version 4.3 might be for you. Unveiled today by the [url=http://www.ifpug.org/]International Function Point Users Group[/url] (better known as IFPUG), the $100 CD contains the latest "body of knowledge used by function point analysts …

Member Avatar for Marcio Silveira
0
380
Member Avatar for PDB1982

I am trying to create a rational numbers program from scratch (I'm a brand new student basically), and I have all my inputs working right now. My problem lies within my showFraction() function, but I can't figure out how to fix it. It should output the inputs from the user …

Member Avatar for tetron
0
530
Member Avatar for memo1

Hi , I'm a new learner of Java I start study Java since 2 weeks one of my friends challenge me to type program that show the number which I enter , It's even or odd . could you help me about the main things ,,,

Member Avatar for javaAddict
0
116
Member Avatar for xolmc

Hello All! How can I automatically change permissions just for files in current directory and not for other directories. I suppose that 'chmod -R 664 .' will change permission to all current directory content..

Member Avatar for hashinclude
0
104
Member Avatar for Interesting_Hat

Hello, I have been stuck with a C program, which I have to write for my foundation degree. I know it's simple, but can't seem to wrap my head around it. Write a program that uses a For loop to: Input three float numbers less than 20 Cube each one …

Member Avatar for stratsp
0
135
Member Avatar for muthuivs

Hi Guys/Gals, I am writing a program that needs the user to scan in documents using either adobe or the software provided by the scanner makers (such as travelscan pro, etc). My program needs to have have button that says "SCAN DOCUMENT", and when it is pressed I need the …

Member Avatar for kinwang2009
0
391
Member Avatar for Adrian99420

Hi, I created a combobox and binded it with MS access table using following code: [code] this->oleDbDataAdapter1->SelectCommand->CommandText="SELECT DISTINCT Profile_Name FROM Profiles"; this->oleDbDataAdapter1->Fill(dataSet1,"Profiles"); DataTable^dt= dataSet1->Tables["Profiles"]; comboBox1->DataSource= dt; comboBox1->DisplayMember = "Profile_Name"; [/code] I got the correct profile name I needed in the combobox. I tried it using textbox, textBox1=comboBox1->SelectedItem->ToString(); However,it always return …

Member Avatar for dittukumar
0
197
Member Avatar for mattias78

Hi I wanted to get some data from a file on the web that is updated every 12 hours or so and store it as variables so I can then display the information elsewhere. Is this something I can do with PHP? Here is an example of the file: [URL="ftp://polar.ncep.noaa.gov/pub/waves/latest_run/akw.46001.bull"]ftp://polar.ncep.noaa.gov/pub/waves/latest_run/akw.46001.bull[/URL] …

Member Avatar for hashinclude
0
76
Member Avatar for DoEds

I found this code somewhere on the net... But i dunno how to stop this...Its keeps animating and i dont know when will this stop... [CODE]#include <stdio.h> #include <time.h> void sleep ( long milli ) { clock_t end, current = clock(); for( end = current + milli; current < end; …

Member Avatar for jonsca
0
114
Member Avatar for 28daniela28

Hi, I'm trying to end a project that should do next points: -generating a random vector ( for that I have the function generareVector); -reading the vector from the file where it was generated ( citireVector); -sorting the vector using different methods of sort; -checking if the resulted vector was …

Member Avatar for tetron
0
196
Member Avatar for niths

hai i am new to php. i am getting this as error ---You have an error in your SQL syntax; check the manual that corresponds to your MySQL--- can anyone tel wher is the error. Thank u..!! <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> …

Member Avatar for hashinclude
0
101
Member Avatar for bmasta12

hi im currently working on a grade book tool for teachers im a beginner im trying to just simply have the user click the button on the current page there on to open an existing window that ive already created this is the code i use [code] private void PROFILE_Click(object …

Member Avatar for Geekitygeek
0
112
Member Avatar for Pooja J.

Hi guys, I have one form contains img title and img name, also in database named as gallary. my prob is i cant store the name of img with extension using file field. plz, guide me. //admin.php <?php $con = mysql_connect("localhost","root",""); $db = mysql_select_db('admin'); $title = $_POST['title']; $file = $_POST['file2']; …

Member Avatar for hashinclude
0
101
Member Avatar for WoW Me Web Girl

I started a comments page on my website and the comments work fine and go through. But after you submit the comment the out put displays like this on my webpage: comments: "heartbeaker" by: jamika @ 12:30:00 am on March 11, 2010. Fear<br /> There are two flip sides, to …

Member Avatar for liamfriel
0
71
Member Avatar for garyinspringhil

[CODE]x = self.spinbox37.value() * 40 y = self.spinbox38.value() * 40 printer = str(self.comboBox4.currentText()) print_cmd = 'echo "IN;PU" x "," y | lpr -P %s %s' self.LCDNumber18.display(x) self.LCDNumber19.display(y) #print_cmd = 'echo "IN;PU2100,11300;" | lpr -P %s %s' os.system(print_cmd % (printer, ""))[/CODE] In the above line I'm trying to use the x …

Member Avatar for garyinspringhil
0
130
Member Avatar for emilio

hi I'm new to outlook add ins. i developed an outlook 2007 add in project and added a setup project so i will be able to install the add in to other computers. when i install the add in (using the installer from the setup project) it works fine on …

Member Avatar for emilio
0
107
Member Avatar for endframe

Hi everyone. So here's the case, I am a newcomer in C++ and I have been working on a small begginers program ; it adds 2 numbers after adding 1 to each of those 2 numbers . Let's say if we put 4,5 then it will add 1 to both …

Member Avatar for BrianWren
0
234
Member Avatar for astronomical

All, Basically what you have here is a PART of my program. Here I am supposed to get the LENGTH of a rectangle from a user and return that length to the main method for further use. My program works fine if I take out the input validation but I …

Member Avatar for javaAddict
0
137
Member Avatar for P.manidas

Dear Sir/Madam, I have developed a software on game using VB 6.0 and Access, and I want to make that software as a Register Version. The software may ask the user for registration key at the time of installation or after specified period of time being installed. I can make …

Member Avatar for kinwang2009
0
329
Member Avatar for manofspider

Hi all, How to install these services to our web site ? - SVN , Git, and Mercurial Repositories - Mantis, Redmine Projects I think it should be easy to install Open Source application on Web Hosting. Thanks.

Member Avatar for masijade
0
125
Member Avatar for johndoe444

The following code fragment from Programming Pearls: [CODE]for i = [0, n) if comlen(a[i], a[i+1]) > maxlen maxlen = comlen(a[i], a[i+1]) maxi = i[/CODE] I am not sure why he called the comlen function twice? Instead he could save the computed value in a temporary and use it to assign …

Member Avatar for rdxblast
0
132
Member Avatar for suave_sak
Member Avatar for masijade
0
79
Member Avatar for mcastu

i m trying to make login page ... while runing that i got one Fatal error i m not able to understand even i tried .......... guide me plz here is :---- Fatal error: Call to undefined function: mysql_real_escape_string() in c:\apache\htdocs\newhr\checklogin.php on line 14 plz help me to solve it...... …

Member Avatar for mcastu
0
10K
Member Avatar for Egypt Pharaoh

How to get color inverse like black(00 00 00) be white (FF FF FF) red(FF 00 00) be (00 FF FF)

Member Avatar for ddanbe
0
81
Member Avatar for prem2

Hi DaniWeb Team, I want to read the value of the below array, but i do no how to get the values. Array ( [0] => Zero [1] => One [2] => 9884127128 [3] => 98841254554 [4] => Four [5] => Array ( [[0]] => Delimiter ) [6] => 9554565545 …

Member Avatar for prem2
0
70
Member Avatar for 56oldbrown

I have a login page on the site I am building, it works fine but what I am trying to accomplish is: I have a number (10) of football clubs who require login access to their page by their members only. For instance, Club A has its own page, only …

Member Avatar for cwarn23
0
110
Member Avatar for itisnot_me

ok so what i have going right now is a little system that takes a value of %address% and turns it into what is stored on the database. and i am using a str_replace example (note there are more in the array) [CODE] $searchArray = array("%address%"); $replaceArray = array($address); $content …

Member Avatar for itisnot_me
0
286
Member Avatar for samurai1200

In C++ using gc++ compiler (netbeans, ubuntu), I am trying to pass a struct into a function (working fine), operate on an array in the struct (fine). But when I leave the function (which is void return value), the struct values snap back to their initialized values. the struct in …

Member Avatar for samurai1200
0
1K
Member Avatar for HelloMe

Oje me again... :$ Hello everyone... I have a superclass Human and a subclass Warrior. Problem is, human got this method: [code] public void Reveal() { System.out.println("I am " + name + ". "); System.out.println("My Strength is " + strength + " my Health is " + health); System.out.println("My Intelligence …

Member Avatar for HelloMe
0
119
Member Avatar for Idontknowc

I have to now make a simple single line text editor where the letters i type i can use commands to edit them this is what I started with my knowledge and so far ive got typing happening, if its possible to just input commands that can change the lines …

Member Avatar for Ancient Dragon
0
121
Member Avatar for GAME

I've tried google and this site but cant seem to find anywhere to start? I'm trying to make a character limit one then automaticaly go to the next open text box.

Member Avatar for RunTimeError
0
113
Member Avatar for Duncans Ghola

I have been assigned to implement a string class and I am having a hard time with the >> operator overload. Header File: [CODE]std::istream& operator >>(std::istream& ins, obstring& target);[/CODE] Implementation: [CODE] std::istream& operator >>(std::istream& ins, obstring& target) // Postcondition: A string has been read from the istream ins, and the …

Member Avatar for Duncans Ghola
0
160
Member Avatar for HelloMe

Hello everyone... For now i have build a Human class and i want to test it now but on 2 lines there is an error and both errors states "void expected". I have a main function in my class but later i gonna remove it because i want this Human …

Member Avatar for HelloMe
0
115
Member Avatar for Suhas H G

Hi, My self Suhas H G, I need to merge the data from one xml file into the another xml file(At the end of this xml file). Please share the working code if any one has. Thanks in advance!!! Suhas

Member Avatar for kvprajapati
0
60
Member Avatar for rahulrulez

Hello, I'm working on my project "The Vending Machine Software" Here I need to use Graphics and mouse handling.. I'm totally new into Mouse programming in C++, still doing the coding with help of some online tutorials.. What I've to do is, Show a welcome page first when I run …

Member Avatar for rahulrulez
0
185
Member Avatar for digonio

Hi, I am a complete newbie and these are the first lines of code that I write, so please be patient :( I need to create a C# exe file that calls a c++ function What I wrote always throws an error at runtime: [code]Unhandled Exception: System.AccessViolationException: Attempted to read …

Member Avatar for kvprajapati
0
219
Member Avatar for ab_too

Hi, I have jest started learning Python. I would like to get some help on writing a script that would delete a data of lines only key from array which looks like this : [CODE]['192.168.255.1 00:01:02','[COLOR="Red"]172.14.0.1 00:0f:01','172.14.0.1 01:ff:dd:34'[/COLOR] ,192.168.255.3 00:dd:01:ff[/CODE] [B] I want delet red data only [/B]

Member Avatar for ab_too
0
717
Member Avatar for nanosadra

struct Employee { /* Employee details */ char name[MAX_NAME_LENGTH+1]; /* name string */ char sex; /* sex identifier, either 'M' or 'F' */ int age; /* age */ char job[MAX_JOB_LENGTH+1]; /* job string */ struct Employee *prev, *next; }; static void menu_add_employee(void) { static struct Employee *employee_list = NULL; { …

Member Avatar for Adak
0
214
Member Avatar for Stefano Mtangoo

I'm reading casting functions(I wonder if this is proper name). I get difficult grasping dynamic_cast, static_cast, constant_cast and reinterpret_cast. Can anyone help me in "layman" terms differences and where we may use them? [URL="http://www.cppreference.com/wiki/start"]reference[/URL] and [URL="http://google.com"]google[/URL]

Member Avatar for Stefano Mtangoo
0
66
Member Avatar for teajayo

Hi people... ran some asp code thru a php translator and the php page displays nothing but this error message. I take out the php code and it displays. I've checked and rechecked and read tons of possible scenarios... but I don't see anything. Sometimes another set of eyes and …

Member Avatar for teajayo
0
161
Member Avatar for spetsnaz26

I'm programming using Visual Studio 2005 with Intel's Cilk SDK installed and learned there were some bad writing/reading happening at some specific memory locations, such as 0x00254c0( I can't remember the exact location, this is only an example). I have no idea what is going on at those locations and …

Member Avatar for spetsnaz26
0
120
Member Avatar for Gnawk

#include <iostream> using namespace std; bool isPrime (int num) { int counter=0; { for(int i=1; i<=num ; i++) if (num%i==0) counter++; if (counter==2) return true; } return false; } //prints primes void printPrimes (int num) { for(int i=2;i<=num;i++) if (isPrime(i)) cout<<i<<","; } // if there is no prime number between …

Member Avatar for Gnawk
0
128
Member Avatar for strmstn

Hello there. I don't know if this should actually be posted in any of the C/C++ forums, but it is mainly an Assembly question so I take my chances here. In C/C++ it is possible to declare local variables as: [CODE=C]if(statement){ int var; // Use of the variables }else{ // …

Member Avatar for strmstn
0
204
Member Avatar for abarlowa

I need help, I am getting an error on line 2. It says ; is expected but one is already there. Can someone tell me what I am doing wrong? [CODE]//Input String input; //Process while (input != ("!")) { if (input == "A" || input == "a") { Console.WriteLine("OK"); } …

Member Avatar for jonsca
0
82
Member Avatar for pateldeep454

Assignment: One way to calculate ex is to use the infinite series expansion ex = 1 + x + x2/2! + x3/3! + x4/4! + ... If the loop variable is named i, then the ith term is equal to xi/i!. a. Write a method called myexp that adds up …

Member Avatar for pateldeep454
0
520
Member Avatar for shimbouzi

I've been trying to do this problem for awhile now, but im not getting any luck. im just not completely understanding how single dimensional arrays work. any help would be great here's what i have so far, and then the problem is below. include <iostream> include <iomanip> using namespace std; …

Member Avatar for Lerner
0
112
Member Avatar for shivam saxena

hi please help actually i want to develop a software of image processing using either c++ or .net . please give more detail by using c++ langauge

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for jonniebl

I am writing a program that loads a web page then get data from the page for calculations. I can navigate to the web page but the code does not wait for the page to completely load before proceeding. I need a way to have the program wait for the …

Member Avatar for jonniebl
0
260
Member Avatar for Exploded Fiber

Hi all, After some time pulling my hair my brain has turned to mush on this senerio. I'd appreciate any help offered as my PHP skills are still limited. Here is the senerio: I am creatings a voting website. I am currently creating an admin page that creates local election. …

Member Avatar for Exploded Fiber
0
107

The End.