199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for arunkumars

Hi, Am just breaking my head over this, the problem is to do pixel inversion of an image wen clicked using the button. for example, if there is a bitmap image which reads 'A', then wen the button is clicked over it on run time, the background shud change to …

Member Avatar for sknake
0
178
Member Avatar for nateuni

I have been bashing away at this for hours and am not making any new ground. I have to find the employee that is closest to the all the average. Originally I thought I would just see how far each value was away from the average (eg ageRemainder = averageAge …

Member Avatar for nateuni
0
86
Member Avatar for Muazam

Hey, htmlentities doesn't work in this code of mine, someone know why? Check line 11-14 Thanks. [code]<html> <head> <title> Welcome <?php echo $_GET['name']; ?> </title> </head> <body bgcolor="<?php echo $_GET["favcolor"]; ?>"? <h1> Welcome <?php echo $_GET['name']; ?> </h1> <br /> <?php foreach ($_GET as $key => $verdi) { $verdi = …

Member Avatar for Muazam
0
150
Member Avatar for runee1000

Hi: I'm trying to solve a question as it states: "Create a program which determines if a given number a is a common divisor of two other numbers num1 and num2." I am 100% beginner to Java and just started a couple days ago, so most terms discussed feel quite …

Member Avatar for akulkarni
0
142
Member Avatar for nagatron

hallo to all web developers, I am having this problem. . .what does it mean? This happen everytime I put username and password on my sql database. . .[B]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in C:\xampp\htdocs\sample\index.php on line 2 Access denied for user 'admin'@'localhost' (using …

Member Avatar for nagatron
0
82
Member Avatar for project_java

Hi All, I teach java to 2nd year students who are doing a very basic module on GUI and applets, without any animation etc. I need to give the class an individual mini project. Please could people suggest possible project ideas for a 2nd year CS. The syllabus does not …

Member Avatar for llemes4011
0
87
Member Avatar for Krstevski

Hey people... I have one problem... Find how many total cubes are there in the range from A to B, inclusive. An integer Y is total cube if it can be expressed as: Y = X*X*X, where X is also integer. The first total cubes are: 1, 8, 27, 64 …

Member Avatar for Krstevski
0
101
Member Avatar for Bloubul

I am trying to write a code for the following: Write a Swing program that declares an empty array of grades with a maximum of 50. Implement a JOptionPane input box within a while loop to allow the user to enter the grades using a -1 as a sentinel value. …

Member Avatar for quuba
0
133
Member Avatar for mrnutty

I haven't ever used CLA so I had to ask. For simplicity sake, Say I have a program that takes in at most 5 arguments. The arguments from args[1] - args[4] has to be some numbers. These number will be used for something, say to calculate its average. How could …

Member Avatar for mrnutty
0
173
Member Avatar for serkan sendur

after i delete .cab file located on pc i want to clear the program entry that depends on that .cab from activesync add/remove programs menu. Any ideas? Thanks.

Member Avatar for DdoubleD
0
90
Member Avatar for oufa
Member Avatar for NotNull
0
73
Member Avatar for squallgoh

Hi all. I'm new to the forum, this is my first post =) I'm trying to create a list containing 3^10 lists, each list has 10 string. Each string can be of 1 or 3 types, for simplicity let them be 'a', 'b','c'. So basically I wish to generate all …

Member Avatar for squallgoh
0
142
Member Avatar for francis123

Hello! everyone out there! I am having a table that looks like this in phpmyadmin ....................................................................................................... . id . fname . lname . user_id . trackdate . country . ....................................................................................................... . 1 . Jonh . Mark . 10 . 21 . USA . . 2 . Frank . Yank . …

Member Avatar for francis123
0
102
Member Avatar for xenocide001

hi all i have some homework that i cant finish cuz i dont know how to print it the way my teacher wants it.. here's the thing *Print this in debugger [CODE] hello . . . 25 times[/CODE] in the right of the screen.... this is what i have so …

Member Avatar for xenocide001
0
215
Member Avatar for daviscooper

- I've used DevExpress Components to develop my App. There's problem when user attach their image to database: it's so big. Of course, it influences my database speed. - Please instruct me some solution to solve them?

Member Avatar for FlamingClaw
0
78
Member Avatar for ned69

I have a joke script which currently displays a new joke each day and I want to change it to where it displays one every week. I keep getting the SQL error below but when I run it in phpMyAdmin it works just fine. Most likely some little thing which …

Member Avatar for ned69
0
130
Member Avatar for mahela007

I'm trying to develop a simple script that will keep the scores of a cricket match. In my script I want the __init__ method on one class to create an object of another class. here's an example. [code=python] class Person: def __init__(self,name): self.name = name class clubMember: def __init__(self,name): New_clubmember …

Member Avatar for vegaseat
0
200
Member Avatar for click here

hi i use cookies in my site setcookie("user","id-pass",time()+(60*60*24)); it work well but when i try to logout make setcookie('user', '', time() -(60*60*24)); its not work iam tried setcookie('user', ' ', time() -(60*60*24)); not work tried unset($_COOKIES['user']) not work tried replace it not work too iam tried every thing

Member Avatar for click here
0
98
Member Avatar for chathuD

I need to make a panal in a form to be visibale=falls in a one button click.and the next button click of the same button must be make the panel visibal = falls. and this is continuing. can some 1 help me..

Member Avatar for parthmishra
0
133
Member Avatar for jBat

Hi, I don't know why the member variable of my class is getting a wrong value. I just want to copy a char array to member variable that is also a char array. What is wrong? Thanks! [CODE]// constructor filewatcher::filewatcher(char filename[]) { // filename to watch strcpy(this->_filename, filename); }[/CODE]

Member Avatar for jBat
0
76
Member Avatar for foosion

Why does this make sense in 3.1? [code]>>> a = b'\x01\x02' >>> a[0] 1 >>> a[0:1] b'\x01' >>> a[0] == a[0:1] False >>> a = '\x01\x02' >>> a[0] '\x01' >>> a[0:1] '\x01' >>> a[0] == a[0:1] True[/code] Shouldn't we get True for both comparisons?

Member Avatar for foosion
0
205
Member Avatar for sarithak

Hi frnds... i have to do resume uploading to email...plz give me the code for uploading resume to email.. i know the code for sending email..but dont know how to do the attachement....plz tell me... this is my code(this code only 4 mail..not 4 attachment)...plz change this code for attachment... …

Member Avatar for ivatanako
0
93
Member Avatar for thenewbie

so here the thing im practicing c++ just started all this is in cmd :P and im making combat simulator as of a project on another forum that i guesed good practice so im doing it but i decided to make 3 classes :archer , mage , barb and i …

Member Avatar for DarthPJB
0
152
Member Avatar for adcodingmaster

hi guys can any one tell me the difference in architecture of dual core and core-2-duo processor? which one is better? plz reply to both the questions. thnx

Member Avatar for Salem
0
357
Member Avatar for Susan.LK

I have a login form which redirects the user to a new page if the form is submitted, however it does not show the error messages on the same page as the form. Currently if nothing is typed in user or passwords fields, the same page is relaoded process2.php showing …

Member Avatar for Susan.LK
0
128
Member Avatar for RehabReda

hi guys:) i have a big problem:-/ now i have a program that have a client class and model (in mvc) then the problem is that 1-i want the client when something comes from server to inform the model 2-i want the model if any change has been made in …

Member Avatar for RehabReda
0
94
Member Avatar for vssp

Hai friends I need one clarification for cookies . How to distroy the cookies using php . Please help me Thanks vssp

Member Avatar for click here
0
1K
Member Avatar for kz07

Is there any way to convert String s = "1234" to int s[4] = {1,2,3,4}? and how can i check if it does not contain any non-numeric characters? thanks=)

