199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vikasgarg

Hi all I am having a jsp page where I have entered radion button value ,like this:-- <td><input type="radio" name="billType" value="1"/> <font color =blue> Brief Bill</font></td> <td><input type="radio" name="billType" value="2" /> <font color =blue>Detailed Bill</font></td> <td><input type="radio" name="billType" value="3" /> <font color =blue>Itemized bill</font></td></tr> Now I want to get this …

Member Avatar for brynFlew
0
1K
Member Avatar for ZedChu

Hi, I have really lame problem which is probably that easy, that I can't get it working. I have program like this below. And I need to make prototype to get it working. But I don't know how it need to look like. I don't want to have these functions …

Member Avatar for ZedChu
0
230
Member Avatar for get connected

Hi All I have a load of information on my label in a groupbox on the form there is too much information to be seen in one go so i want to use a vertical scrollbar to move the label up and down inside the groupbox so it can be …

Member Avatar for codeorder
0
258
Member Avatar for Morten Brendefu

I have tried searching internet a little bit and found some useful information about the command [CODE]SetLength[/CODE] I just wonder about a few things as I would like an array to "constantly" be redefined in size. When using it in one part of my program, it will be defined in …

Member Avatar for Morten Brendefu
0
141
Member Avatar for The 42nd

Hello to all. I have a problem with replacing a part of a string with another string. The following code does not work. However, if you remove void in front of replace_str, in Code Blocks i am able to run it (WHY???) despite the fact that i still get a …

Member Avatar for The 42nd
0
314
Member Avatar for Exelio

hi all, i am trying to display a xml file in a datagridview. i am using windows application with C#. say for example, i have a xml file like this, <xml version="1.0" encoding="UTF-8"> <maincategory> <cat1> <title>Category1</title> <link>http://www.w3schools.com</link> <description>&lt;img src=&quot;[URL]http://static.ibnlive.com/pix/sitepix/09_2007/flames_ramsetu90.jpg&quot;[/URL] alt=&quot;some description</description> </cat1> <cat2> <title>Category2</title> <link>http://www.ibnlive.com</link> <description>&lt;img src=&quot;[URL]http://static.ibnlive.com/pix/sitepix/09_2007/rahul_gandhi_white90.jpg&quot;[/URL] some description</description> </cat2> …

Member Avatar for sowmiyar
0
159
Member Avatar for sianpunky

C++ Syntax (Toggle Plain Text) Hi, from the previous link : [url]http://www.daniweb.com/software-development/cpp/threads/365264[/url] How to do i sort by using X or Y for the coordinates of Line2D and Line3D since Line2D, Line3D contains 2 pairs of coordinates. example. Line3D, [7, 12, 3], [-9, 13, 68] Line2D, [5, 7], [3, 8] …

0
49
Member Avatar for Catalyst.X

Ok, So i wrote this basic program that takes a map file as an input, and parses it and then draws the map. Its sort of like VERY BASIC tile mapping. The problem is, I cant think of a way to loop it so that no matter how many map …

Member Avatar for thines01
0
212
Member Avatar for geeknick

[URL="http://graphingvariousfunctions.wordpress.com/2011/11/18/how-to-solve-linear-equations-in-10th-grade/"]Solving linear equations[/URL]? It says I have to solve -3k + 4 = 8k - 15 - 6k - 11 On the problem, do I combine like terms on one side first? Like the 8k and the 6k? If so do I add them or subtract them? Can someone please …

Member Avatar for WaltP
0
114
Member Avatar for minghags

Hello! I wanna ask you guys for help with this program. Here is my problem explanation: I want that user gives an input in the beginning of the program how big should tictactoe board would be. For example: input: 4 so board would be 4x4. Code of the current problem …

Member Avatar for WaltP
0
1K
Member Avatar for maynardjk13

Okay, So I have this program that spits out the sum and average of a list of numbers that the user inputs. When ever I run it, though, it gives me crazy numbers. For example, when I put the values 1, 2 and 3, it gives me 3.957e+10 as the …

Member Avatar for PrimePackster
0
217
Member Avatar for twazzer

Hi there, I have been asked to import a text file into java, the file contains a series of 1's and 0's which draw a picture. The 1's will be drawn as a dot where as the 0's will be a blank space. I was wondering if anyone could show …

Member Avatar for NormR1
0
227
Member Avatar for programing

