Writing to a file new line
Whenever I write to my file after the registration form and it is successful it overwrites existing data in the text document rather than adding a new line, I tried to get it working by using...
View ArticleJava program flow tool
Hello, I want to see (possibly line by line) the flow of a java program. Is there a tool or plugin for this for any IDE or separate application.
View ArticleArray out of bounds
Dim User(5) As String Do While Reader.Peek() <> -1 LineRead = Reader.ReadLine() User = LineRead.Split(",") If User(2) = Txt_Username.Text And User(3) = Txt_Password.Text Then Homepage.Show()...
View ArticleSDL_mixer not installing (C++,Ubuntu)
Hello i have been working with sdl for a while but this is my first time using sound. However when i try to install SDL_Mixer with this following command sudo apt-get install ibsdl-mixer1.2-dev it all...
View ArticleError with input, very basic. Words vs numbers.
Hi, im brand new to C#, as of today actually. Im learning it in a class and im struggling. I will post my code but i need to know how to make it so it accepts word input not just number input. As of...
View ArticleClearing an ArrayList within a method
I have 3 ArrayLists that I need to be able to clear between loops. They store a few values for my method to use in calculations, but I need the ArrayLists that store them empty again so that I can put...
View ArticleSql connection
I have a problem with checking if my database is connected to my project in vb.net, could someone help me? here is my codes, I would appreciate your help, this program that I'm currently working on is...
View ArticlePutting individual sections of a date (yyyy/mm/dd) from Combo Boxes
Hey guys, I've hit a hitch in my computing project. I want to actually create a date out of values held in combo boxes. Now, the "Year" combo box is filled at the frmAddCustomer_Load event using this...
View Articlepreg_replace returns NULL
Hi, I got a little problem with a preg_replace regex. This is the code I use: preg_replace("/[^a-zA-Z0-9_\s\/\!\,\;\?\:\.\-\"\'\§\@\&\ßäöüÄÖÜ]/", "", $string) At the first try it works like it...
View Articlestd::cout... statement being skipped
Hello coders, first post and more to come! /> So I'm completely stumped. To start, here is the code: Graphics::Graphics(void) { window = new sf::RenderWindow(sf::VideoMode(800,600,32), "Map...
View ArticleData_Received event not firing using serialport connection in .Net
I have connected my pc to a null modem cable. When i look in device manager, i get two port names as USB-to-Serial(COM17) and COM28. But, when i try to send and receive data through ports, i am unable...
View Articlebig O exponential
Hi Gurus, I am a newbie here, and also a newbie to Big O notation, I have read KYA's very informative and easy to understand tutorial on Big O, however I am still having some questions in my head. Such...
View Articlehelp with airline reservation in c
I need help with this code I've been working on all night long. this is what the assignment says: Write a program that can be used to assign seats for a commercial airplane. The airplane has 13 rows,...
View Articlehow to close excel application open by vb.net code.
how to close excel application open by vb.net code. When I quit application in my code.. It still running in task manager.. this is my code Dim xlApp As Excel.Application Dim xlWorkBook As...
View Articlevariable in a drag and drop method not activating.
There are 2 sets of 4 buttons being created. The ImageIcon of the 1st set of buttons are to be dragged onto the 2nd set of buttons. The boolean enab variable is for determining if the 2nd set of 4...
View ArticleAdding to a combo box from a split array
I have split up text from a file and placed it into an array. I then want to put those values from the array into a combo box as different values. Each time I try I either get no error initially but it...
View ArticleHow to use random method to select numbers?
I have set of numbers like [1000,2000,3000,4000] Now I have to select one from above this numbers in Java how to do it? help me
View Articlesuper mario game in c#
it has a problem i don not know what it is ? using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using...
View ArticleNull Pointer Exception - Basic Hangman Game!
Hi there, I have been trying to make a simple console based Hangman game but I have come across a problem. I am trying to make the game as Object Orientated as possible as this is what I have the most...
View ArticleJpa, insert into join table
hi all, im having problems in inserting data in a join table using jpa. im using eclipselink and mysql. i have 3 tables: tab1(pk(id),k1) tab2(pk(id),k2) tab3(fk(x)->tab1(id),fk(y)->tab2(id)) sa...
View Article