199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for insanepenguin

Hello everyone! I've just started a module on Database Design & Implementation and was wondering if someone with experience of ERD's could take a quick look for me. Here is the scenario [QUOTE]Nightingale’s Nursery Nightingale’s is a private nursery organisation which takes in children from the age of one year …

Member Avatar for BitBlt
0
468
Member Avatar for abu taher

in a textbox I write 100000. I want another text show automatically "one lac". I mean it aumatically show the in word of that numeric number what I write. how it possible.

Member Avatar for debasisdas
0
410
Member Avatar for Jake.20

guys, need help please. i have an syntax error on my update statement here is the code. myqry = "UPDATE prodInfo SET " myqry = myqry + " [itemName] = '" & txtName.Text & "'," myqry = myqry + " [comboSize] = '" & combosize.Text & "'," myqry = myqry …

Member Avatar for prvnkmr194
0
116
Member Avatar for Kath_Fish

I wan to split my content(in horizontal)in my text file to vertical... [CODE] string filePath = @"c:\Users\Fish\Desktop\fyp-coding\Data.txt"; string line; if (File.Exists(filePath)) { StreamReader file = null; try { file = new StreamReader(filePath); while ((line = file.ReadLine()) != null) { MessageBox.Show( line); } foreach (string lines in File.ReadAllLines(filePath)) { string[] parts …

Member Avatar for ddanbe
0
256
Member Avatar for Aser Gado
Member Avatar for Daniel Liwonde
0
198
Member Avatar for gyuunyuu

I'm supposed to read all the words from text file and use bubble sort to sort the word and count their occurrence. As I read each word from file, what is the exact thing I need to do? Do I need to store the word (as char array) somewhere to …

Member Avatar for thekashyap
0
209
Member Avatar for tomala90

Hi all. I am trying to read items from a text file whose name is input by the user and also output the receipt to a text file whose name is input by user. I got stock for about 3 hours. Could you guys help? Thank You. [CODE] #include <iostream> …

Member Avatar for jonsca
0
291
Member Avatar for iceregulus

Hello! I'm currently working on a sort of simple imperial-to-metric converter application for myself, but I seem to have hit a snag. I've got the UI built, and the logic for one of the calculations built, but the button to make it all happen is giving me a problem. [CODE]import …

Member Avatar for mKorbel
0
1K
Member Avatar for andrewliu

Hello, I've been trying to figure this out and I'm not sure why my code does not work? [CODE]$(function(){ $('ul.ldd_menu li.topLink ul').hide(); $('div.ldd_submenu').hide(); $('div.submenu_top').hide(); $('li.topLink').hover(function(){ $(this).find('ul').show() $(this).css({'color':'#FFF','background-color':'#000000'}); $(this).find('div').show() },function(){ $(this).find('ul').hide(); $(this).css({'color':'#000','background-color':'#ffffff'}); $(this).find('div').hide(); }); });[/CODE] That is my code, and the background-color works. But why doesn't my font color change colors …

Member Avatar for andrewliu
0
123
Member Avatar for anoopkh

Hi can We run VB.Net windows Application (2.0 Framework) in Linux. If possible what are the steps to follow.

Member Avatar for anoopkh
0
96
Member Avatar for lianpiau

who know how to make TreeGridView in C# which want support databind. want to retrieve data from database to display in TreeGridView.

Member Avatar for lianpiau
0
1K
Member Avatar for PhiberOptik

Hey folks, I'm a student and I have been using Blue J. I have found it rather primitive and was wondering what the majority of other java programmers like to use? I thought about Net Beans but I honestly have no idea, So what do you use ?

Member Avatar for mjason
0
214
Member Avatar for Bill1811

Hi Everybody I am new to C++ and have a problem from the book my instructor gave that I am having some problems with. I am sure you guys are all familiar with the "mortgage calculator" here is my code. The Errors I am getting are as follows. I have …

Member Avatar for mike_2000_17
0
179
Member Avatar for yamot47

[CODE]echo ("<tr bgcolor='B0C4DE'>"); $value=$row['idbook_code']; $author=$row['b_author']; $book=$row['b_name']; echo ('ISBN : '.$row['idbook_code'].'<br/>'); echo ('Title : '.$row['b_name'].'<br/>'); echo ('Author : '.$row['b_author'].'<br/>'); echo ('Books Available : '.$row['b_avail'].'<br/>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("Available".'<br/>'); }else { echo("<input type='hidden' name='idbook' value='$value'>"); echo("<input type='hidden' name='author' value='$author'>"); echo("<input type='hidden' …

Member Avatar for yamot47
0
107
Member Avatar for canyvr

I am a beingger for using Python,now I am doing a palindrome program,but I have tried many time it still doenst work, can anyone help me to fix it??Thanks a lot!!!!! Here is the code: [CODE] s=input("Enter alphabetic characters: ") def palindrome(s): index=0 c=True while index<len(s): if s[index]==s[-1-index]: index +=1 …

Member Avatar for canyvr
0
157
Member Avatar for remshad

hey , yesterday i installed fresh apache and php in CentOs 5.5 pc , my problem is my php is not working well ,, every time showing errors .....how i solve this error please help me ... for eg: while i run a simple code snippet [CODE]<?php echo "php execution …

Member Avatar for remshad
0
123
Member Avatar for ezat2020

hi... I am new with c++. I need help to retrieve image from my usb webcam. I used codegear compiler. The idea is I need to capture image 10 times per second( or more) from my webcam. So, it will display at the screen some sort like video image (at …

Member Avatar for ezat2020
0
195
Member Avatar for jotae

I'm using Visual Studio c# (spanish) The code: [CODE]cmd.CommandText = "UPDATE cursos SET saldo = saldo - '" + cantidad.ToString() + "' where id = '" + vID + "' ";[/CODE] vID is a string variable. The problem is here: Don't work [B]where id = '" + vID + "'[/B] …

Member Avatar for kvprajapati
0
108
Member Avatar for br007

Here is the snippet of code I am having issues with. cout<<"So are you a male or female, Please type m/f"<<endl; cin>>sex; if (sex='M','m') { alcohol_distribution=.73; } else if (sex='F','f') { alcohol_distribution=.66; } So I know I have this terribly wrong, but i want the alcohol_distribution based on whether or …

Member Avatar for br007
0
122
Member Avatar for hitro456

Hi guys I am writing an application in c# I want to create a dynamic log file which would contain all the errors or exceptions occurred during execution of the Component. Log file simply has to append all the errors or exceptions generated with error details and time and date. …

Member Avatar for ghimangi
0
228
Member Avatar for Kath_Fish

hey....i got some problem in ReadLines method string filePath = @"c:\Users\Fish\Desktop\fyp-coding\Data.txt"; string line; if (File.Exists(filePath)) { StreamReader file = null; try { file = new StreamReader(filePath); while ((line= file.ReadLine())!= null) { textBox7.Text = line; } } finally { if (file != null) file.Close(); } } When i use this coding...it …

Member Avatar for Momerath
0
84
Member Avatar for kanthmca3

Could you please help me, i need to extract the fields which are Highlighted and moreover i want to extract in the following way. starting from the first column i have to go n(say n=13) lines down and extract "Records" field value. [U]P.s[/U] Please find the attached document which clearly …

Member Avatar for thekashyap
0
91
Member Avatar for moraks007

To Chubler XL #!/bin/sh touch fileuseranswer echo "**********WELCOME TO GROUCHO MARX UNIVERSITY**********" echo Username: read i echo Password: read j Username="${i}:{j}" if ( ! grep -q $Username /$HOME/PhaseTest/userinfo ) then echo "Wrong Login/Passwd" exit 2 fi echo echo -e " \c" date QFILE=./questions # max questions max=$(sed 's/^[1-8][0-8]*\. /#&/' ${QFILE} …

Member Avatar for thekashyap
0
163
Member Avatar for lochnessmonster

i do have 1 question [code]int function(...) { int x; int q; if (condition) { } <-----is there a way to put a marker here...then use a pointer to store the address of the marker...right before the 2nd conditional statement in my code? if (condition2) { } return val; } …

Member Avatar for mike_2000_17
0
93
Member Avatar for ChieftanBill

I've recently come upon a frustrating Array Index Out Of Bounds error when selecting any of the "calculations" to be applied to the entered values(maximum 1000 values). I suspect it to be a problem with the [CODE]values[(c+1)][/CODE] in the for loop. I can't figure a way around this problem. Can …

Member Avatar for jon.kiparsky
0
246
Member Avatar for breakid

Hi, I am using tomcat to run jsp file, my question is how can force my server to create log file ? I'm new into tomcat, so please be gentle. Thanks

Member Avatar for stephen84s
0
143
Member Avatar for deolalkar_pooja

//Hi, //i create following table Table name : person ID AGE FNAME LNAME 1 10 Geek Greek 2 20 Seek Bells 3 30 Creek Dells 4 40 Sreek Sells[/B] // I wrote following procedure which is run successfully. Create or replace procedure proc1 as cursor person_cursor (pAge number) is select …

Member Avatar for deolalkar_pooja
0
106
Member Avatar for paulkinzelman

I've spent several days looking for info about precisely how to do DLLs and have found bits and pieces here and there but noplace that ties it all together. I'm thinking this could grow into a 'how-to' for DLLs which might be useful for others as well. I'd like to …

Member Avatar for paulkinzelman
0
308
Member Avatar for JudeV

The game will have the computer generate a secret random number in the range of 1 to 100. The user will then have six tries to guess the secret number. After each guess, the algorithm will tell the user if the guess was too high, too low or was correct. …

Member Avatar for JudeV
0
1K
Member Avatar for biogig

so I've been trying to write this program that takes the data from a file and outputs the year the rainfall how much it is below/above the average, the average raifall and the std deviation and for some reason I get three C4552 warnings:'>': operator has no effect on three …

Member Avatar for biogig
0
886
Member Avatar for stevanity

I came across this qn in a debugging contest in college. The out put must be "aadd" WHat should be given in conditional field. NO goto and exit statements. [IMG]http://lulzimg.com/i13/b449cb.jpg[/IMG] Can anyone help me??

Member Avatar for L7Sqr
0
101
Member Avatar for Archenemie

I have a listbox and what I basically want to achieve is as I click a value within the listbox I want the value clicked to be passed to a function. I could easily do this using a button and listbox.GetValue() but I believe the quality of my finished code …

Member Avatar for Archenemie
0
219
Member Avatar for madval88

I have a Mysql database and I am trying to import multiple records with multiple columns into Flash AS3 using PHP. My problem is I am able to make it work with a single column and multiple records but for multiple columns I am not being able to format it …

0
103
Member Avatar for Planetdune

Hey fellow delphirinos, I am currently using the following code to get an application in my application: [CODE]procedure TForm1.Button1Click(Sender: TObject); begin ShellExecute(Application.Handle,'Open','Notepad.exe' ,nil,nil,SW_NORMAL); //Wait for it to be loaded. Sleep(500); //Get the handle of the other program using the caption of the window. wHandle := FindWindow(NIL,'Untitled - Notepad'); //Now change …

Member Avatar for drjoeblack
0
108
Member Avatar for nats01282

im trying to create a form that redirects the user to anther page and also stores the information in the database. here is the code [CODE]<?php mysql_connect("localhost", "DBname", "Password") or die(mysql_error()); mysql_select_db("DBname") or die(mysql_error()); // Retrieve all the data from the table $result = mysql_query("SELECT * FROM players") or die(mysql_error()); …

Member Avatar for nats01282
0
189
Member Avatar for Snoozey

Hello, I have a current assignment to make a program copy what is put in, and place it into a paragraph using word wrap. If there is no room for the word+ a space then print the line and that word+ space starts the next line. [code] public class ReportWriter …

Member Avatar for mKorbel
0
129
Member Avatar for daviddoria

I am trying to return a vector of some of the elements in a vector. I wish to modify one of the elements in this new vector and have it automatically update the value in the original vector. I tried this: [code] #include <iostream> #include <vector> class TestClass { public: …

Member Avatar for daviddoria
0
154
Member Avatar for jacob.irwin

I am getting the Error Registration message... why? [CODE]<? session_start(); include("database.php"); /** * Returns true if the email has been taken * by another user, false otherwise. */ function emailTaken($email){ global $conn; if(!get_magic_quotes_gpc()){ $email = addslashes($email); } $q = "select email from users where email = '$email'"; $result = mysql_query($q,$conn); …

Member Avatar for diafol
0
165
Member Avatar for andrewliu

Hello all! I have a problem with my jquery. I have hidden some parts of my menu, but I can't seem to hide the div tag. How do I accomplish this? This is my jquery: [CODE]$(function(){ $('ul.ldd_menu li.topLink ul').hide(); $('li.topLink').hover(function(){ $(this).find('ul').show() $(this).css({'background-color':'#000000', 'color':'#ffffff'}); },function(){ $(this).find('ul').hide(); $(this).css({'background-color':'#ffffff','color':'#000000'}); }); });[/CODE] This is …

Member Avatar for andrewliu
0
124
Member Avatar for mbarandao

good day: I'm using an ajax script that receives a value into an input box and thus performs a function. I need to invoke the function immediately after the input box has a value. Currently the box has to lose focus in order for the function to work. What is …

Member Avatar for mbarandao
0
326
Member Avatar for oxenjo30

hi guys, i'm having this kind of problem Warning: Cannot modify header information - headers already sent by (output started at /home/deleted/public_html/affiliateomega.com/face-fans/style.php:4) in /home/deleted/public_html/affiliateomega.com/face-fans/facebook.php on line 378 i really don't know why what's wrong, i've already check if their is a space or blank line but i got no clue …

Member Avatar for oxenjo30
0
216
Member Avatar for monkey0525

My program is a implementation of the Sieve of Eratosthenes algorithm, which finds primes number. It stores two integers up to the maximum, and all odd numbers from 3 upward. It also checks if, for whatever any reason the first number ever reached the square root of the maximum number, …

Member Avatar for sabin_chirila
0
682
Member Avatar for newack

hello, i wrote a code to encrypt the 4 digit number. i broke the number in digits and encrypted it. It works fine. But the problem comes when first digit in output comes 0. that time i get 3 digit number instead of 4 digit number. i want it to …

Member Avatar for newack
0
84
Member Avatar for lilpinay

problem You are to, given the data below, design an IA-32 assembly language program to find the max and min of the array in X and save them in A and B respectively. X sword 100,200,-100,-200,150,-150,300,250 A sword ? B sword ? what i have so far: 1. irvine32.inc 2. …

Member Avatar for lilpinay
0
1K
Member Avatar for johnt68

Hello, I thought that I had sorted this a while back - but testing with fresh eyes has revealed otherwise. I think everything works (of course I may be quite deluded) but if the tick box is checked and a calculation is made it adds 10% - which is good …

Member Avatar for johnt68
0
116
Member Avatar for whit0851

Hello every one I'm trying to write a game that has a person guess a number between 1 and 100 hand have the computer guess that number via inputs from the user but I keep running into snags. [CODE]#include <iostream> #include <cmath> #include <cstdlib> using namespace std; int main() { …

Member Avatar for Crutoy
0
790
Member Avatar for hailsontherocks

Just trying to change the formatting of various bits of my print code. Is there a simple way to do it?

Member Avatar for hailsontherocks
0
134
Member Avatar for Dongalor

Hello, I've a script that is launched with a soft link. Inside the script, I need to know where is the script, and I'm using the following : [CODE]SH_DIR = $(cd $(dirname "$0"); pwd)[/CODE] But SH_DIR contains the path of the soft link i.e, I've the soft link like this …

Member Avatar for griswolf
0
239
Member Avatar for Crutoy

Hi , i'm trying to do an exercise where the computer has to guess the random number from the range of 1-1000. Currently this is the way i have it set up as. I divide that range in half and store it in guess and then check it against the …

Member Avatar for Crutoy
0
801
Member Avatar for Mkmd13

Hey, I have completed my code for Java and I have to put it in GUI, problem is I dont know a thing about GUI or if my program works correctly with it or not. Here is my code and what the code does is you type in random numbers …

Member Avatar for Mkmd13
0
505

The End.