Member Avatar for kz07
0
5K
Member Avatar for tate-u

Can someone help and show me how to display using (VB.net) these two tables combined into one. I'm really struggling trying to figure this out after hours of work, I decided its time to ask for help! So in SQL Server 2005 I have the following tables... [B]Students[/B] PKId Cart_Id …

Member Avatar for padtes
0
157
Member Avatar for dasatti

The scenerio is that I have different type of drawing components on drawing area. In menu I have some combo boxes which apply different properties on these objects. and also add a new UndoableEdit to the UndoManager. Anybody worked with the swing's undo package will get the idea. This way …

Member Avatar for designpattern
0
154
Member Avatar for vanalex

Hello everybody! I want to write a program in c that has to open a file (a c program) and count how many char or double declarations have been made in it, so as to calculate the amount of memory that char and double data types will occupy in memory. …

Member Avatar for Protuberance
0
187
Member Avatar for foraswim

. . . . . . . Hi, I am as they say a beginner I need to create a pointer to a linked list as a member variable. I have to tried todo this a number of ways but i dont think i understand the terminology. i have a …

Member Avatar for VernonDozier
0
124
Member Avatar for rp_prasanna

i have a Struts jsp which creates a textbox dynamically using javascript. function addRow_msgField() { var id =0; var table = document.getElementById("msgfield"); var id = table.rows.length-1; var newRow = document.all("msgfield").insertRow(); var oCell = newRow.insertCell(); oCell.innerHTML = "<input type='text' name=alertFieldName"+id+" class='textBoxStyle' size='12' maxlength='50'/>"; oCell.style.verticalAlign = "top"; id++; } My table design …

Member Avatar for mamatachaudhari
0
111
Member Avatar for ivatanako

hi, i know this is a basic question and i have tried searching GOOGLE but it does not solve my problem. I have a array which is declared as [code] int frameScores[]; [/code] but when i tried to get its size after adding elements by using sizeof, i get a …

