64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Jollyyy100

Hi, i have successfully made my registration and login page. Now i need help. When i click on login by using specific username and password that i had created, i want my next page to show details about that person, this details are stored in Mysql when they register and …

Member Avatar for zain10137
0
1K
Member Avatar for Ashenvale

Hi, i want to call frame B from Frame A private void BFrameBActionPerformed(java.awt.event.ActionEvent evt) { Frame B = new Frame B.setVisible(true); } NOTE :calling JframeB is trigerred by a jButton but when I do this FrameA overlays my Frame B. can someone help me with this?

Member Avatar for Ashenvale
0
79
Member Avatar for de Source

hi.. i want to know the the syntax of for loop that can circulate betweent "0" to "63" with step "8" that mean if value of "i" become 60 it will not move to 68 it should be go back to zero after 63 and the value of "i" should …

Member Avatar for Momerath
0
87
Member Avatar for techyworld

Hi, I write some data to a file called original.txt in python, then i read the file original.txt ,convert watever in the file to string(str), then write it in another file called copy.txt. Now i want to read the copy.txt and output it in python itself. It does not display …

Member Avatar for techyworld
0
367
Member Avatar for sapure

When choosing the input file, I tried three ways & all of them generated errors ! I created the file.txt in the project's folder. I'm using Netbeans IDE. 1) Passing java ShowFile Input.text as a command-line argument [properties ---> run ---> wrote this command-line in the 'Argument' box] 2) Using …

Member Avatar for stultuske
0
207
Member Avatar for Mits14

I need help!! What I want is when I add a new teacher, it will search the tblteacher_info. If there is already a record of that teacher, it will just update his/her record. If there is no record of that teacher, it will add his/her info in the tblteacher_info. I …

Member Avatar for Mits14
0
145
Member Avatar for Dudearoo

**Dudearoo** *Useing Code::Blocks* Are Programs Dependt on There Library'sI've Wonderd This For Some Time, and I would Love to know this because one of the main reasons i Love C++ is That all its Library's are Basic In the Users Computer, now I want To Download the Boost Librarys but …

Member Avatar for Dudearoo
0
123
Member Avatar for vijayram

Hai everybody. what is the problem onclick javascript function not working anybody plz help me. function getColor(block) { var s_url=block.href; var pColor=s_url.substr(s_url.indexOf("#")); document.getElementById("colorText").style.backgroundColor=pColor; document.getElementById("colorText").innerHTML=pColor; } <img src="/images/palette.gif" usemap="#color_palette" /> <map name="color_pallete" id="color_pallete" > <area shape="rect" coords="7,7,31,30" href="#003300" onclick="getcolor(this);return false" /> <area shape="rect" coords="35,7,59,30" href="#003366" onclick="getColor(this);" /> <area shape="rect" coords="63,7,87,31" href="#000080" …

0
101
Member Avatar for daino

