199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mayank.aga

There are 3 java classes in separate files and when I compile them...ERRORS! If anyone could run those 2 classes separately and tell me the peoblems I will be really grateful coz I've used up my minds! import java.util.*; public class PageOne { public static void main(String[] args) { Scanner …

Member Avatar for mayank.aga
0
94
Member Avatar for djouija

Hello, I am trying to use the sql delete from statement to delete certain data (which are urls) from my db, but they don't seem to actually get deleted. (there are no errors, of course, so it looks like the code is working, but the data does not actually get …

Member Avatar for squid44th
0
145
Member Avatar for madhav_2k

i'm fascinated by the tooltip or the information bubble , which pops-up on this page when I point my cursor on a thread title. Does anyone know what it takes to code something like that? Is it possible with PHP, javascript or AJAX ? The attached image shows the tooltip …

Member Avatar for squid44th
0
174
Member Avatar for mathbalaji

Hi All, I just tried to write a code which, upon clicking on a button should send an email with attachment. I succeded by using some of the posts here, but however I need to add some special effects in between... In the body of the email, I need to …

Member Avatar for cometburn
0
159
Member Avatar for StepIre

Hi Guys, I have a nested dictionary that i would like to be populated from a file at the start of my prog and put back into the file at the end of the prog. Could anyone direct me to somewhere where i could get info on how to do …

Member Avatar for StepIre
0
130
Member Avatar for snucho

A computer has 256MB of memory. Each word in this computer is 16 bytes. How many bits are needed to address each word in memory?

Member Avatar for DevonMcC++
0
78
Member Avatar for orangejuice2005

We were given a task, to familiarize ourselves with stacks and queues, to write a program to solve a maze problem. We are given text files with pre-defined values letting us know the size of the maze, the mouse's position, the cheese's position as well as the value each cell …

Member Avatar for Lerner
0
1K
Member Avatar for sreelakshmi

Is there any eventhandler for RichTextBox in vb.net to catch the selection of text event? I want to enable cut,copy,delete control mentu strip items on selecting text. Edit > cut,copy,paste,delete Only on selecting text the cut,copy,delete should be enabled Please help me out....

Member Avatar for poguemahone
0
119
Member Avatar for RexxX

Say I have [code] #include<iostream.h> int tempNum; struct node { int data; struct node *next; }; struct node *newNode = NULL; int main(void) { tempNum = 5; newNode->data = tempNum; //gives seg fault } [/code] *edit - I'm trying to add tempNum to the very first node. I haven't worked …

Member Avatar for Aia
0
104
Member Avatar for Jennifer84

I have a wondering here. This code I have below is working great except of one thing that doesn´t make sense to me. I use a while-loop inside a for-loop as seen. The for-loop is counting from 1-49 and for each count the while-loop will read a .txt file and …

Member Avatar for Jennifer84
0
111
Member Avatar for sarath.koiloth

I am new to java, I went to an interview yesterday....Interviewer asked me What is Object Oriented programming...I find a bit difficulty is aswering for that.Can you please give a good explanation for this question.... Thank You....

Member Avatar for jwenting
0
103
Member Avatar for curt1203

I once again am having trouble with this program. I really thought i understood this right off the bat but once i got into it, there is a lot of little technical things my professor wants in it. Like the functions and generating random numbers. Any help would be awesom, …

Member Avatar for curt1203
0
298
Member Avatar for cosmos22

Hello, I was wondering how you might go about detecting a drive letter, such as D for DVD drive, if you wern't to run it on your own computer. I have programmed something that picks a certain drive letter in an attempt to match it to theirs. The reason is, …

Member Avatar for cosmos22
0
148
Member Avatar for MMill2373

I am going to be taking a programing class next semester and I all ready have the book for the class, I am tring to figure things out to get a jump on the class and I have a couple of questions .... I need to come up with a …

Member Avatar for MMill2373
0
100
Member Avatar for ceyesuma

Is there a JavaScript api to look at methods? I googled and I didn't find anything familiar. I am used to the java api.

Member Avatar for Renincuente
0
81
Member Avatar for conklin

program 1: #include <iostream> using namespace std; class person { char name[30]; int age; public: void getdata(void); void putdata(void); }; void person :: getdata(void) { cout << "Enter name"; cin >> name; cout << "Enter age"; cin >> age; } void person :: putdata(void) { cout << "\nName" << name; …

Member Avatar for conklin
0
107
Member Avatar for Jboy05

How do I go about writing a user-defined function named Get_Inputs that when called, the function will prompt for three integers and send these numbers to its calling environment.

