199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kamweshi

Hi, can anyone help me to split the servlet(week02_4) so that only control code remains.I need to forward/redirect request/responses to two other servlets(VowelFrequencyServlet and WordCountServlet).I am not sure where to place the RequestDispatcher. Week02_04 servlet: [CODE=java]package servlets; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Week02_04 extends HttpServlet { protected …

0
122
Member Avatar for mrclark

I am making a library that will load UI files in which a user can customize the UI of the program. The UI file is arranged that it is like vb code and that to set the text and location of a button the user would use the following UI …

Member Avatar for lolafuertes
0
114
Member Avatar for Violet_82

Hi guys, I have a problem with a program: #include <iostream> #include <string> using namespace std ; // Uses a class with "public" member variables, so directly accessible class Student { public : string name ; int reg ; } ; int main( ) { const char NL = '\n' …

Member Avatar for Violet_82
0
129
Member Avatar for kehar

Hi, pl write me the simple example to connect student table of school database of Access through VB.net and code to AddNewRecord,DeleteRecord, UpdateRecord, SearchRecord. the fields in the table are say- Name, Desig and Age and textbox in form are- TxtName, TxtDesig, TxtAge the event under which each code has …

Member Avatar for lolafuertes
0
124
Member Avatar for reminem

Hi all I have build an small personal form to delete images. (personal use only) The respons I keep getting is "file not found..." I use the script locAL (WAMP) THIS IS THE FORM: <form name="form" method="post" action="delete.php" > <label>delete <input type="text" name="delete" id="delete" > </label> <label> <input type="submit" name="send" …

Member Avatar for reminem
0
136
Member Avatar for Lenny19

Hi, I'm got to input 12 values and find the maximum, minimum and average value, i've done the maximum, but can't do the min or average, i've spent a couple of hours trawling the web and looking over the code but nothing seems to work heres the part of the …

Member Avatar for saeed67
0
1K
Member Avatar for stefansaye

hi all, it's my code ,i want to display check box and two drop down list in a table , user can choose which one check box and set some value from drop down list , then i want send the row that user selected and these settings values from …

Member Avatar for sudeepjd
0
243
Member Avatar for johnlop1

So i have this input.txt file, and there are 5 entries in it, I want to take each entry( in the format of Image1.jpg, Image2,jpg, etc) and store it into an arraylist. Then use java GUI to display each image by clicking a button, from image1 to image5. First I …

Member Avatar for JamesCherrill
0
117
Member Avatar for Intrevix

I'm having a lot of trouble understanding an assignment we were given today. It has to be written using only loops. I'm finding it a little hard to comprehend right now, so just a bit of guidance on where to start would be great. I understand that the program would …

Member Avatar for JamesCherrill
0
135
Member Avatar for sam1

hi I was wondering which one do you think is the best? I have been using netbeans but have no experience with eclipse, so i can not say which one is best :lol:

Member Avatar for peter_budo
0
107
Member Avatar for acidking001

I am using Netbeans. I have one JFrame with JMenu, and one JDialog. I want to show the dialog when i click the menu, but it doesn't work. I only wrote this codes to my jframe and i didn't add or change any codes on the dialog: [CODE] private void …

Member Avatar for peter_budo
0
315
Member Avatar for john_beginner

hello eve one, i'm student of Bsc (IT) i have to made one small application in VB with in month so whould u pls suggest me any application which can be made with in one or one & half month .... thanx in advance...

Member Avatar for kinwang2009
0
151
Member Avatar for tweetychelz

Imagine a tollbooth at a bridge car passing by the booth is expected to apply a fifty-cent tool. Mostly they do, but sometime a car goes by without paying. The tollbooth keeps track of the number of cars that have gone by and of the total amount of money collected. …

Member Avatar for peter_budo
0
303
Member Avatar for arunpatyal1987

create table book(bookid int ,title varchar(50),author varchar(50),book longblob); insert into book values(1,'c#','arun','c:/c#.pdf'); BUT this code is not working properly

Member Avatar for sudeepjd
0
101
Member Avatar for sjn21682

hi everyone!!! need help here, how can i pass a string to a class? i have two forms and a class, my 1st form is the main form and the other form is used for assigning to a keyer, this form has a combobox where i will select the keyer …

Member Avatar for destruct0
0
1K
Member Avatar for frazehmad

Hi, I'm writing a script where user upload any video file and my script converts the video in flv format. Since video files are very heavy in size (I want to give upload limit of 10MB), it takes much time to upload. I observed, when we upload any file to …

Member Avatar for frazehmad
0
3K
Member Avatar for Arty Jug

1.write an algo that asks a user to input a month and a year. The algo then determines the number of days in that month and year(Note: Take into consideration leap year) 2. write an algo that asks a user to input a date and a month. The algo then …

Member Avatar for Wolfgan
0
292
Member Avatar for ameenu
Member Avatar for burcin erek

I want to generate 10 random numbers. but all numbers will be different. so I tried to use bool first make all false. and each generate, assign that argument with bool but someting is wrong. because outcome is not correct. [CODE]#include <cstdlib> #include <iostream> #include <ctime> #include <windows.h> using namespace …

Member Avatar for burcin erek
0
183
Member Avatar for cdes1145

Been scouring the web for ages and can't find a solution. So here I am..... Firstly this is my first venture into web design and hosting. I've got my own site running from just my laptop atm. I'm trying to include a basic hit counter using the following code; <?PHP …

Member Avatar for kylegetson
0
723
Member Avatar for raafs

icon_confused:Hiii.........could anybody here explain which is more reliable among the network operating system and a distributed operating system and why????? and what are the various differences between these two????? thanks in advance

Member Avatar for Looben
0
120
Member Avatar for Alerwiali

hi Everyone !! i need help guys with hash table in c ..could anyone help me by a little explaination of how to use hash tables ...please give examples.. Thanks in advance for all.

Member Avatar for Alerwiali
0
134
Member Avatar for chrelad

Hi everyone, I made a very quick and dirty PHP speed testing system ([URL="http://chrelad.awardspace.com/speed"]chrelad.awardspace.com/speed[/URL]) and was looking for feedback on different tests that I could add to it. I've only got two tests going right now: Comparison of string concat/replace methods [LIST] [*]Heredoc with interpolation [*]Double quote with interpolation [*]Double …

Member Avatar for chrelad
0
172
Member Avatar for kashy!

Hi again, I have a problem again with crystal reports. I am using Microsoft Visual Studio 2008 and want to design my Dynamic crystal reports. In vb6 i normally did this via bounding each control of the section1 ,2 or 3 via run time code by giving the name of …

Member Avatar for Naveed_786
0
924
Member Avatar for Froger93

Hello All, I'm not sure if this is the right place to put this, I apologise for it any way. Okay so here it is, I have a sitemap file [icode]sitemap.xml[/icode] and I have PHP code inside it. The problem I am having is when adding the following lines: [code] …

Member Avatar for _coder
0
117
Member Avatar for Noorul Ariff

Dear friends, I'm doing my inventory project in visual studio 2005... Back-end is ACCESS... i'm having purchase, sales tables... I want to know, how to Generate Report(Crystal or Data)... I need Steps to create and coding associate with it(For both, if it is possible)... Because i need very urgently... Plase …

Member Avatar for Naveed_786
0
131
Member Avatar for diddle

Hi all, Could you tell me how to write simple graphics program in c, for example, how to take the format of bmp, pgm, csd file from image file? how to convert from one format to other? If anybody knows a good book or web site, please tell me soon.

Member Avatar for Ancient Dragon
0
364
Member Avatar for Chalson

I'm using the 'struture' function to key in two type of data. First is the the position of employee, and another 1 is the salary of employee. May sumbody tel me how to get and calculate the total amount of salary from my input ? I need an example code …

Member Avatar for Chalson
0
95
Member Avatar for taquito86

Hi, may I know if there is an easy way to convert a string into lowercase except for certain parts. Input: I HaVe A CaT caLLed "SaLly" AnD DoG called "BeLLY" Output: i have a cat called "SaLly" and dog called "BeLLY" I do not want the stuff inside the …

Member Avatar for gerard4143
0
93
Member Avatar for dsmith1984uk

Hello people i'm new to the forum and my experience with PHP is very small in fact I only know how to echo some text. So I'm as new as they get. However I want to create a little program for my website and just need to know firstly. Can …

Member Avatar for _coder
0
110
Member Avatar for Aldius

Hello I had a question about MS-SQL. I am trying to write a query which will select a group of values from several tables (prodId, Amount, BreakLevel, TotQuantity, Price) There are several amounts associated with different break levels. i.e. a break level of 15 might get an amount of .10, …

Member Avatar for rch1231
0
202
Member Avatar for dschuett

how come my real escape strings are getting entered into my table as blank entries - if i don't escape them, they enter just fine.... Any ideas? [CODE] <?php session_id($_POST['current_email']); session_start(); if (!empty($_FILES)) { $con = mysql_connect("xxx", "xxx", "xxx") or die("cannot connect"); mysql_select_db("xxx", $con) or die("cannot select DB"); $tempFile = …

Member Avatar for dschuett
0
136
Member Avatar for Puster

Hello, I am worcking with a login script, and everytime i am trying to log on, I we get my error messege "inncorect password!" And everythning is okay! Can somebody pleas cheack it? [CODE]<?php include 'connect.php'; $session_username = $_SESSION['username']; if ($_POST['login']) { // FÃ¥r dataen fra databasen. $username = addslashes(strip_tags($_POST['username'])); …

Member Avatar for _coder
0
196
Member Avatar for Thropian

I've been doing programming in tkinter for awhile now and I came across a problem...this problem only shows up after a single part but here is the code...kinda lengthy.if you go to the equip menu and equip bare neck you can't change necklaces again. any help in shortening this or …

Member Avatar for Thropian
0
4K
Member Avatar for maremia

hello every one I tried to solve these functions in C++ but I faced some difficulties So is it possible for any one to help me to solve the functions? please try to help me as you can before tomorrow.. Download the file from [URL="http://www.fileden.com/files/2010/6/24/2896152/GENG106-HW1.docx"]here[/URL]

Member Avatar for maremia
0
92
Member Avatar for tpkemme

so now that i have gotten farther in the code, it prints the substrings correctly, but i can't get the program to stop correctly. basically, i'm looking for the longest common substring. def main(): input1 =raw_input('Enter string: ') input2 = raw_input('Enter second string: ') if input1 > input2: str = …

Member Avatar for TrustyTony
0
152
Member Avatar for mikecronauer

Hi all, a few quick questions. (Theory related) 1. Can you put javascript in a PHP file? 2. If the answer to that is no ... how can a website have user sign ins / security and also be using ajax to dynamically update a pure xhtml web page? 3. …

Member Avatar for quasipickle
0
117
Member Avatar for stvnddich

I have to write a C++ program that finds all the perfect numbers between 1 to 10,000 and print out the factors after the code finds them. I have written the code to find the numbers, but cant seem to wrack my brain on how to make the factors print …

Member Avatar for Kontained
0
713
Member Avatar for zachattack05

Is something like this possible: [CODE=C#] int MyParameter = 3356; DataTable x = new DataTable("CommandParams"); x.Columns.Add("ParamName"); x.Columns.Add("ParamType"); x.Columns.Add("Object"); DataRow y = x.NewRow(); y["ParamName"] = "@SomeParamName"; y["ParamType"] = MyParameter.GetType(); y["Object"] = MyParameter; SqlCommand z = new SqlCommand(); z.Parameters.Add(new SqlParameter(x.Rows[0]["ParamName"], (x.Rows[0]["ParamType"])x.Rows[0]["Object"]); [/CODE] I'm trying to come up with a method that can …

Member Avatar for zachattack05
0
188
Member Avatar for khulaffu

can someone make the code on this activity II. Procedures: a. Create a program (Save as Act4.asm) that will ask the user to input a 2 digit number. Compute and display the sum of these numbers. Assume that the sum will only yield a single digit (maximum value of 9). …

Member Avatar for Schol-R-LEA
0
159
Member Avatar for eduard77

Hello, I try to solve an equation. I wtrote this code that compiles with no problem but when I run it it gives me no result. Can anyone help me? Thanks[CODE] #include<iostream> #include<cmath> using namespace std; int main() { double a,b,c; cout<<"Introduce a,b,c\n"; cin>>a>>b>>c; if(a=0) if(b=0) if(c=0) { cout<<"The ecuation …

Member Avatar for eduard77
0
97
Member Avatar for oggiemc

Hi, Can someone explain to me what is going on in the code below as im new to pointers and not quite sure what is going on..In particular, an explanation of the first couple of iterations in the for loops would be helpfull.. Thanks [code=c] #include<iostream> 5 using namespace std; …

Member Avatar for gerard4143
0
78
Member Avatar for ccube921

I wanted every variable in the array to have .x, .y, and .cont, the error occuired on line 11: [CODE]#include <iostream> using namespace std; struct attrib{ char x; int y; char cont; } attrib brd[8][8]; //ERROR WAS HERE int main() { for ( x=-1; X<8; x++) //accesses all columns in …

Member Avatar for Unimportant
0
128
Member Avatar for ibdatx

Hi all, I am new to XAML however I have an understanding of XML. I am trying to bind a button to an XML file such that when the button is clicked, it the xml element is displayed within a listbox. Then I want the listbox selected item to be …

0
112
Member Avatar for n0de

Hi, i'm getting only one digit after floating point after conversion from string to float. Have tryed from standart functions to i don't know.. the problems is that conversion whatever it would be (strtod(), stringstream >> float, atof(), don't even rembember all other wacky ways to do that) brings me …

Member Avatar for n0de
0
203
Member Avatar for chudapati09

I need to write a program that changes a Roman Numeral to a numeric value. I've been inputing the roman numeral "CCLXXXVII", expecting it to output "287". Instead I've been getting "7101". Here is my code: [CODE] #include <iostream> #include <string> using namespace std; const int VALUE_I = 1; const …

Member Avatar for chudapati09
0
178
Member Avatar for frogboy77

How do i create a large array in c++? Apologies if this has been answered already but after searching didn't find what i was looking for. i want to create an integer array of size 1500000 i.e int array[1500000] but my compiler wont allow it. I remember seeing something about …

Member Avatar for frogboy77
0
323
Member Avatar for chintan_1671

Hi i have a code which counts no of lines in a code. I want something like it reads a file and counts all lines in a code. Ex: ls cd date ls ls cd cd ls cd ls I want to print output like: ls cd # 2 date …

Member Avatar for chintan_1671
0
154
Member Avatar for chintan_1671

I have created a binary tree. I have a function which counts the odd values from nodes of tree. I am always getting the output as if it is just returning the odd count from node->right. I am loosing the value of node->left count. [code=c] #include <stdio.h> #include <stdlib.h> #include …

Member Avatar for chintan_1671
0
2K
Member Avatar for RobBobSmith

Hello all: I would appreciate some advice on array subscripts. I am having problems passing 2-D arrays to functions I have written. The reason is that some of the arrays are dynamic arrays subscripted as array[i][j], whereas some of them were created in a class I wrote and these are …

Member Avatar for RobBobSmith
0
138

The End.