199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ShinyEdge

Hi, I have a problem with jquery callback. The callback is executed before the fadeIn animation is completed. What im trying to do is, I want to replace an existing image with a new image and resize the new image to a specific size. [CODE] var filepath = "images/test.jpg"; $('#imagewrap').css('background-image', …

Member Avatar for ShinyEdge
0
223
Member Avatar for jairuz21

Hi, Can anyone help me in showing multiple items from listview to my crystal report. Or something like after searching some items, the results are the one to be displayed in crystal report. I don't have any codes yet. I'm using OLE DB Connection. Any help would be appreciated. Thank …

Member Avatar for jairuz21
0
968
Member Avatar for xcrypted1

Hi everyone, I am working on a problem as follows: Write a program that draws a circle with radius 100 and center (200, 200). Ask the user to specify the x- and y-coordinates of a point. Draw the point as a small circle. If the point lies inside the circle, …

Member Avatar for xcrypted1
0
2K
Member Avatar for dcalladi

Hi Guys, I'm looking the syntax for a input mask that will allow me to input 1.23, 12.34, 123.45 into the JFormattedTextField i found something like ###.## but that doesn't work but something like ###-## wud work. just wondering if anyone knows how to do this with a mask or …

Member Avatar for mKorbel
0
352
Member Avatar for bry090911

by the way. this is now my problem. THIS IS FOR TIME IN... [CODE]Private Sub cmdIN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdIN.Click lblempno.Text = txtempno.Text lblIN.Text = lbltime.Text & lbldate.Text MsgBox("Log in successful!", vbInformation) lv = ListView1.Items.Add(lbltime.Text) txtempno.Text = "" txtempno.Focus() End Sub[/CODE] THIS IS FOR TIME …

Member Avatar for Reverend Jim
0
124
Member Avatar for Labdabeta

I am getting ready to write a programming competition on Tuesday (the Canadian Computing Competition) and I remember that last year it said that only standard libraries can be used. I was having trouble deciding which libraries are standard. I ended up using windows.h and when I suddenly realized that …

Member Avatar for Labdabeta
0
192
Member Avatar for eduard77

I am trying to install pyrus.phar from the command line but I keep on receiving the next error. c:/www/wamp/bin/php/php5.3.8 php pyrus.phar You must compile PHP with the following extensions enabled: sqlite3 or install the necessary extensions for your distribution. I checked the php.ini file and the sqlite3 is enabled. I …

Member Avatar for eduard77
0
111
Member Avatar for lassy85

Can anyone assist me with the GUI for this program. I have tried several times will little luck. Here is the source code. Any help would be greatly appreciated. [CODE]import java.text.DecimalFormat; import javax.swing.JFrame; public class Inventory1 { public static void main(String[] args) { // Information on the Cds used Cd …

Member Avatar for lassy85
0
177
Member Avatar for GimmeClassic

I'm new to .NET and having a difficult time deciphering when to use namespaces and where to place "using" clauses. For this one project, I'm trying to develop a .NET page within a web application that has 99% of the pages written in Classic ASP. I started by creating a …

Member Avatar for hericles
0
258
Member Avatar for java_programmer

I am trying to write a shell script which will read a file and counts the number of vowels in the file. The code which read the file is as follows - [CODE]while read -n 1 c do l=$(echo $c | tr [:upper:] [:lower:]) [[ "$l" == "a" || "$l" …

Member Avatar for java_programmer
0
193
Member Avatar for jeffrey o

when i compiple this using rmiregistry, javac for HelloServer2 and HelloClient it says: I've attached all files as well java.rmi.NotBoundException: ReceiveMessageInterface <<No stacktrace available>> [CODE] import java.rmi.*; import java.rmi.registry.*; import java.rmi.server.*; import java.net.*; import java.util.Random; public class HelloServer2 extends java.rmi.server.UnicastRemoteObject implements ReceiveMessageInterface { String address; Registry registry; int a[]=new int[6]; …

0
140
Member Avatar for delgadough

Hey all, I am working on my first C++ prog and I'm having an issue on my output. I compiled the code ok but when i try to execute, the output comes up with weird numbers and letters where it is supposed to display the "photos in"[CODE]// Name: Danny Delgado …

Member Avatar for delgadough
0
114
Member Avatar for MrEARTHSHAcKER

Hi, I am learning templates so I have one question for this code: [CODE]template<typename T, int Number> class Data{ T Array[Number]; public: T& operator[](int); }; template <typename T,int Number> T& Data<T,Number>::operator[](int element){ return Array[element]; }[/CODE] I wish to create specialization for that class template, for any random data type, but …

Member Avatar for MrEARTHSHAcKER
0
924
Member Avatar for amm038

hi all i want your help plz am working on a news website and i want a way or code to let the visitors add comments on any news am using asp.net with c# plz help :'(

Member Avatar for amm038
0
114
Member Avatar for mfcdoubt

I have following header file defines test2.h ----------> header file template<class T> class temp2 { public: temp2(); virtual ~temp2(); }; test1.h ----------> header file template<class T> class temp1 { public: temp1(temp2<T> (temp2<T> *temp2ptr); ~temp1(temp2<T> (); protected: temp2<T> *tempptr; }; test3.h -------------> header file class test3 { public: test3(); virtual ~test3(); …

Member Avatar for huda_7978
0
3K
Member Avatar for RFID

Hey, So I'm working on a pretty basic program to help me get accustomed to classes, private variables and arrays. I need to hold the data for 5 individuals such as name address email etc. These are held in my PersonClass and are private strings. I access these strings using …

Member Avatar for dwarvenassassin
0
194
Member Avatar for sidra 100

hey m making a website which use to tel the daily report. there are many other functionalities as well. i have three tables concerned with this problem 1. shift 2. molding section 3. intermediate store on the basis of date and shift num, shift ids are assigned now i want …

Member Avatar for sidra 100
0
112
Member Avatar for Syrne

Hi there, so I'm currently studying Java at my University and as of right now we're working on Linked Lists, Array lists, Array Deques, etc. As part of this lesson, we're being told to write our own versions, both recursive and iterative, of the predefined java functions for its corresponding …

Member Avatar for hfx642
0
226
Member Avatar for ads1188

Hi all, I am new to programming and having been experimenting various codes recently. I have managed to link 2 form so that when i click a button on Form1, Form2 opens. I am using the code [CODE]Form2^open2 = gcnew Form2(); open2->Show();[/CODE] This codes work fine. Is there a way …

Member Avatar for ads1188
0
113
Member Avatar for Murphyv10

Hello all. Can i get some help with my homework please. Im quite literally staring at a blan screen with very little done. Ive been quite sick recently and lost ground with the class. Ive watched You Tube videos and read oop books but to avail. I have to make …

Member Avatar for hfx642
0
84
Member Avatar for AbdullahJava

I don't know why it doesn't compile ! ! [CODE] import java.util.Scanner; public class Beach { public static void main (String [] args) { Scanner input = new Scanner (System.in); System.out.println("Enter the weather Hot or Cold"); String A; A = input.next(); System.out.println("Enter the type of day Sunny or Windy or …

Member Avatar for Philippe.Lahaie
0
87
Member Avatar for infamous1987

One way to measure the amount of energy that is expended during exercise is to use metabolic equivalents (MET). Here are some METS for various activities; Running 6 MPH: 10 METS Basketball: 8 METS Sleeping: MET The number of calories burned per minute may be estimated using the formula Calories/Minute= …

Member Avatar for Software guy
0
1K
Member Avatar for moone009

I've been putzing around with this for awhile but I need to delete column B (minus the header) when ever it is empty. Does anyone have any idea on how to do this. If xlWorkSheet.Range("B2:B65565").Value = "" Then Dim rg As Excel.Range = xlWorkSheet.Columns("B") rg.Select() rg.Delete() End If

Member Avatar for moone009
0
212
Member Avatar for Kanoisa

Hi all, I have started finding lots of uses for abstract classes to define interfaces for common functionality using polymorphism and i know that using polymorphism and virtual functions incurrs some additional call cost of functions. So what im wondering is can i get the best of both worlds? consider …

Member Avatar for Kanoisa
0
197
Member Avatar for manoj_93

I am trying to calculate the number of code points that are present in a file, but it always showing me the number of characters being used. I am using string buffer to read the file, so I come to this part f d code [code]while ((sCurrentLine = br.readLine()) != …

Member Avatar for ~s.o.s~
0
121
Member Avatar for Awah Mohamed

Hi guys, how are you? Well, i have my science fair soon and i want to build a software that can copy any given file to any removable device that gets connected to the computer it is running on.. But the problem is i dont know how to do this... …

Member Avatar for BobS0327
0
996
Member Avatar for nilay84

Can anyone figure out why the following code is not showing the menubar when it is run in eclipse. import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.*; public class MenuExample { Display display; Shell shell; Menu menu, fileMenu, editMenu,viewMenu; public MenuExample() { display = new Display(); shell = new Shell(display); shell.setText("Menu Example"); shell.setSize(300, 400); …

Member Avatar for FALL3N
0
380
Member Avatar for minimee120

Hi all. I have an up and coming midterm, and this is one of the practice problems. All's I need to do is draw a Tic-Tac-Toe board in TURTLE. However, it has to be in a loop, or something, and I am having a difficult time putting it into one. …

Member Avatar for minimee120
0
164
Member Avatar for nuclear

I'm trying to use Box2D lib with SDL lib. NOTE that I only get the errors below after I link in SDL too. I think i link everything accordingly but in the end when I write up some code i get errors like: 1>------ Build started: Project: box2d test2, Configuration: …

Member Avatar for Ab000dy_85
0
546
Member Avatar for vizz

<script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js"> </script> [CODE] <ul id="navlist"> <li><a href="home">Home</a></li> <li><a href="contact">Contact Us</a></li> <li><a href="about">About Us</a></li> </ul> [/CODE] [CODE] #content{ width: 100%; height:350px; display: none; background: orange; position: absolute; left: 0px; bottom: 0;} [/CODE] [CODE] <script type='text/javascript'> $(document).ready(function(){ $('#navlist li a').click(function(){ $('#content').hide("slide", { direction: "down" }, 900); var …

Member Avatar for vizz
0
124
Member Avatar for D19ERY

write, compile and test a short program to read in a list of 10 positive numbers which also determines and prints out the largest number. here's what i've got so far. but how do i change it in order for it to accept a positive number only? [CODE]using System; using …

Member Avatar for skatamatic
0
143
Member Avatar for clapton

Hi. I'm a student and I need write a programe bank application in java . I must write a program that the customer could withdraw and deposit from his account.I need a few class? my professor said me that it's very simple but it's dificullte for me. you can help …

Member Avatar for stultuske
0
201
Member Avatar for doublebond

Hi Guys, I have an issue with my program. I am trying to implement bitonic sort parallel algorithm using MPI. The issue is like i am able to sort upto 1000000 array elements.. but, if i increase it to 10000000 or 100000000 the processors are not able to handle it. …

Member Avatar for giomal
0
1K
Member Avatar for vijiraghs

I am writing a simple program where i have a HTML page that gets the username and password from the user and sends it to a PHP page. The PHP page connects to an MS access database and retrieves the stored password, compares it with the password given by the …

Member Avatar for pritaeas
0
3K
Member Avatar for ngagne

Hi guys, I've been a longtime reader here for a while, but this is my first post. I just submitted a game I've been working on for the past month, called Labyrinth of Zarus, to the Pokki HTML 5 game contest. I'm in the running to win a laptop and …

Member Avatar for ngagne
0
201
Member Avatar for svbs

hi friends i have following code to stop resizing windows form. lStyle = GetWindowLong(Form1.hwnd, GWL_STYLE) lStyle = lStyle And Not WS_THICKFRAME Call SetWindowLong(Form1.hwnd, GWL_STYLE, lStyle) i have a image on form as background. this code i ok, but the problem is when is when i click on the title bar …

Member Avatar for abelingaw
0
69
Member Avatar for softDeveloper

Hi all, I'm using google chrome as client of my web application. If I open it with mozilla or ie it won't work 100% all application features. Does anybody know the differences concerning iframes and document selection for example in the following lines of code: [CODE] self.parent.iframe[i].getSelection().getRangeAt(0); map = document.createElement("map"); …

Member Avatar for stbuchok
0
138
Member Avatar for boot-baby-boot

Hello,i have the following html page. [CODE]<html> <head> </head> <body> <div class="container"> <div class="8"> <?php $firstname['1']; ?> </div> <div class="8"> <?php $firstname['2']; ?> </div> <div class="8 last"> <?php $firstname['3']; ?> </div> <div class="8"> <?php $firstname['4']; ?> </div> <div class="8"> <?php $firstname['5']; ?> </div> <div class="8 last"> <?php $firstname['6']; ?> </div> …

Member Avatar for boot-baby-boot
0
144
Member Avatar for jarograv

I currently have this code: [CODE]import java.util.Random; import java.io.*; public class randomdwarf { public static void main(String[]args)throws IOException { String dwarves[]= {"Dopey", "Sneezy", "Happy", "Sleepy", "Grumpy", "Bashful", "Doc"}; Random generator = new Random(); int randomIndex = generator.nextInt( 7 ); System.out.println(dwarves[randomIndex]); Runtime.getRuntime().exec("H:\\Profile\\Desktop\\dwarves\\Doc.jpeg"); } }[/CODE] It is a very simple code that …

Member Avatar for Philippe.Lahaie
0
191
Member Avatar for rutwvu

I am currently working on implementing an operating system in turbo c which uses c as the programming language. For this project we must implement pagination. I have absolutely no idea how to do this in c and most web results are for web pages using mySQL or java or …

Member Avatar for rubberman
0
207
Member Avatar for geojia

Hi gurus, this is a homework assignment on finding all closest pairs. I used a quad tree for my algorithm and its running time is compared to the naive algorithm. (I didn't use the java quad tree because I didn't know it existed...) My problem right now is that after …

Member Avatar for rubberman
0
218
Member Avatar for ShadyTyrant

I am developing a website that will host lots of user information. Things like avatar images, personal information, information about the users skills, etc. I will also be implementing a forum at some point. I am using a MySql db just to be clear. Ok now, I need some ideas …

Member Avatar for seslie
0
154
Member Avatar for herious89

Hi im trying to calculate the constant e, this is my codes, the program doesnt output correct value, im new to java, please help [CODE]import java.util.Scanner; public class calculateE { public static long factorial( int n ) { if( n <= 1 ) // base case return 1; else return …

Member Avatar for rubberman
0
364
Member Avatar for adityamadhira

HI I have a drop down box after selecting it page must be refreshed and it must show the selected value. How to do it example I select one item in a dropdown and page must be refresh and show the selected value in drop down after refresh? thanks

Member Avatar for diafol
0
2K
Member Avatar for Suzie999

Hi all, hope you are well. I'm having some trouble trying to convert the literal value of a hex number to int. I say literal but I'm not sure if that is the correct term, but my code will explain better I hope. I have simplified the code down to …

Member Avatar for Moschops
0
433
Member Avatar for freedomflyer

Hello everyone. I have a TreeSet<State> that I want to iterator over in order to change the States within the TreeSet (more specifically, a private subclass within each state). However, I will most likely run into problems as I do something like this, or something to this effect: [CODE]for(State s …

Member Avatar for freedomflyer
0
1K
Member Avatar for nine9hours

Hi. I have made a simple testing program which I'll use in another program later. I create the items of the QListWidget through looping and now I want to make changes in one of the items of the list, which the user clicks. But when I call a fucntion to …

Member Avatar for nine9hours
0
996
Member Avatar for SAM2012

I am new to this forum. I need help in defining the same kind of function according to my requirements. as [url]http://www.codeproject.com/Articles/1088/Wildcard-string-compare-globbing[/url] I hope, I 'll get good response. Words are strings which are separated by dots. Two additional characters are also valid i.e:The *, which matches 1 word and …

Member Avatar for deceptikon
0
202
Member Avatar for seslie

Hello Everyone, Hi, just started learning c# recently although i've known the basics for a while now. I am required to start creating plugins for a particular program. Please, i need help, materials sources, exercises and projects that would help me get familiar with developing plugins as soon as possible. …

Member Avatar for seslie
0
94
Member Avatar for ali.alipanahi

hi i want to bind data form data set into datagird view columns but i can't is there some one to help me pleaaaaaaaaaaaaaaaasssssssssssssssssseeeee

Member Avatar for ali.alipanahi
0
159

The End.