I'm not sure how to ask this but here it goes. I am building a C++ application, in this case I'm building it in Code::Blocks with a MingW compiler. I want to incorporate/utilize/whatever, SQLite into my applicaiton by **including** (#include) the sqlite C code header file sqlite3.h in my project …

Member Avatar for daino
0
1K
Member Avatar for HunainHafeez

i have few pages in asp.net , when a user logs in then i want t give him access to 4 out of 10 pages, mean he can only view 4 pages out of 10, else are for admin + superadmin, so how could i assign him authority to few …

Member Avatar for HunainHafeez
0
432
Member Avatar for showman13

Hi All... I have a simple table with 2 fields in it... mem_id and ref_id For each mem_id in the table, there is an undetermined number of ref_id records... How do I get a listing of the unique mem_ids along with a number that represents the number of records with …

Member Avatar for showman13
0
145
Member Avatar for Viped

Hi, how is it possible to handle multiple keys at same time. I am making platformer game. Now if I push forward it goes forward until I release button or hit some else button example jump. What should I do to achieve that it wouldnt stop going forward but jumps …

Member Avatar for Viped
0
179
Member Avatar for sapure

public class BufferedReader { public static void main(String[] args) throws IOException { char c; BufferedReader sen = new BufferedReader (new InputStreamReader(System.in)); **// ERROR** System.out.println("Enter characters, 'q' to quit"); // read characters from the console while(c != 'q') { c = (char) sen.read(); **// ERROR** System.out.print(c); } } } I don't …

Member Avatar for NormR1
0
204
Member Avatar for Szabi Zsoldos

Hello guys, Working on a stock market table with rates of different currencies. What I would like to achieve is that i have an array of rates and would like the difference of today and the previous day, and it works, but i'm getting an empty value for the first …

Member Avatar for Szabi Zsoldos
0
201
Member Avatar for HunainHafeez

i want to hash my password to SHA1 algo, in asp.net code and then want to compare it with hashed password in sql 2008 db, for login so how to hash it in asp.net code ?

Member Avatar for HunainHafeez
0
185
Member Avatar for TeaYou

Hello everyone! I'm working on a school project where I need to make a GPA calculator. I have a user control for classes and another for the type of program you are in. I'm having trouble getting an array of user controls to work mostly probably because I don't think …

Member Avatar for Begginnerdev
0
222
Member Avatar for HunainHafeez

i have a code files in php + mysql database , so now i want to make them online on some free hosting site. i am totalyy blank about this, so how to make it online so the world could see

Member Avatar for HunainHafeez
0
154
Member Avatar for MiniApocalypse

Hiya! Im not new to programming but sometimes i can be really noobie so im sure this is probably really silly. I have an undecleared indentifier that only shows up in the main but is fine in the header and cpp files. I thought it might be an include loop …

Member Avatar for MiniApocalypse
0
330
Member Avatar for KellieD

Hi! Im doing an introduction to programming course in college and I have only been studying computer programming for the past six weeks. Our lecturer has given us an assignment to do by thursday which is to write a program that converts all of the uppercase letters to lowercase letters …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for Wolxhound90

Hi guys, I currently have a VB application which begins by calling an external C# application to download an eBay report. When it has downloaded the process ends, but the focus doesn't switch back to the VB program. Will I need to run the VB program at the end of …

Member Avatar for Wolxhound90
0
93
Member Avatar for HunainHafeez
Member Avatar for HunainHafeez
0
212
Member Avatar for summey

I am trying to figure out how to distiguish if the user input was a string or a int. The out put i am looking for is please enter a string: cat please enter a string: dog please enter a string: hamster please enter a string: 1234 please enter a …

Member Avatar for summey
0
1K
Member Avatar for branding4you

Hi I read a text file using PHP, the file gets uplaoded, and what I want to do is read the file take some information out of it and post it to mysql. Problem is that when reading the file it removes the spaces, I cannot count where the data …

Member Avatar for branding4you
0
363
Member Avatar for Webville312

Hello, I want to submit multiple records into a mysql database, and I have hit a snag. I am developing a web application that displays student records, and upon displaying student records per class, I want to be able to add marks for beginning of term, mid term and end …

Member Avatar for Webville312
0
1K
Member Avatar for Koji01

String Compare and File Handling mixing together... I am practicing my self to combine functions together like this. so get this, is it possible to search record from the File using File Handling(fscanf) and compare it from the User's input and display it...check out my program. content of **2003.txt** 1234 …

Member Avatar for Koji01
0
634
Member Avatar for ponnu

vb6 code to check if record doesnt exist,then insert new record.server is ms access 2010.So when i used the Dlookup function If IsNull(DLookup("[empid]", "[employee]", "[empid]= & txtemplid.text")) Then I got error like "function or subfunction not defined .is it due to issues with referencs .how can i fix this error …

Member Avatar for ponnu
0
2K
Member Avatar for riahc3

Hey I want to do something like this: <script language="javascript"> function calculatesha() { var name = document.getElementById("firstname").value; var last = document.getElementById("lastname").value; var complete = name+last; var hash = <?php echo(sha1(?>complete<?php));?>; } </script> I hope the code is understood even if it is wrong. Thanks.

Member Avatar for riahc3
0
311
Member Avatar for Mike Askew

This will sound like a homework assignment, it sort of is, but isn't. Anyway! I have created a simple address book application with a CSV backend. This utilises a Person class to store the contacts details and an AddressBook class storing the list of Person. Within the code we have …

Member Avatar for Mike Askew
0
107
Member Avatar for RonKevin

Error: Declaration Syntax error on function input Note: using turbo c++ 4.5 compiler #include "iostream.h" #include "conio.h" #include "stdlib.h" #include "cstring.h" #include "fstream.h" #include "time.h" #include "stdio.h" time_t now=time(0);char*dt=ctime(&now); int ch,dn=0; struct BuyerInfo { char id[5]; string fn; string mn; string ln; string ad; } info[100]; struct grocery { char …

Member Avatar for RonKevin
0
156
Member Avatar for HunainHafeez

check the image or chk Hot Jobs section in this link: http://www.bayrozgar.com/ i am working in asp.net and want to put exactly same thing whitin my website, and all text fields + images should b from database, sql i have all entries in database for advertisement section, but i want …

Member Avatar for HunainHafeez
0
97
Member Avatar for chao.lee.927

To display system clock time in LCD format I just want to display system clock time in LCD format, also want the time to be displayed with the format of hh:mm:ss ,my code is as following ,but when I run it ,it is out of my expectaions ,so anyone can …

Member Avatar for chao.lee.927
0
394
Member Avatar for mionazraelmiranda

hi! i'm having a hard time figuring out how to add two values(numbers) retrieved from a table. They should be added and displayed. how can i do this? here's the code snippet: require('connect.php'); $result = mysql_query("SELECT * FROM `order` where date = '$date' "); while ($row = mysql_fetch_array($result)){ echo "The …

Member Avatar for mionazraelmiranda
0
190
Member Avatar for lianpiau

my record got OrderFormNo and CashBillNo.(one to one insert) if 1st record OrderFormNo is 123 and CashBillNo is ABC, if 2nd record also same OrderFormNo, the CashBill must be same. As a result, I want detect if got same OrderFormNo in database but different CashBillNo, will not insert to database.

Member Avatar for debasisdas
0
225
Member Avatar for smith32

Hi, I'm working on a quick sort for double linked list. All work except the first item. I don't know what is wrong. Can u plz help me find the error? Here is my code. dlist_t* quick_sort(dlist_t* list) { dlnode_t *tnode = NULL, *first = NULL, *last = NULL; first …

Member Avatar for smith32
0
246
Member Avatar for mahdiyazdani

hi every body i want to show in each row 4 items from my db and go to another row (++row) in each row 4 items until end of items of db instead of in each row 1 item please help me here is the code <?php $sql=mysql_query("SELECT * FROM …

Member Avatar for Bachu
0
274
Member Avatar for RonKevin

here...theres something wrong it doesnt read all of the file and displays some annoying numbers..i think my code now is right but it isnt when i run the program..whats wrong with it? #include<iostream.h> #include<cstring.h> #include<fstream.h> struct grocery { int barcode; string prodname; string category; float price; } ; int main() …

Member Avatar for WaltP
0
158
Member Avatar for Ubunterooster

"Line 53: error: too few arguments to function 'void printResult(int, double, double, double)'" I have an "error" with my code (or so my compiler informs me) at line 53: "void printResult" I don't see how it's possible to need more aguments in that function. Any clue on how I should …

Member Avatar for Ubunterooster
0
315
Member Avatar for noahjonesnoah

Hi all, I have a question about comparing the contents of characters in arrays to see if they are the same. When I try and do something like this: char output_1[5]; char output_2[5]; int i; for (i = 0; i < 5; i++) { if (table_1[i][0] == table_x1[i]) { output_1[i] …

Member Avatar for noahjonesnoah
0
135
Member Avatar for HunainHafeez

i stored few ads details in sql database & made connection between my asp.net website and sql database , now i want to update my page automatically with ads after every few days, mean if i have 50 ads details in my DB and i only show 10 ads per …

Member Avatar for HunainHafeez
0
118
Member Avatar for kischi

Hi, I'm trying to implement some php code that I have in one document into another document. However when I do that I get this error: Parse error: syntax error, unexpected $end in /home/www/wearecrunch.dk/gammelsjuf/ajax/class/phUploader.php on line 470 I think it has something to do with where I'm placing the code, …

Member Avatar for kischi
0
450
Member Avatar for mahdiyazdani

hi everybody i got this page form some template that shows items in the page with pagination system but i want to keep this method without any pagination i dont want to spilit number of items i just wanna see all of the items that it read from db in …

Member Avatar for mahdiyazdani
0
369
Member Avatar for LastMitch

Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= …

Member Avatar for LastMitch
0
266
Member Avatar for zvjezdan.veselinovic

I am making a mock financial aid account for a project and I wanted to know why my program is not working. Can anyone help me out?? After creating my class, I am trying to access my getName(student_name) function in my main(). It says: "error C2065: 'student_name' : undeclared identifier". …

Member Avatar for zvjezdan.veselinovic
0
222
Member Avatar for HunainHafeez

i want to do something exactly like this in ASP.net , i am working on online reqruitment website, developing it for customer so i want to put a part like one mentioned in below link http://www.bayrozgar.com/ and chk the attached image to check that i am talking about . ![Capture54](/attachments/small/3/Capture54.PNG …

Member Avatar for HunainHafeez
0
132
Member Avatar for rubai

I have installed jdk and eclipse. but I can't start progamming. When I start from menu> New> class, it shows at the top "Source folder name is empty." Can anyone help me? My operating system is win7 64bit

Member Avatar for rubai
0
140
Member Avatar for Dendei

Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to …

Member Avatar for adam.adamski.96155
0
715
Member Avatar for crownedzero

Working with polymorphism collections, list, arraylists etc. I have a sorted collection that I would like to split based on one of the objects properties. All records > 0 to one; all less than to another. I'm trying to think of the best way to implement this. I'm thinking Comparable/Comparator …

Member Avatar for Taywin
0
220
Member Avatar for jtok

Background: I am using Visual Studio 2005 Standard SP1 to create an ASP.NET website that accesses an SQL 2005 database. I am using vb.net as well. I am passing an ID in a query string from one page to the next, where I retrieve it using an SQLDataSource. The data …

Member Avatar for G_Waddell
0
2K
Member Avatar for Thermalnuke

Hey guys Just learning about List Boxes, I have a quick Question Im Creating the Program where I have 3 text boxes and when I hit the add button it adds them to the list box off to the right if they already Exist in the list box then it …

Member Avatar for Thermalnuke
0
958
Member Avatar for rotten69

Hello everyone, I'm just wondering if there is another of calling functions in a different php file without making the app run strangley. So what I have got are a few forms without specifying their action. <?php 1- checking for the fields 2- if they are not empty and so …

Member Avatar for adam.adamski.96155
0
208

The End.