199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for calender24365

[code]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page import="java.sql.*;" %> <%@ page import="java.io.*;" %>> <%Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Database Page</title> </head> <body background="AC.jpg"> <a href="home.jsp"><font color="white"size="3"><b>Back to Home</b></font></a> <% try { String a=request.getParameter("Book_Id"); String b=request.getParameter("Book Name"); String c=request.getParameter("Author name"); String d=request.getParameter("Publisher name"); String e=request.getParameter("Department"); String f=request.getParameter("Edition"); String g=request.getParameter("no_of_copy"); Connection …

Member Avatar for peter_budo
0
118
Member Avatar for sujathaarsid

please can any one say the number of iterations for all sorting methods ...that is for bubble sort,selection sort,insertion sort,quick sort ,merge sort,heapsort .... please reply soon....

Member Avatar for Adak
0
90
Member Avatar for sagar_wordlife

please any professional out there can suggest me with project ideas . . for my final year project work . . plz. .plz. .

Member Avatar for peter_budo
0
113
Member Avatar for maichy

hi all, i am am working on a tax software that computes tax and gives the amount.since different goods have different tax percentages i would like when one customer buys goods with different tax percentage i can use the subtotal button to temporarily hold the tax value as he computes …

Member Avatar for jhai_salvador
0
280
Member Avatar for 47pirates

I'm new to java , i've tried to make simple jdbc application . I can store a value in database and also can retrieve it but only in console window. i've got the variable String name in package db, and what should i do to display the value of that …

Member Avatar for 47pirates
0
321
Member Avatar for dem10

I am getting the following errors when I try to compile this: thoughts? _______________________________________________________________________ BankAccount.java:11: <identifier> expected public BankAccount(String, double, double) ^ BankAccount.java:25: ')' expected public abstract void updateBalance(); ^ 2 errors ___________________________________________________________________ [CODE] protected abstract class BankAccount { public BankAccount(String, double, double) { String accountID; double balance; double interest; …

Member Avatar for stephen84s
0
128
Member Avatar for yopirates

hey guys i have used jquery tabs in my website design. In one page i have 4 tabs and in each tab i have save and clear option . if i click on tab 3 and enter the contents and then save its returning back to tab1! I want it …

Member Avatar for yopirates
0
168
Member Avatar for raul8

In the cose below I am fetching & displaying result set in a table format. This table also contains 2 buttons Udate & Delete. Following are the issues: 1. When user clicks update, I want to send E_ID to Update.jsp. I want to know, how to send Only E_ID without …

Member Avatar for calender24365
0
1K
Member Avatar for rahul.pmna

Hey, I'm a beginner in C++.. I know the basics.. I want to learn more about it.. Can u please tell me how to use 2d pointers in C++.. If possible just give me a simple program which can read & display a matrix.. :)

Member Avatar for sundip
0
110
Member Avatar for cac186

I am wanting to reference an object of type JTextField and convert it to JFormattedTextField. Is it possible to convert to a subclass? I tried coding something to the affect of [CODE]ClassA.object = new JFormattedTextField(); ClassA.object.setValue(new Integer(number)); [/CODE] But no success. Any suggestions?

Member Avatar for NormR1
0
140
Member Avatar for Syrne

So I'm looking to create a function that prompts the user to enter 'Y' for "Yes restart the program" and 'N' for No, do not restart. I know this should use the boolean operator, I'm just unsure as to how to implement it. I also know to encase the body …

Member Avatar for Syrne
0
7K
Member Avatar for tanuj863

I want to create an application for ad-hoc network. I have a little bit good knowledge of java But I cant decide from where to start. Please Help me to start

Member Avatar for tanuj863
0
83
Member Avatar for manaila

Hi, The following code is for traversing the linked list: [I]node[/I] is a [I]structure[/I] and [I]next[/I] is a pointer to next node declared in [I]node.[/I] [I]start[/I] is the pointer to the first node. [CODE] node* temp = start; while(temp != NULL) temp = temp->next; [/CODE] I dont understand the statement …

Member Avatar for manaila
0
103
Member Avatar for jackparsana

hi How to remove address from printout. and work with asp.net. how to remove address of the page. is any change setting in firefox? jack

0
100
Member Avatar for Geordie_Ben

Hi all, I want to create a required field on a registry form. I am using php nuke evolution and want the field "Game GUID" as a requirement. Where i am having the problems is i dont know where to put it in mysql and how to read it from …

Member Avatar for Geordie_Ben
0
185
Member Avatar for queryme

Hi I Have a web method on the Server. Below Is My Web Method. ASP.NET Syntax (Toggle Plain Text) [WebMethod] public string GetAge(int year, int month, int day) { DateTime birthDate = new DateTime(year, month, day); long age = new DateTime(DateTime.Now.Ticks - birthDate.Ticks).Year - 1; return "You are " + …

Member Avatar for Andrey Luiz
0
120
Member Avatar for dev.vini

<?php require("db-connect.php"); $slt ="SELECT * FROM assingment2 ORDER BY user_id asc"; $qry =mysql_query($slt); ?> <html> <head><title> </title> <script language="javascript" type="text/javascript"> function setcourse() { var index_name=document.frmselect.name.selectedIndex; document.frmselect.course.selectedIndex=index_name; } </script> </head> <body> <form name="frmselect" id="frmselect" action="" method="post"> <table align="center"> <tr> <td><b>NAME</b></td><td> <?php while($ftch =mysql_fetch_array($qry)) { echo'<select name="name" id='.$ftch['user_id'].' onChange="javascript:return setcourse();">'; echo '<option …

Member Avatar for Andrey Luiz
0
118
Member Avatar for bhagawatshinde

i am trying to draw a iamge in an mspaint control, and then put that image into a richtextbox but it will ask for save file and file has been saved i want to show image in richtextbox as soon as click on save file in dialog window. can anybody …

Member Avatar for bhagawatshinde
0
125
Member Avatar for RyanDev

Hi everyone, I have a simple javascipt code, everything works great but checking the username's and email's avaibility takes too much time. Here is the code : [CODE] $('.send').click(function(){ $(".error").hide(); var hasError = false; var mail = $('#mail').val(); var user = $('#user').val(); var pass = $('#pass').val(); var phone = $('#phone').val(); …

Member Avatar for Andrey Luiz
0
102
Member Avatar for ryufire
Member Avatar for vegaseat
0
134
Member Avatar for angel392004

i'm working on a voting system but im having problems in adding records... i have two a primary key, the idnumber and the address. the address is where I base if that certain address already voted. but the problem is everytime i try to add a record with the same …

Member Avatar for marketingmaniac
0
134
Member Avatar for NewOrder

i have this method , which returns true no matter what numbers i feed into it: [CODE] public boolean piecesCollision(ChessPiece[][]pieces,int rowStart,int columnStart ,int columnEnd,int rowEnd) { int j=columnStart; int i=rowStart; boolean valid5=false; boolean valid6=false; boolean valid7=false; boolean valid8=false; int b=0; int SpacesX=rowEnd-rowStart; int SpacesY=columnEnd-columnStart; if(SpacesY>0 & SpacesX==0){ // RIGHT SIDE …

Member Avatar for JamesCherrill
0
165
Member Avatar for David Mac

I think this is probably a very simple question but I just couldn't find the solution! I have a procedure that handles sending emails. It currently only handles a single email recipient. I want to extend it to handle multiple recipients. I've worked out how you add email recipients to …

Member Avatar for David Mac
0
109
Member Avatar for goldseiker

hi everybody, Could you tell me how to get data from other site to my website. If you have script like that, plz show to me. THANKS SO MUCH

Member Avatar for nonshatter
0
109
Member Avatar for XR_

Hi, i'm searching for a way to know the hostname of a machine connected to my twisted-server. I use to know the host the method self.transport.getPeer().host, and i have the IP in this way. But i need to know the hostname. I'm searching for a way like socket.gethostname(). Waiting your …

Member Avatar for Beat_Slayer
0
432
Member Avatar for fakhrealam

solve this problems in visual basic. 1. Write a program that prints the following diamond shape. You may use an output statement that prints a single asterisk (*). Maximize your use of repetition (with nested For/Next structures) and minimize the number of output statements. Print the diamond on the form. …

Member Avatar for jhai_salvador
0
267
Member Avatar for jackparsana

Hi, Thanks for help me advance. I have problem with Print which is in out by asp.net code. print has address on top right side what i want to remove. but it not remove. how can i remove address for print-out. please help. thanks Jack parsana.

0
105
Member Avatar for rasputinj

I am hoping I can get some help from you guys, I am taking a computer security course and we need to write a Caesar Cipher program, where you can input the text and offset and get the the encrypted results back. I have run into a problem with it …

Member Avatar for abcd1220
0
2K
Member Avatar for psridhar

[b]Split from - [url]http://www.daniweb.com/forums/thread129561.html[/url] [/b] Hi friends, I am using the magtek Intellistripe 65 insert card reader and i want to connect the device thru my POS application developed in .NET. I have also tried the sample VB code provided by magtek. But i am not able to access the …

Member Avatar for SujithaK
0
103
Member Avatar for kennski23

create a program do the ff: A room w/ 20 by 20 array of tiles. Inside the room is a mechanical turtle w/ a pen. The turtle accepts input in the ff. method: 1 = pen up 2 = pen down 3 = turn right 4 = turn left 5,no …

Member Avatar for peter_budo
0
330
Member Avatar for qazplm114477

Is it possible to pass arrays into a function and/or return an array from a function? I think it's possible but I don't really know how to go about it. lets say I have a function that returns a bunch of field from a database ex: [CODE]function a($sql){ $result = …

Member Avatar for qazplm114477
0
87
Member Avatar for Eagles36

This is the code for a fractions program that is to add and subtract(i know it does not subtract yet) I am having error messages that I dont understand. [CODE]// File Fraction.h #ifndef FRACTION_H #define hbg_cmpsc122 #include <iostream> using namespace std; namespace hbg_cmpsc122 { class Fraction { private: int num; …

Member Avatar for StuXYZ
0
178
Member Avatar for codergal

I am going through my C++ class assignments and Iam trying to figure out what the programs I wrote can do. This is one about arrays. Please explain under what circumstances I can use this. Thanks. // arrays_accessing using for loops.cpp : Defines the entry point for the console application. …

Member Avatar for StuXYZ
0
165
Member Avatar for jackparsana

please help me to install fonts in my website. can i put fontfile in my server and use in webpage. thanks in advance. jack

Member Avatar for jackparsana
0
99
Member Avatar for divyakrishnan

Hi.. I had used the following command to restore a mysql database on command line. mysql -u root -p admin test < D:\backup\test.sql here username-root,password-admin,database-test,backupfile located at-D:\backup\test.sql. It doesnot working..showing error messages..If anybody knows plz help me. Thanks

Member Avatar for divyakrishnan
0
273
Member Avatar for chillipit

I'm having problems with a JavaScript function not firing and I can't figure out why not. I'm opening a pop-up window which needs to pass some variables back to the opening window. I've used this code elsewhere with no problems and I've copied it and changed some of the details …

Member Avatar for chillipit
0
893
Member Avatar for rapids79

I am trying to write a function that calculates the sine of a given angle. The code works fine if the angle in degrees is less than 100...once the angle becomes greater than 100..the result is a large value. I don't know what I am doing wrong. Can someone point …

Member Avatar for rapids79
0
137
Member Avatar for eyeripper

How can i view files with a .00r file extension that cam from WorkBench document imaging software.

Member Avatar for eyeripper
0
73
Member Avatar for ABShaman

How to get time balance in DTPicker Ex - 2.30 Pm - 4.00 Pm = 2.5 dtpicker1.valuve - dtpicker2.valuve = 2.5 how to write vb6 code for this calculation Please Help me.......

Member Avatar for kevinothkumar
0
107
Member Avatar for VernonDozier

So I have opened a file with the "open" command and I get a file descriptor. That means I have to use lseek rather than fseek, which is fine by me. But what if I want to know how long the file is or what if I want to know …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for it200219

Hi, Please read this carefully before you reply. I have a content which is really big has more then 4000 lines into it. My client want to have pagination into it. So on first page it will show some content and on second page other content and so on. Any …

Member Avatar for vibhaJ
0
109
Member Avatar for dem10

Hi all, I created a parser class to parse a string inputed by the user. The BankAccountParser class is a utility class that will be used to create a bank account object (one of a saving object, a checking object, and a money market object ----> All of these classes …

Member Avatar for dem10
0
205
Member Avatar for zachattack05

Having a problem here...not sure if it's something simple or not. I'll be honest, threading is new to me so I'm not quite sure what the problem is here. Let me explain the problem first and then I'll post some code. I have a method that runs in a wizard …

Member Avatar for zachattack05
0
165
Member Avatar for itsmeisuru

what I want to do is I have two txt files named as number.txt and numAndName.txt In number file it contains only one character and it is a number. IN numAndName file it contains both number and Names as follows 5 name5 4 name4 3 name3 2 name2 1 name1 …

Member Avatar for N1GHTS
0
108
Member Avatar for wormwired

I had the problem to reverse the digits and I searched and found the answer, but I was wondering as to what is the fuction of the "%" I was playing with it when changing values of 10 to 100 and 1, but is it a math formula or something …

Member Avatar for jijisha
0
83
Member Avatar for qtbugfrmmo

[CODE]#include <iostream> #include <iomanip> using namespace std; void StartUp(void); void WrapUp(void); char ProgramName[] = "Assignment_3.cpp"; //Used to hold the program name void sentenceOne (); void wordOne (); void wordTwo (); void wordThree (); void wordFour (); void wordFive (); void wordSix (); void wordSeven (); void wordEight (); void sentenceTwo …

Member Avatar for qtbugfrmmo
0
149
Member Avatar for pa_bruce_fan

Receiving error when compiling invalid operands of types `double[100]' and `double[100]' to binary `operator*' The code looks like as follows. Trying to submit for homework this evening, and I'm stuck!!! #include <cstdlib> #include <iostream> #include <fstream> #include <iomanip> using namespace std; int main(int argc, char *argv[]) { double employeeSalaryRaises[100]; double …

Member Avatar for Akill10
0
115
Member Avatar for Nandomo

I am doing this silly program as practice but am having problems with the condition in the if loop... Please help me. The condition after the color question goes directly to its condition without accepting an answer. [CODE]// Add directories #include <cstdlib> #include <iostream> #include <sstream> #include <fstream> #include <iomanip> …

Member Avatar for Nandomo
0
128
Member Avatar for jessicaZ

Getting an error on line 302 (which is the one that starts: [I]If (Is_Object($GLOBALS[/I] ... ) Can anyone see the problem? [code=php] If (!Is_File($template_file)) $template_file = $this->get_default_template(); // Look whats the current post If (Is_Object($GLOBALS['post'])) $this->the_current_post = clone $GLOBALS['post']; // Use the template Ob_Start(); [/code]

Member Avatar for jessicaZ
0
114
Member Avatar for bangor_boy

Hello all, I am writing a toString() i know how to do the basics off this but what im looking to know is how to put a line break between each set of information to get this public String toString() { return "ball pos:" + this.ball + "keeper pos:" + …

Member Avatar for jon.kiparsky
0
86

The End.