Need help with program
iv been stuck with this program for a few days, my teacher doesn't really teach us code but expects us to now it so. i have another version of this program without the text graphics and no help screen...
View ArticlePlease Help
Hey guys, I am trying to learn java in my spare time. My goal was to learn how a main method can call other classes (hope IÂ’m saying that right). When I execute main.java, in case 2 and 3, the program...
View Articleparsing an email address
Hi I'm trying to break down a given email address by name and domain and all is well except for the "." in the domain piece. The email format I am looking at is abc.def@hijk.com. Looks like the...
View ArticleHow use Event handler to collect data from a jframe into the datab
i started a project at school but not sure of what am doing am designing a shop records system, that takes item name and price from the shop attendant and when enter is hit this 2 data goes into the...
View ArticleSFML - Access Violation Error?
Hi D.I.C. I was looking over RevTorA's tile engine tutorial and I decided to fool around with it. I changed some stuff as I'm using SFML 2.0, and not using XML to load the stage data (I like to write...
View ArticleMy delete button is not working
Hello I creating a program and I need to add delete button but every time I ma trying to run the program an error comes (1)InvalidArgument=Value of '-1' is not valid for 'index'.Parameter name: index...
View ArticleBest book for learning VB2012 (For my level)
So I'm looking to purchase a good book which will teach me about programming in Visual Studio Express 2012. I've already got some experience with VB.NET: I can use simple things like...
View ArticleQuestion regarding lists
Can anyone tell me what is happening behind the scenes when these 2 are executed?: listOne = [0 for i in range(100)] listTwo = [0] * 100 I believe (correct me if i am wrong) in the first example it...
View ArticleWhats the difference between int main and void main?
Hi, I am fairly new to C++ but i would like to know the difference between Int Main and Void Main. I know those are functions but whats the difference Thanks, Ahmer
View ArticleDifference boolean, integer
Hii everyone I'm a new programmer in c#, It's also my first programming language. I've read a lot about variables, but I can't find when to use a boolean, integer or double. I always work with an...
View ArticleJPanel setSize/setPreferedSize not Working
I am currently working on nesting a jPanel inside of a jPanel, the code for which is Border loweredetched = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED); jPanel1.setLayout(new GridLayout(0,...
View ArticleHow can I install PHP5 in my Ubuntu?
I have been using wamp server in windows to run around PHP and MySQL what can i do in Ubuntu 11.10
View ArticleExtremely Critical Rails Bug Threatens more than 200000 sites
http://arstechnica.com/security/2013/01/extremely-crtical-ruby-on-rails-bug-threatens-more-than-200000-sites/ QuoteThe bug is present in Rails versions spanning the past six years and in default...
View ArticleC# XNA Problem with drawing a texture with a rectangle
Hello! I'm trying to draw a background in one of my menus(which I have done the same way before) and it just doesn't work. I've tried to restart Visual studio without help. In my class, I have created...
View Articledeleting node from binary search tree
hi everyOne i have this code for deleting node from binary search tree but becouse I did not understand the last part Can anyOne explain it to me. # define Ok 0 # define Error -1 # define Lchild 1 #...
View ArticleVB 2008 - Access Syntax error UPDATE statement
Hi guys, I'm making a system where the user is able to log in, edit their account and etc. Currently, I'm having trouble with trying to update the customer's account details such as their first name,...
View Articlesimulation of a virtual video player
I am creating a simulation of a virtual video player (something like a very basic version of RealPlayer or Window Media Player). All the codes given below are error free. This is the main class:...
View ArticleVS 2012 SQL server online question
Hi, I am new at VS SQL and would like to know how to create a SQL server that can be accessed online (a store and retrieve point) I tried to search for tutorials and I wasn't successful. I kept on...
View ArticlePie Chart Applet
Okay I found an example an kind of figured this out, but it is not diplaying each portion. Currently it displays the blue and green but what about the red and yellow portions? Have I missed something?...
View ArticleChanging a word in an arraylist problem
Hello, I have written a simple program that scans a text file into an ArrayList, searches for a specified word in the arraylist and prints the position of the word and the line it's on. I am trying to...
View Article