199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Jessurider

I want to make to security question just like the one attached in one of my project........can anyone tell me how to do that.........here i'm planning to save the answer in sql server...........is it possible to do that............

Member Avatar for abelLazm
0
93
Member Avatar for dschuett

I have a php script that pulls several rows of invoices from a database and displays them on the screen in table format. I have created an onclick per row within the while loop in order call another php script that runs a query to pull all the attachments for …

Member Avatar for Akash Saikia
0
1K
Member Avatar for monstercameron

[URL="http://www.thinkteletronics.com/experimental.htm"]http://www.thinkteletronics.com/experimental.htm[/URL]i have written some javasript code to play an animation with sound and all paths should be working yet nothing is displayed...chrome/ff4/ie8 wont show any anything.

Member Avatar for Akash Saikia
0
136
Member Avatar for ManShake

Hi everyone, I have an assignment where, given a list of points in 1 dimension (that is, they are points (x,0)), to find the closest pair recursively. I've been moving along pretty well and I think I have a sound algorithm in place, but I hit a roadblock. My algorithm …

Member Avatar for chico9
0
1K
Member Avatar for C++NewBe

Based on my header file. How would I write a complete definition of the function temp (). [CODE]const int MaxDays = 31; // Maximum number of days in a month const int MaxTimes = 5; // Maximum number of times temperature is measured in // a day plus one column …

Member Avatar for VernonDozier
0
137
Member Avatar for alexia_net

Hi. I am using this command [CODE] include ($_SERVER['DOCUMENT_ROOT']."<path>"); [/CODE] to import a *.php file into another *.php file. However, i have noticed that in some cases it works, in some cases it does not. In another file I am using the same syntax to import a file which, is …

Member Avatar for tomato.pgn
0
840
Member Avatar for ckdoublenecks

