199,114 Archived Topics
Remove Filter ![]() | |
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', … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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]; … | |
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 … | |
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 … | |
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 :'( | |
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(); … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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 … ![]() | |
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 … | |
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= … | |
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 | |
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 … | |
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()) != … | |
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... … | |
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); … | |
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. … | |
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: … | |
<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 … | |
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 … | |
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 … | |
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. … | |
![]() | 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 … |
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 … | |
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 … | |
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"); … ![]() | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 |
The End.