Positioning Images
I need to know how to display images in a tiled view. I know how to store and retrieve images or data from a database and i know i have already asked this question but i'm only asking again b'coz i...
View Articlespliiting code in java-don't know what's wrong
hi every one, i'm writing a code to split a file into many files with a size specified in the code, and then it will join these parts again. the problem is with the joining code,it doesn't work and i...
View ArticleQuestion on gettting an array to show a number that appears zero times
I have an assignment that basically asks me to create a program that counts the number of times a digit appears in an entered phone number. I have most of that done, but I'm struggling with how to get...
View ArticleHow do I create a unit test from a webform?
I have a asp.net web form which has 8 Textbox.And ı connected it to a database.The event of the button is that saving textbox values to the database.There is no problem here but ı wanna code a unit...
View ArticleHow to make XML response useable
I am using HttpWebRequest and HttpWebResponse to POST data to a web service and receive the resulting XML response. I have never worked with XML before (only been coding for a few months) so I have...
View ArticleDisplaying items from a list view in a reportviewer
Hi, I am currently working on functionality in a program and have hit a brick wall. On my form I have two combo boxes and a text box; the combo boxes are linked and the data that populates them is from...
View ArticlePHP Tunnel
So I'm sitting in schools just browsing the web on my phone and and sure enough the firewall kicks in and started blocking all types of forums and other things that any normal person might deem useful....
View ArticleI need one tip. Polymorphism, JPanel, and shapes(objects) involved
I'm going to keep it simple. I need to be able to outlined the perimeter of each shape when its respective JComboBox spot is selected. For instance, if I select "rectangle" from the drop down menu, I...
View Articlequestion about selection sort and filtering and sorting
[import java.io.File; import java.io.FileNotFoundException; import java.io.PrintStream; import java.util.Scanner; public class GazSongs { public static void main(String[] args) throws...
View ArticleFilling specific elements in an array
Well, consider this question for a moment: QuoteWrite a program that uses a 2-Dimensional array with 5 rows and 5 columns (i.e. 5 x 5). Your program should do the following: 1. Initialise all elements...
View Articlewhy ? ( list index out of range )
Well guys here is my code, i know its incomplete and there is a never ending loop but my problem is that from time to time i get error ( list index out of range) why ? import random lists=[[150, 9,...
View ArticleWhile Loop Multiplication 10 x 10 order ! I need HELP !
public class Shumezimi { public static void main(String [] args) { int rr=1; int k=1; while (rr<=10) { k=1 ; while (k<=5) { System.out.print(rr+" * "+k+" = "+(rr*k)+"\t"); k++; } rr++; } } } This...
View ArticleChange calculator going in an infinite loop
Well I've looked through the program and everything seems like it should work. What did I do wrong? import java.util.Scanner; public class QuizProgram1 { public static void main(String[] args) {...
View ArticleNewbie Qwestions
Hey I am new in programming and i would like to know what language is best for making antivirus and/or video game programming. This site is very big and I would like some direction on where to start...
View Article[SOLVED] General Error 1005 when trying to create Foreign Key
Never mind. After a little research, I discovered that when creating a foreign key, the referenced data type must match what you're trying to tie it to, so that no datatype conversion is required.
View ArticleEnhanced for loop issue.
Below is code to find an employee based on user input. I cant get it to find Any name even though I initialise array list with some names as soon as program runs. I type it exactly but it does not find...
View ArticleWhats wrong with this parameterized update query?
I am trying to use a parameterized query to update entries in a mysql database, however it wont update anything. This is the code i am using: sqlString = "UPDATE table SET field1 = @value1, field2 =...
View ArticleError In Mouse Listener Program
I am learning java and while doing a MouseListener problem I am facing an error in the class declaration, tried everything known to me please help me out. According to me I have done all the coding...
View ArticleDropdownlist selectedvalue when set to another value ignored
I have a telerik control called a "RadComboBox". It is essentially just a ASP.DropDownList. (BTW I have changed this to a normal asp dropdownlist and I have the same result.) There is a button onclick...
View Articlehow to print the sum of the remainder of an integer
hi i need urgent help asap in C# i need to print the sum of the remainder of an integer. I know how to print the sum of an integer (ex: 1452 = 1+4+5+2) but how to i add the remainder if my integer is...
View Article