Could someone help me with this code? I need to compare the date completed(datecomp) to the date paid(datepaid) to establish the number of days difference(dayslate). Thanks in advance! [CODE]<?php $stat = mysql_connect("localhost","root",""); $stat = mysql_select_db("oodb"); $query = "SELECT name FROM oocust Where ordernum='$ordernum'"; $stat = @mysql_fetch_assoc(mysql_query($query)); echo $stat["name"]; $result= mysql_query("select …

Member Avatar for reygcalantaol
0
176
Member Avatar for mbarandao

Hello: I'm having difficulty getting variables that are passed to another page in a url after migrating from an apache on window server to a apache on unix server. Here is the url: [code] <meta http-equiv="refresh" content="3;url=/i-cmsys/editableinvoice/index.php?edit_mileage=<?php echo $_POST['edit_currentmileage']; ?>&edit_servicearea=<?php echo $edit_servicearea_str; ?>&inputbox=<?php echo $_POST['inputbox']; ?>&edit_clientID=<?php echo $_POST['edit_clientID']; ?>&edit_firstname=<?php echo …

Member Avatar for mbarandao
0
287
Member Avatar for xxreenaxx1

I want to put this in a table so I can repeat this twice in two cell. [CODE] $intNumber = 1; $sql=correctanswer($_SESSION['username1'], $_SESSION['smodule']); echo "<strong>the ones are ticked is right answer </strong></td><br />\n"; while($info = mysql_fetch_array( $sql)) { echo " <strong>$intNumber, {$info['Que_Question']} </strong><br />\n"; for($i = 1; $i <= 4; …

Member Avatar for jkon
0
65
Member Avatar for sdr001

Note: vector < vector < string > > addresses; I am having a problem with this line of code: addresses.push_back(addy.c_str); I am trying to push back an email address in the i location of the 2-d vector. I have tried: addresses.push_back[(addy.c_str)]; and addresses.push_back[i][(addy.c_str)]; but nothing is working >:/ I appreciate …

Member Avatar for sdr001
0
162
Member Avatar for duliduli556

Is it possible to have true global variables in PHP? The tests I have done so far seem to suggest that you can have a global variable that is global only to the php file that declares it and not to your whole website. Once you go to another php …

Member Avatar for jkon
0
301
Member Avatar for TrustyTony

I did this code to compare to Delphi code in Delphi forum [URL="http://www.daniweb.com/software-development/pascal-and-delphi/threads/357771"]TListBox and sorting[/URL] which ran in my computer compiled in free Lazarus environment at time 7,235 s for generate and insert to listbox, 13,265 s sorting the listbox.

0
586
Member Avatar for julseypart

hi, basically im designing an online backup system for my final year project. It will be an (asp.net/c#) web application which allows users to backup their files to a remote server. Each user will have their own account where they can login to backup files, view files backed up etc.... …

Member Avatar for julseypart
0
195
Member Avatar for eoop.org

Is it some one hwo know how to open a form. I want to show form2 when some one presses button1?

Member Avatar for Momerath
0
125
Member Avatar for Behseini

Hi Guys, I have a problem with selecting several item from a combobox which are suppose to call same method. let's say I have a combobox populated like this list One Two Three Four Five Six Now I would like to let if user select one of these three option …

Member Avatar for Behseini
0
409
Member Avatar for Bastiondar

Is changing the currentLoc variable with an [B]IF[/B] statement a bad way to terminate this loop below? I'm told: [I]"...something in the loop body must cause the expression to become false at some time. One of the things you do not do ever, is write an if statement to change …

Member Avatar for Bastiondar
0
352
Member Avatar for yashodhan05

I want to resize font of all windows form control when i change screen resolution...I am able to resize all the controls but font resize driving me nuts....Please help me as soon as possible if anybody knows..thanks in advance....

Member Avatar for Unhnd_Exception
0
164
Member Avatar for jason75080

This program accepts input in the form of a String of names and grades. It picks out the names and picks out the grades and puts them in seperate arrays. Then it needs to output them together sorted by grades and then by names. I can get the Grade Order …

Member Avatar for jason75080
0
5K
Member Avatar for kazekagerandy

i am working on a virtual make-up software and the only thing i lack to totally finish it is the lipstick part. is there a way that i can trace the edges of the lips of the picture that im editing and fill its insides with colors from a colordialog …

Member Avatar for Unhnd_Exception
0
162
Member Avatar for eoop.org

Hi, i made a class in a win form app in c#. I want to open the class/degbue it when someone presses button3. How do i do that?

Member Avatar for divin757
0
167
Member Avatar for manugm_1987

Hello everyone, Is it possible to use controls of other applications using c#? I mean for example i run realplayer music player or any other application. Now is it possible to access file menu or edit menu or tools of these application using c#. i.e on a button click i …

Member Avatar for Momerath
0
123
Member Avatar for TheWolverine

Hi all, I've setup a class within my software package to read generic text files. For this, I'm using the getline( ) function and then parsing each line for specific types of files. In setting this up, I've come across the ACSII incompatibilities between Windows systems and Unix systems. I …

Member Avatar for mike_2000_17
0
387
Member Avatar for diniboi

Whats up Guys? How do you make this program work for all string inputs? It reads only 5 and 6 letter words and outputs it in an X formation. 1) For example: Input Hello Output: H o e l l e l H o 2) For example: Input: Doctor Output: …

Member Avatar for diniboi
0
195
Member Avatar for tracydo

import java.text.*; // format output import java.util.*; // Scanner class public class gpa { public static void main(String[] args) { DecimalFormat num=new DecimalFormat("#######.00"); // Create format for name num (courseName) DecimalFormat gpaNum=new DecimalFormat("##.00"); // Create format for name gpaNum (gpa) // variable names gpaNum gpa=0; // grade point average double …

Member Avatar for jon.kiparsky
0
466
Member Avatar for diniboi

Whats up guys? I need help my code is not working too great could someone please help me? My Input should be : 03/12 hello there My Output should be : March the 12th: hello there It needs to work for January, February, March, April, May and June. And all …

Member Avatar for diniboi
0
199
Member Avatar for bleedsgreen33

I'm working on a simple recursion function that takes a number and then adds the digits together, say 12345 = 1+2+3.....=15 I have that part: [CODE] int DigitSum(int number, int sum){ //if the remainder of the number / 10 is 0, return the sum if(number % 10 <= 0){ return …

Member Avatar for Fbody
0
139
Member Avatar for aanders5

Ok, so I have images for my applet, but when I upload it online, none of the images appear. When I add an image, they are all Image Icons for Labels, and I just browse to the folder on my desktop, selected the image, and hit ok. It then shows …

Member Avatar for aanders5
0
152
Member Avatar for wesduncan

I can not remember how to do this for anything. I need to make a pyramid look like this using a while loop * ** *** **** ***** ****** ******* ******** ********* ********** I can do it using a for loop, but when I do a while all I get …

Member Avatar for aamira_s
0
102
Member Avatar for MrHardRock

Hey everyone, I am writing a GUI that allows a person to enter all their own numbers into an array, then they can search the array for any number they want. I have it almost completely written except for two compile errors I can't figure out The first one is …

Member Avatar for mKorbel
0
172
Member Avatar for cufisa

Hello there everyone. I am in need of assistance in writing a code for my program. What I have to do is write a code to generate the following: (1) * ** *** **** ***** (2) ***** **** *** ** * (3) ***** **** *** ** * (4) * ** …

Member Avatar for aamira_s
0
161
Member Avatar for Freedom*

hello guys, write a program which calculates the volume of a cube or of a sfere. the user gives the side of the cube or the radius of the sfere • the user gives the shape as string • the shape will be sfere or cube otherwise will print "wrong …

Member Avatar for Freedom*
0
171
Member Avatar for shiv0013

is there any way to implement auto complete in a jtable cell. i checked for selectin a part of the text in the cell like the option in jtextfield. but seems that there is no option for that in jtable. please guide me in any one of the above....

Member Avatar for mKorbel
0
558
Member Avatar for eltonpiko

hi all hope some one can help me out im a php guy and ive got an application i want to make that will run on windows and ive never program for desktop before and i really need some advice. here is the scenario iv got my website with a …

Member Avatar for eltonpiko
0
385
Member Avatar for HookDevil

Hi to all, I have a severe problem with memory when executing my application. At start it merely uses about 14.000 K without doing anything. Then, when the main code starts in a seperate thread, it spikes up to 700.000 K (observed in TaskManager). Program in question is an implementation …

Member Avatar for HookDevil
0
298
Member Avatar for theUserMan

working on a 32bit architecture and i'm adding two arrays together slot by slot into a third array so if I have 3,4,4 and 4,4,4 in the arrays the third array should contain 7,8,8 at the end of the function I was able to pass in the arrays correctly and …

0
259
Member Avatar for GhostMonkey

I've been trying all day to write an array into a file but it doesnt work. The code I'm using is: [CODE] fstream myfile; myfile.open ("array.txt"); for(int i=0;i<=9;i++) { for (j=0; j<9; j++) myfile<<array[i][j]<<endl; } myfile.close();[/CODE] What am I doing wrong? This works if I knew what I was writing …

Member Avatar for GhostMonkey
0
105
Member Avatar for leo88

hi, I have a button control problem: [CODE] public void Display1() { listbox.Items.Clear(); Dictionary<string, double> sortList2 = new Dictionary<string, double>(); Dictionary<string, double> sortList8 = new Dictionary<string, double>(); string getText = textBox2.Text; Array arr; StringReader re1 = new StringReader(getText); string[] firstString = new string[textBox2.Lines.Length]; string[] secondString = new string[Comset2.Items.Count]; sortList8.Clear(); foreach …

0
65
Member Avatar for baseballfury

Hi Guys, Not sure if this is a php or sql problem but i keep getting the following error when trying to update a row using php and 'UPDATE': ERROR:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right …

Member Avatar for baseballfury
0
144
Member Avatar for burntout

I have to create an app that computes the amount income tax that a person has to pay, depending on salary. Income tax should be calculated for each portion of income in each range. Here are the following income ranges and taxe rates: Not over $7825=10%income tax $7825-31852 = 15%income …

Member Avatar for burntout
0
142
Member Avatar for chintan_1671

Hi i have a C++ DLL. What i am doing is that i am passing memory address to my C++ dll where it write message on that address and i want to read the message from that memory address. Here is my C++ function. [code] int _stdcall Test(int res, wchar_t …

Member Avatar for chintan_1671
0
732
Member Avatar for MarginOfBuffett

Whenever I try to compile my Song class I get a ton of linker error messages. I'm using the Dev-C++ compiler. Here's my code: //The header file [CODE]#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; class Song { public: Song(); Song(string title, string artist, string album); void …

Member Avatar for Narue
0
261
Member Avatar for MrHardRock

Hey everyone, I am writing a program that needs to take 10 integers and display them, then it needs to sort them in order from lowest to highest and then display them again. I was trying to use selection sort to sort them, but I think I set it up …

Member Avatar for jon.kiparsky
0
168
Member Avatar for dyingatmidnight

ETA: okay take two, I thought I had the problem fixed, turn out no. Okay so I'm a student on work term teaching myself C++ coming from a background in Java, having done that for the past two years in school. I'm having a tough time with some concepts and …

Member Avatar for mike_2000_17
0
237
Member Avatar for MrHardRock

Hey everyone, I am writing a program that requires me to use an array to find the mode of 10 numbers. I have working except I want it to just print the mode, but it keeps printing every number I enter. Any suggestions? Thanks in advance. [CODE] import TerminalIO.KeyboardReader; public …

Member Avatar for Spamj
0
2K
Member Avatar for parijat24

[CODE]hi , once gain i need a suggestion from the expert, the prob is that i have 400 folder(folderxyz) in a given directory, and each folder contains some file . now i want to open directory , open each folder one by one and read the files present in it …

Member Avatar for TrustyTony
0
202
Member Avatar for eman 22
Member Avatar for Olivis

Hello, folks! So i'm trying to add a tooltip to a treenode, But with no luck. I've tried things like: [CODE]Treeview.nodes(0).tooltiptext = "Hello" [/CODE]

Member Avatar for Olivis
0
189
Member Avatar for jshoot

Hi everyone, I have a 2d array whith 50000 lines and 14 columns, and I have to sum/multiply each value of a column for a fixes numbers, like this: a[1][14] = 0 a[1][14] + 2 = 2 a[2][14] = 2 a[2][14] + 2 = 4 a[3][14] = 5 a[3][14] + …

Member Avatar for zeeshan soomro
0
722
Member Avatar for Tazsweet19

I tried to fixed and figure out to move bottom and top for swap. it won't move. [code] private void topbutton_Click(object sender, EventArgs e) { int moveSpace = postProcesslistBox.SelectedIndex; int ItemIndexOfItemToMove = postProcesslistBox.SelectedIndex; if (this.postProcesslistBox.SelectedIndex != 0) { for (int i = ItemIndexOfItemToMove; i != 0; i--) { Swap(i, i …

Member Avatar for Momerath
0
120
Member Avatar for rkayd

I have 2 separate questions. They are related so I hope it works to take care of both of them in one thread. I have this code that works fine for what it does: [CODE] <head> <script type="text/javascript"> function alertSize() { var myWidth = 0, myHeight = 0; if( typeof( …

Member Avatar for rkayd
0
137

The End.