[CODE]/** * @(#)TestClassOne.java * * * @aziza meshal * @version 1.00 2011/11/12 */ import java.util.Scanner; public class TestClassOne { public static void main(String [] args) { int size; Scanner input=new Scanner (System.in); System.out.println("plz enter size of array"); size =input.nextInt(); int [] a1 = new int [size]; ClassOne [] a2 = …

Member Avatar for programing
0
83
Member Avatar for peter20

Hi, I have a problem with c files. I have broken my code to 2 files main.c and unp.h unp.h [CODE] typedef void (*Ptr_To_Function)(void); struct Menu_Record { unsigned int option_number; const char * text; Ptr_To_Function process_function; }; struct Menu_Record* select(struct Menu_Record*,int); struct Menu_Record startup[] = { {1, "Choice1", NULL}, {2, …

Member Avatar for Narue
0
125
Member Avatar for fiaworkz

I need to output "Exceptional Innovation" <div id="basic-info"> <h1 class="fn org"> <span> Exceptional Innovation </span> Here's my Code [CODE] RichTextBox1.Text = htmlsource Dim myMatch As New System.Text.RegularExpressions.Regex("(?<=<div id=""basic-info""> <h1 class=""fn org""> <span>).+?(?<=</span>)", RegexOptions.IgnoreCase Or RegexOptions.Compiled) Dim matches As MatchCollection = myMatch.Matches(RichTextBox1.Text) For Each itemcode As Match In matches Dim output …

Member Avatar for TechSupportGeek
0
224
Member Avatar for Behseini

Hi everyone, I am am trying to change the "display" property of a div from "none/block" to normal in order to display it on mouseover event.But I do not know why it is not working! Can you please take a look at following spinets and let me know what I …

Member Avatar for stbuchok
0
228
Member Avatar for vistriv5

Dear all I am creating a web application for my company. My application has a button and a textbox. What I want to do is entering some value into the textbox and then when i click the button the application will process the value based on the input in the …

Member Avatar for kvprajapati
0
205
Member Avatar for titusnainggolan

Hello all, I want to ask you what this code mean. [CODE] import java.io.*; class CopyFile { public static void main(String[] args) throws IOException{ int i; FileReader fin; FileWriter fout; try { fin = new FileReader(args[0]); fout = new FileWriter(args[1]); } catch (FileNotFoundException e) { System.out.println("Error opening output file."); return; …

Member Avatar for JamesCherrill
0
309
Member Avatar for vlowe

Hi, thanks for looking! I am trying to replicate a mouseover image swap feature on multiple images like on this site - [url]http://www.togsandclogs.com/latest-arrivals-12-w.asp[/url] I have found some image swap scripts but finding it difficult to find something i can implement for multiple images as above. The below works ok for …

Member Avatar for vlowe
0
377
Member Avatar for alishanvr

[CODE] // Node .h #ifndef NODE_H_INCLUDED #define NODE_H_INCLUDED # include <iostream> using namespace std ; class Node { private: int object ; Node *nextNode ; public: Node() ; void setObject(int x) ; void setNext(Node *next) ; int getObject() ; Node *getNext() ; } ; #endif // NODE_H_INCLUDED //----------------------------------------------------- // Node.cpp …

Member Avatar for alishanvr
0
2K
Member Avatar for morred

Hello! I'm new to this site and fairly new to Java, I've tried creating a program that takes a file as input and edits specific substrings in said file, compiles without problems but the file remains unchanged. [CODE] import java.io.*; public class Uppg10_OH { static class MinHistoria { private String …

Member Avatar for morred
0
171
Member Avatar for 3thal

I have a problem with the following code , i put try ... catch around if statement , and display this error message : 'Question1' is undefined ! [CODE]<html> <head> <title> Online Quiz </title> <script type="text/JavaScript"> function checkAnswer(){ var correctAnswers=0; var errorAnswers=0; document.writeln("The Result : "); try{ if(Question1.Q1[1].checked){ document.writeln("Q1 : …

Member Avatar for stbuchok
0
180
Member Avatar for lovelylaya

Hi I recently installed XAMPP and tried my first test page by creating a sub-folder in htdocs namely password_test which containts 2 files: password.txt and an index.php. While trying to execute i get the following: file:///C:/xampp/htdocs/password_test/ -------------- Index of C:\xampp\htdocs\password_test\ Name Size Date Modified [parent directory] index.php.txt 129 B 11/18/11 …

Member Avatar for Stefano Mtangoo
0
158
Member Avatar for something78

Hi, I am a student doing my Final Term Project. I am suppose to create a GUI using C# that can control and interact with a Robot call Robonova-1. The robot will be connected to the PC via Bluetooth. I was thinking to have a connection button in my GUI …

Member Avatar for Seten
0
10K
Member Avatar for OnIIcE

Hello, I am looking for a way to stop variable scope leakage. I have a class with a function to include a page something like this: [CODE] class functions{ function getView($viewTheme, $viewType, $viewTask, $viewFunction, $pageID=null, $itemID=null){ $baseView = ROOTME.DIR_VIEWS.$viewType.'/'.$viewTheme.'/'.BASE_VIEW_DIR.$viewTask.'/'.$viewFunction.'.php'; if(file_exists($baseView)){ include($baseView); } } }[/CODE] My problem is, I am now …

Member Avatar for pritaeas
0
133
Member Avatar for violette

I want to consolidate data from multiple worksheets however it only copies the value without copying the format. i need it to copy the format as well because there is one field need to have number in the format 0013. but when i run this code, the number will display …

Member Avatar for urtrivedi
0
166
Member Avatar for BabiesGame

Hi i am intrested in learning assembly for the reasons of getting to desgine all the workings of my program, decide precisely all the binary code of it. I am stupped to find a book or some place that i can learn how to do graphics with assembly. I need …

Member Avatar for N1GHTS
0
1K
Member Avatar for Kavatae

Hello everyone, I'm a student in my 4th year and i need a project idea that i can do for my Bsc.Computer Science, a project that is innovative and at the same time helpful to the society. I have a programming background in Java and Php. Kindly if any one …

Member Avatar for stakeMyHeart
0
1K
Member Avatar for Jessurider

can we find a particular image whether exiting or not within a video file.......... i.e imagine i've a picture of a particular person and a video file....and i've to find whether that person in the picture exits or not somewhere within that video file...........

Member Avatar for Jessurider
0
95
Member Avatar for anand01

hi all i tried one quiz in that i got question [CODE]Given: 1. public class Blip { 2. protected int blipvert(int x) { return 0; } 3. } 4. class Vert extends Blip { 5. // insert code here 6. } Which methods, inserted independently at line 5, will compile? …

Member Avatar for anand01
0
185
Member Avatar for abhishekarora

hi am making project..i have entered the record in 8 columns of table using jdbc and 9th column is automatically icremented as primary..so after putting the record and executin query i want to check primary no which i get..i want to show it in text box..what can be the query...?? …

Member Avatar for ~s.o.s~
0
97
Member Avatar for jain4

Hello There, I have a code for validation in a form in Html. The javascript works perfectly in IE, but doesnt work in firefox. The code is as follows: [CODE] <script type="text/javascript"> function Validate_contact() { var status; var err=''; if(document.getElementById('EFirstname').value == '') { err+='Please Enter Your First Name'; err+='\n'; status …

Member Avatar for jain4
0
209
Member Avatar for toki93

Ummm hi, Ive been having some problems with a program ive been working on. I want to insert a new value in a column in a table from a calculation i get and replace the original value. Heres the part of the code: private void button11_Click(object sender, EventArgs e) { …

Member Avatar for hericles
0
232
Member Avatar for alphabetic

Can enybody help me to do this? I used NetworkInterface and also Ipv4InterfaceStatistics.

Member Avatar for alphabetic
0
105
Member Avatar for triltaison

I have some code that I use to display random images, which it draws from a list of possibilities. My problem is that I want to be able to echo the name of the randomized image as text below it. If someone could help me figure out how to do …

Member Avatar for niranga
0
185
Member Avatar for geeknick

Is 2n+constant a good big o notation for a sorting algorithm? I have an assignment in a comp sci class to develop the fastest sort possible and found this to be the big o notation for my algorithm. The constant is based off the highest value in the sort.

Member Avatar for Rashakil Fol
0
107
Member Avatar for amit28it

What is Big O notation? Do you use it? I missed this university class I guess :D Does anyone use it and give some real life examples of where they used it?

Member Avatar for Rashakil Fol
0
124
Member Avatar for MrNo

I'm really confused as to how to set up this program. The program is to have a function "trap", so I'm guessing that means I have to include a function that solves the integral before my main function? [CODE] #include <stdio.h> #include <math.h> double f(double x) { return exp(-x*x); } …

Member Avatar for N1GHTS
0
1K
Member Avatar for Sluazie

hey! so i have to write a code that generates a number from 25-100 (x) and this will be the index of my array. i then need to x numbers from 1-1000 and store them as the element of my array. that is the first function. in the second function …

Member Avatar for WaltP
0
125
Member Avatar for tvm78

so i have this program written and i am getting a seg fault and the stack said in operator<<. I have no idea how to fix this...It is due in thirty minutes if someone can please help me asap. Here is where i think the problem lies: [CODE]#include <iostream> #include …

Member Avatar for Ancient Dragon
0
243
Member Avatar for armaan ali

hello, i want an algorithm coding the algorithm is [ADD A NODE IN DOUBLE LINK LIST] the algorithm is follow. instwl( info,forw,back,start,avail,locA,locB,item) 1- if avail=NULL then write overflow and exit. 2- [remove node from avail list and copy new data into node] set new=avail avail=forw[avail] info[new]=item 3- [insert node into …

Member Avatar for frogboy77
0
310
Member Avatar for opjjuly

hey guys, i have quiet a number of .css and .js files on my website <head></head> pages. how do i compress them with gzip?

Member Avatar for opjjuly
0
895
Member Avatar for reco21

how do I set the path of this cookie to my whole site "/"? [ICODE]setcookie("name$id$uid", $id, $month);[/ICODE] currently this is what I have. How do I format the above to set the cookie on a global scale for the entire site.

Member Avatar for reco21
0
201
Member Avatar for Daigan

[CODE]private double convertLiquid (double none2 ,char unit2, char amount2) { if (unit == 1) return (amount * 33.8140227); else if (unit == 2) return (amount * 0.001); if (unit == 3) return (amount * 1000); if (unit == 4) return (amount * 0.00852167911); if (unit == 5) return (amount * …

Member Avatar for javaNooblet
0
138
Member Avatar for PrimePackster

In the User defined function sum(), i am getting the Lvalue required error, can you please tell me why? [CODE]#include<iostream.h> #include<conio.h> #include<math.h> int num,digit,sum1,p; int sqlarge(int &a, int &b, int t=0) { if(a>b) { t=a; a=pow(t,2); return a; } if(a<b) { t=b; b=pow(t,2); return b; } else {cout<<"Both values can …

Member Avatar for PrimePackster
0
103
Member Avatar for oblo10

Hi. In my script there are two document.write lines. The problem is that when I call it from my ajax page it replaces the entire body and the page disappears. Is there a way to call this in an ajax page? <script type="text/javascript"> for (var i=0; i<DropTotal; i++){ document.write('<div id="Drop' …

Member Avatar for Airshow
0
748
Member Avatar for jhamill

Hey so for my lab we were given this code and told to fix it so that each candidate's information is printed on the appropriately colored background. The voting space for sarah is supposed to be on a green background, and the voting space for joe is supposed to be …

Member Avatar for NormR1
0
197
Member Avatar for maria536

I need help so that this program decrypts. Can someone take a look and run it I have the following errors. 1>------ Build started: Project: Decryption, Configuration: Debug Win32 ------ 1>Compiling... 1>Decryption.cpp 1>e:\prog100\simplycpp\tutorial11\exercises\decryption\decryption\decryption\decryption.cpp(18) : error C2059: syntax error : '}' 1>e:\prog100\simplycpp\tutorial11\exercises\decryption\decryption\decryption\decryption.cpp(31) : error C2679: binary '=' : no operator found …

Member Avatar for Labdabeta
0
108
Member Avatar for triumphost

Can someone explain why my function is not working? Description: ToggleFrame(TagID, FrameID).. Given those two, get the two elements.. If the iframe is showing, hide the tagID element.. if the tagID element is showing, hide the iframe.. My attempt & failure: [CODE] function ToggleFrame(ID, FrameID){ //Given the tag, show/hide it.. …

0
72
Member Avatar for pawan768

Please Help Me Out : I want to compare some condition like (check the user id exist in database or not)Trough Jquery, If it lie it show error image else it show the confirmed image! Any One help me out!

Member Avatar for stbuchok
0
307

The End.