Member Avatar for Salem
0
227
Member Avatar for NguyenThai

Hello. My project required me to search the record inside the database. What I mean is I save the text field of a session like Session["Example"] = "ex". Then using this session to search inside the field of table of SQLDataSource. If the session match the field, then display the …

Member Avatar for reach_yousuf
0
117
Member Avatar for pinsickle

Hello, To start thanks in advance for any help. Now I will note this question is about homework so I just want help to get started not everything laid out for me. Ok here is the deal. I have a class called StudentArrayV4, it is a dynamic array of pointers. …

Member Avatar for pinsickle
0
157
Member Avatar for ganesh.guddu

Hi all, I have two Java Classes as follows : [CODE]public class A { public int a =5; }[/CODE] and -- [CODE]public class B { public static void main(String[] args) { System.out.println(new A().a); } } [/CODE] Now i want to generate a log file (when the execution of main() method …

Member Avatar for ganesh.guddu
0
81
Member Avatar for weblover

hi all ..how are u? i have a problem and i need ur help plz ...i downloaded Apache2.2 server and php 5.3 and now i'm downloading mysql5.1.37 ...but there is a problem ..when i start the Mysql Server Instance Configuration wizard it tells me to choose between 2 version ..and …

Member Avatar for vincent2085
0
132
Member Avatar for smco9

This is suppose to be a simple selection sort but I think I'm missing something because my output isn't completed sorted right. [CODE]void SelectionSort(data list[], int length) { int index; int smallestIndex; int minIndex; data temp; for( index = 0; index < length; index++) { smallestIndex = index; for(minIndex = …

Member Avatar for vincent2085
0
189
Member Avatar for riahc3

Hey I was wondering how I could port and comply a Linux application to run it under Windows? The application I want to port is Cheese.

Member Avatar for vincent2085
0
138
Member Avatar for corybaxter

Hello Can somebody teach me how to develop an application??? write me Thanks

Member Avatar for vincent2085
0
80
Member Avatar for Robes

Hello. I have been working on a program that deals with array of structures. In this function, category report, i'm taking my structure and reading it through the a loop. Specifically, i'm reading category and price. In that loop there's a loop for the five categories. Basically, when it finds …

Member Avatar for VernonDozier
0
94
Member Avatar for betatype

I know this is a somewhat strange request and is probably not feasable, but I thought I would ask anyway :) I have a form, and on the final page of the form it displays all of the results of the user's entries. The problem is some of these results …

Member Avatar for cwarn23
0
129
Member Avatar for valonesal

What I am trying to achieve is to have a line text change when a page is refreshed or at a set interval like every 15 seconds. I know this is easy with javascript but I really don't want to use javascript. I wrote a simple snippet that does this …

Member Avatar for cwarn23
0
112
Member Avatar for sixstorm1

Hi all, I am trying to use some APIs found in dwmapi.dll (like DwmExtendFrameIntoClientArea), but I have some problems. If I include dwmapi.lib in the dll include list, the the app works fine on Vista, but doesn't want to run on XP since dwmapi.dll is obviously missing. I tried the …

0
121
Member Avatar for sarithak

Hi frnds.. I have to do Forum 4 my website.... It looks like [CODE]forums.digitalpoint.com www.nagfans.com [/CODE] By using which forums???

Member Avatar for cwarn23
0
2K
Member Avatar for Zack_G

Hi, I am trying to find the sum of product's weight and can't seam to find anything that can help. I have included my code snippet below. $totalweight = 0; foreach($_SESSION['ddc']['productsincart'] as $key => $value) { $sql = "SELECT * FROM ddcart_products WHERE id = '".$key."'"; $result = mysql_query($sql); $data …

Member Avatar for digital-ether
0
112
Member Avatar for Aamit

Hi, I want to find random string between main string. Suppose [COLOR="Green"]$string="Sign up for Facebook to connect with Jean Profession";[/COLOR] I want do that .. [COLOR="Red"] random word who having length greater than 4 and word not equal to Facebook.[/COLOR] How to do this??

Member Avatar for cwarn23
0
132
Member Avatar for mrbillbenson

Wikipedia has most movies well sussed; I would like to take an excel list of movies, call up wiki page using System.Diagnostics.Process.Start("http://www.wikipedia.org/") System.Windows.Forms.SendKeys.Send("Moonraker") System.Windows.Forms.SendKeys.Send("{Enter}") , use sendkeys to enter the name of the movie from the excel list into Wiki's default search text field and {Enter} to launch. What I …

Member Avatar for mrbillbenson
0
154
Member Avatar for S.A.H

hi every body , I want to write a program with vb.net about calculating the GPA in my program I'll ask the user to Enter the number of courses then I'll Generate ComboBox(s) by the number of courses ... So How can I do the dynamic Generate of the combobox …

Member Avatar for S.A.H
0
110

The End.