Member Avatar for Jboy05
0
105
Member Avatar for d0ugg

Hello All, I'm creating a program that reads a file.dat and I need to input that in a matrix, it can be 2x2,3x3,4x4 or 5x5. I'm not exactly sure how to do that. The file.dat looks like this: 2 1 2 3 5 3 1 3 8 5 7 3 …

Member Avatar for d0ugg
0
247
Member Avatar for farag

If you know a certain c++ library treat with excel sheet with efficient way that can read acertain row or columns Support me by it

Member Avatar for abrou
0
115
Member Avatar for jino

Dear Friends, I am happy to join in this team. I need a help in deciding the best open source PHP editor which supports Linux and windows. The features I am looking for are : User friendly, Syntax helping, display the list of procedures/functions just by typing first letter, auto …

Member Avatar for Dsiembab
0
74
Member Avatar for wollacott

ok i need to do a program that inputs a amount of characters. my program has to capitalize the first letter and and letter after a full stop. any ideas and hints how to do it?

Member Avatar for Dave Sinkula
0
81
Member Avatar for unclepauly

can someone please try and explain something to me... i have 2 functions, lets call them FuncA and FuncB. FuncA calls FuncB, and FuncB does some stuff then simply returns. both functinos are placed in try...catch statements: [CODE] void FuncA() { try { FuncB(); } catch { trace("FuncA caught exception …

Member Avatar for vijayan121
0
112
Member Avatar for ihtraa

we are currently workin on a RFID project and we need to generate the RFID serial numbers which is in a specific format (eg: 0101i0010001). in this the 1st 4 numbers are constant (0101) the next 4 digit numbers are item id which is got from the JSP textbox(i001) the …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for Robtyketto

Greetings, Im a newbie to JSP/Javascript (unfortunalley). However I found enough example to create code that connects to my access db and populates two combo boxes. The selection of the first box is used to populate the second (cascading). See code below, apologies for the formatting as I wrote it …

Member Avatar for ~s.o.s~
0
147
Member Avatar for jrivera

This is Homework. I have been working on a tournament program. Currently the tournament class gets user input and instantiates a player class and a game class. The game class then calls the board class where it instantiates a boardconfig class object. At this point Is where I get my …

Member Avatar for vijayan121
0
102
Member Avatar for cosmos22

I started a windows application, that used the void hide.. function to hide the command window. I compiled it, and it worked. Why is it, that if I compile the source file, and not the project file, it keeps the window open? Dispite the fact the coding is exactly the …

Member Avatar for VernonDozier
0
100
Member Avatar for prushik

I have a triangle in my game, that flies around the screen (like a space ship) I am trying to determine collisions for that triangle based on whether or not the lines intersect. However, I am using OpenGL, so when I rotate this triangle, all I do is make a …

Member Avatar for MattEvans
0
139
Member Avatar for nadith_cs

i'm using visual c++ 2005 and in windows forms app how do i store a respond of a MSG box... the methods given in both MSDN new and the web mSDN doesn't seem to be working.if they worked in ur machine tell me the procedure i have to follow....plz help …

Member Avatar for harryl5
0
161
Member Avatar for tootypegs

hi, i am totally new to this and i would appreciate some advice or if you guys know any articles i could look at to research. I want to create a program that will copy the contents of RAM to another file. I have no idea where to start! It …

Member Avatar for gerard4143
0
84
Member Avatar for TobbeK

I thought this was a simple task to do, but not. I just want the option stay selected when a value from the session variable exists, AND it does after the form has been submitted. So why can't the option value stay selected as long as session is populated. If …

Member Avatar for TobbeK
0
366
Member Avatar for c++ prog

can anyone suggest any website that will help me a lot on creating a simple chatbox? tnx

Member Avatar for Jx_Man
0
306
Member Avatar for Monk_knoM

Hi, I have created a module to calculate a level when given a score. How do I send the calculated level back into my main form? Thanks in advance

Member Avatar for Jx_Man
0
93
Member Avatar for vijaysrivatsa

Hello Friends...we r doin our UG project named Watermarking relational database using optimization based techniques....here we r supposed to use a PJW hash function to encode the values inside a database with the help of a secret key....Can anyone pls explain me the logic for this hash function and i …

Member Avatar for Ezzaral
0
96
Member Avatar for rrocket

What can I do not get this to work in Firefox? [code]document.getElementById("type_" + x).checked[/code] When I used [code]alert(document.getElementById("type_" + x).checked);[/code] to check the value it comes up fine in IE, but I get a "has no properties" error in FireFox.

Member Avatar for Porthos
0
98
Member Avatar for mjmythili

hii all i have loaded an X file in Directx. How to apply textures and materials for that object. plz help. its urgent

Member Avatar for rick222
0
75
Member Avatar for bhuvanee

Please help me.. I ve a problem in integrating Nokia Emulator to Netbeans.. I ve installed s60_3rdEdition_MIDP_SDK..BUT I am unable to add this emulator to Netbeans..can anybody help me.. Regards, Bhuvana

Member Avatar for rick222
0
298
Member Avatar for kv79

Hi all, I am learning VB 6 and i a just a beginner and i need to know some programs who is made it i VB 6 so that i can have a reason why i am learning. If you can send me some pictures or some kind of program …

Member Avatar for choudhuryshouvi
0
195
Member Avatar for filmpotato

I have seen a lot of website that have reviews on products and other things like movies, tv shows, books. I want to know how to do that. Can anybody help me with that?

Member Avatar for SheSaidImaPregy
0
140
Member Avatar for volscolts16

Ok, I am tryin to use the proper coded way that a few of you have asked, so don't yell if I screw up the first time, please. I was able to debug and run, but had many errors, I have fixed several already, biggest problems are that if I …

Member Avatar for Ancient Dragon
0
145
Member Avatar for emilio

hello i would like to perform a method overloading with inheritance my code is : [CODE]public abstract class Shape { protected Point position ; public Shape(int x, int y) { position = new Point(x , y); } public void show() { position.show(); } } public class Rectangle : Shape { …

Member Avatar for Ramy Mahrous
0
122
Member Avatar for sinjix_media

Hi all. I was wondering if anyone can point me in the right direction as to how to create a top navigation like the one on apple.com (the tabs)

Member Avatar for Vai
0
71
Member Avatar for cosmos22

Hello, I would like to pose a very simple question, does anyone know how to clear the command window of text, and give it a name(Eg. Cosmos's Program) I would like to make room for different lines of text in my program, and also give it a name, for obvious …

Member Avatar for cosmos22
0
149
Member Avatar for ankitbullu

What enables C to support variable number of function arguments (varargs), while other languages (like Java) do not support this feature? What is special in C which is not there in Java to support this?

Member Avatar for Narue
0
84
Member Avatar for Oxiegen

Hi, all! I'm trying to send a HttpWebRequest to an url that, other than %20, does not take escaped characters. But for some reason, when I do: [ICODE]_HttpWebRequest = DirectCast(System.Net.HttpWebRequest.Create(New Uri("http://web_address")), System.Net.HttpWebRequest)[/ICODE] I end up with an escaped uri string. For example, a string containing the swedish letters å, ä …

0
301
Member Avatar for Techboy52

//I am passing a hex as a string into a decimal integer and I know Integer.parseInt() is easier but i can not use it. //Look below two areas have illegal start of expression and one with not a statement. public class HexToDecimal { public static void main (String [] args) …

Member Avatar for Techboy52
0
477
Member Avatar for wollacott

[CODE] #include<stdio.h> main() { static int n=0, number=1; int fibi (int n, int number); printf ("Following are the first 40 Numbers of the Fibonacci Series:\n"); printf ("1 "); fib (n,number); } fib (int n, int number) { static int i=1; int fibo; if (i==40) { printf ("\ndone"); } else { …

Member Avatar for pokiri
0
96
Member Avatar for gerard4143

My questions is a simple/hard one, whats a stack on an intel machine? I don't a need lesson on how to use one for I already know how, its just that I really don't know very much about them. Like how come you can automatically allocate memory on them by …

Member Avatar for sanzilla
0
89
Member Avatar for gopi kannan

iam using wamp server 2....i did not give any usernmae or password for connecting sqlserver during the process of installation..now when i tried to connect my database through php script using mysql_connect("localhost","","") iam not getting connected..it displays access denied.. how can i get connected to my database..kindly provide help..

Member Avatar for nav33n
0
75
Member Avatar for Renincuente

Hello all: I'm working on a user control that wraps some of the functionality of the VE maps. It can be "maximized" and "restored" by clicking on an image (just as the middle button of any window does).Initially the map is positioned in any city and can have several pushpins …

Member Avatar for Renincuente
0
89
Member Avatar for aminit

Hello all: I wrote an post ,(how to write to txt file), and this is the link [URL="http://www.daniweb.com/forums/thread107440.html"]http://www.daniweb.com/forums/thread107440.html[/URL] but I wonder how can I write [B]some[/B] of controls of my form to txt file.... Thanks in advance.....

Member Avatar for aminit
0
89

The End.