199,114 Archived Topics
Remove Filter ![]() | |
I have made the JButtons just like Keyboard, which when the user type, then what he/she typed must be displayed on the textfield. And as the user press the keyboard, the colour of keys on the screen should be changed then go back to the original colour when the key … | |
Hello I have a class with an sql statement to return a list of customers from a postcode search from a database. Then on my form I am attempting to return a sorted list of these customers into a list box for selection. Could someone please tell me how to … | |
I had posted this before. But I am more on the right track. The places that I need help with have something saying like "need something here" or "need to fix the way it is displaying" I can't figure it out. I also am not sure if the multiplication portion … | |
Hello, I currently have 2 JFrames for my "game" (Not really a good one), one for the actual game and one for a minimap. What I can't figure out is that when you click off the game (for example to a browser or something) the game and minimap loose focus, … | |
Hi, I want to download multiple files from the server/web to the folder I choose before (I already know the exactly link and know parser), but I don't know how to "download a file" with Perl. So, anyone helps me how to download file with Perl (give me detail about … | |
I have two buttons in an asp.net web page, this buttons are the asp.net control buttons and are not a part of a form, basically I just modify the on click event in the code behind page, the thing is that when I hit enter one buttons is pressed but … | |
Hi All I have to tried to connect MySQL with remote databases(GT.M)i can successfully communicate with remote database and after a specific period of time i face the following error message [B] "ERROR 1296 (HY000): Got error 1 'No response' from remote host". [/B] can anyone guide me what kind … | |
Hi please help. Any help would be appreciated :D I have to write a program to read data from a large text file, analyze it, and output the results of the analysis to a data file. there are two data files to process. Problem: Using airborne sensors that record GPS … | |
Hi all, I'm stumped and can't seem to find an answer on Google. I am running a java application through Eclipse and it connects to mysql. It connects fine if I run it through Eclipse but if I make a standalone jar file and then run it through Window's Vista … | |
HI! I have a php page. There are music names (they are in array). I want to make a search script. This script must find what someone writes. But if user made mistake while writing, it must find similar music names. Is this possible, or I must use mysql? | |
Hello all, I have three table name with same data structure. So, I want to insert my data through store procedure by passing table name as variable with my data. Is it possible? Thanking You. Hakoo Desai. | |
i want to take text from <li> selected from user as cookie value.. but help me to set [B]Var[/B] [I]selected [/I] as cookie value please suggest correction in this code [CODE] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jcookie.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("li").click(function() { var selected = $(this).html(); }); $.cookie("selection",selected); alert($.cookie("example")); }); … | |
When i do refresh in php, the data in iframe become blank. How i still get the search results in iframe after press "refresh" button? Thanks! In the iframe, it just like the search information php [CODE] <iframe width="650" height="400" frameborder="0" scrolling="yes" copyhistory="yes" name="Shopping" src="http://localhost/search.php" ></iframe> [/CODE] | |
Hi all.. I am working on a website which require me to handle the image uploading and retrieval. This website is some kind like an image gallery. Straight to the point, i am having trouble in retrieving the last image to be displayed on my view.Clearly to be said, i … | |
Thanks for reading. I installed VS2010 after a drive crash, prior I had VS2005 and everything was fine. Now on compiling a C++ app that was fine previously I am seeing a couple of errors which I just cannot figure out. Error 1 error C1189: #error : This file requires … | |
how can i know what type of drivers are used..type1 type2 type3 type3 type 4 ..some guys in my class do that..by just looking at these two statements...help me ..;) [CODE]Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn = DriverManager.getConnection("jdbc:odbc:bike","scott","tiger");[/CODE] | |
Hello, I currently have this code to buffer an image: [CODE] public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D) g; ImageIcon icon = new ImageIcon("back.gif"); Image image = icon.getImage(); BufferedImage buff = new BufferedImage(image.getWidth(this), image.getHeight(this), BufferedImage.TYPE_INT_ARGB); Graphics2D b = (Graphics2D) buff.createGraphics(); b.drawImage(image,imgX,imgY,this); b.setColor(Color.BLUE); b.fillRect((window.getWidth()/2)-13, (window.getHeight()/2)-13, 26, 26); g2.drawImage(buff, 0, 0, … | |
I have two functions. One is supposed to fill in an array, and the other takes that new array, finds the lowest number in that array, and prints the subscript. int getNumAccidents(int acc[], const int size); [B]Fills array num_acc[][/B] int findLowest(int acc[], const int size); [B]Takes num_acc[], finds lowest value … | |
Hi Everyone, Can you reply with a tutorial and maybe a sample project that can be downloaded that shows how to update a database such as MS Access from DataAdapter commands in which changes are made in a DataGridView? For example, the DataAdapter contains 2 tables called FirstTable and the … | |
hi all and thanks for reading. Personally i thought i wouldnt be in the frame of putting up one of my assignments, as i can see where an opinion might be formed, over me trying to pull as fast one and get someone to code this for me etcetc etc..... … | |
Hi all, hope someone can help here, i cant seem to get this to compile. maybe im tired and have not looked at it, but its a bit like blind leading blind etc, meaning not sure what the error is referring to, i have enclosed an attachment image of the … | |
I am trying to write a C++ program that will list the perfect numbers between 1 and 1000. I also have to print the divisors to confirm the number is perfect. I started by trying to find the perfect numbers. Here is my code. Please help. #include <iostream> using std::cout; … | |
Dear all this program create a linked list of numbers while you dont enter 0. then bubble sort function is called and finally display function shows sorted list. I wrote it by Borland 5.02 . Have a good time! | |
Anyone know what association is in C#. Someone I know is mentioning it and I cannot think what it is. The only thing I can think of is it being a 'has a' relationship e.g... [CODE] class Student : BankAccount { } [/CODE] Even still..this would still be coded in … | |
Hi, I am new at php so please I beg of you to go easy on me., I have looked on the site and read many tutorials but I am trying to understand the following: When I call session_start() at the beginning of a page a file gets saved to … ![]() | |
hello, i am using the Graphics.DrawLine method in C# and this is fine for thin lines but for thick lines it draws really badly. i have sample code to reproduce the problem below. just create a new c# forms application and add a picture box to the form. make the … | |
I started learning assembly today and I copied and pasted a program that displays hello world. I tried to modify it to use C function system("PAUSE") and I made this: [CODE][section .data] hello: db 'Hello, world!',10,0 pause: db 'PAUSE',10,0 [section .text] global _main extern _printf extern _system _main: push hello … | |
Hi Guys, Can you please let me know if there is a sql command to list PK , Child and Parent of an identical table in oracle? Lets say I have a table called City , how can I get those information using SQL? Thanks ![]() | |
Hey bit stuck trying to make a Factory which creates multiple objects e.g. I want 10 rabbits, 6 foxes, 4 dogs + more animals instead of three for loops like this one for(int i = 0; i < foxCount; i++) { Fox fox = new Fox(); } Is there a … | |
Does anyone here know what is wrong with my code here? I am trying to write a c# library for use in VB6. I think I have tried just about everything on google and still continue to get the message "ActiveX component can't create object". I am a total VB6 … | |
hi i am new to java applets...i am making an digital clock...this is my code...my prob is time doesn't change automatically....it has to be refreshed...pls see [CODE]package jas; import java.applet.Applet; import java.awt.*; import java.util.*; public class sd extends Applet implements Runnable { String am_pm="Time is "; Thread t=null; int state; … | |
I have to write this code for my homework assignment. I am in an introductory C++ class, VERY introductory. We had to write a blackjack game, but follow the book at the same time, I know there are many easier ways to do the things my code says, but we … | |
I have a problem that I am having trouble solving. I have a string of undefined length containing '0' or '1'. I need to convert this string to decimal... but I CANNOT store it in anything but another string. My issue is how to do this?! I have been thinking … | |
Greetings ! I am trying to develop a website, much like hotornot.com, but a little simpler. The idea is: - The visitor comes to my site and selects a category, then he is presented with various images which he can rate. He can rate the images without leaving the same … ![]() | |
Hello guys I have spend nearly whole day to find this answer .. All i want to know , is what is an equivalent for this two simple to use functions from C . In C this is very easy , and i believe that user friendly Java will make … | |
![]() | Hi, I'm currently looking at password hashing and from what I've read so far, it seems pretty pointless. I read this [URL="http://phpsec.org/articles/2005/password-hashing.html"]article[/URL] which recommends using MD5 or SHA-1, however I Googled for decrypters and found them witin the first 3 results on Google. I don't quite understand the purpose of … ![]() |
Hello, I have a xsl file Here I have the HTML code to display a webpage, inside i have a table that fills the rows with data from an XML file. I created a link that has the href attribute filled with data from an element in the XML file. … | |
I'm using mysql 5.5.9 I used create database query to create a new database but this new database is not coming in mysql.db table can anyone tell me the reason y and even how to get the database in that table. | |
I have a PHP script running in the background that's in the cron to perform specific tasks on a daily basis. When it's completed it's daily tasks, I want to be able to start a 2nd PHP script, but not exactly sure how to go about it. This 2nd script … | |
Here is the prompt of what I have to do: Overview In this assignment, implement a class called Complex, which will be used to represent a complex number. A complex number is one that is comprised of a real part and an imaginary part. It is typically represented in the … | |
Hey I have a button that when clicked add some pictureboxes and labels on a panel named "hold" Now when I change some values and reclick this button I need the old controls to be removed before drawing new ones. So I added this code at the start of the … | |
Hello everyone I have the following situation with the background worker and hope someone can help me with this. 1.- i have a form and in that form I have the background worker. the methods doWork, Progresschanged, Runworklercompleted are in the form. 2.- when i star doWork, it executes a … | |
Hi, I am new to MySQL scripting. I used tee command to append my logs. But I wanted the log file to be cleared every time i execute the script. Is there any command to do that? Thanks Shiny | |
I'm trying to read the [b]taxrate[/b] from the database table and use it with values from another table. the database and table are correct as is the field (taxrate) from the table, value is 0.06. Then I'm trying to multiply that value by the value of a field from another … | |
Hi, first of all I'm new at the forum I hope to help and be helped ;-). I'm trying to display the values inside an ArrayList on a JSP. I execute a PreparedStatement and I put all the values inside an ArrayList<HashMap<String, Object>>. Once, I have all the values inside … | |
Hey guys I have to create class diagrams for my software project and I was wondering what happens when there is no inheritance between my classes. I have five classes: Titlescreen, Program, Robot, Levels and Form1. None of these classes are abstract, they have no Inheritance between them, just Objects … | |
There is a database program for making invoice , its written in vb.net, there is no save option in that program, the programmer who designed it is not availble now... I want to add save button, the solution i have thought is to take the handle of the application and … | |
Hello to everyone, I have a program that gets some information from the user and updates the database. I also have two DataGridView, [B]OpenOrders[/B] and [B]ItemsInOrder[/B] When the user click on a cell in the [B]OpenOrders[/B] a [I]CellChange[/I] event is triggered and it updates the [B]ItemsInOrder[/B] grid view... Now after … | |
I have eclipse , jre and jdk in the same desktop folder but while trying to install eclipse it gives the error message that no JVM or JRE were found in the path C:\User\desktop\eclipse\jre\bin\jawaw.exe javaw.exe in your current path. Please help |
The End.