- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Simple, honest, nice guy.
Hello, I'm writting a program to create a "Snake Game" in C#. What I want to do, is to constantly call the FOrm Paint Event Method to draw the snake and fruits in the form. I added a Timer that will call the Paint Event Method every 100ms. The thing … |
|
Quite commonly I see people using one of the Parse routines then catching the exception thrown if the parse fails. This is, in general, a bad practice as throwing an exception is slower than using the corresponding TryParse method. This short snippet shows the routines that I used to measure … |
|
I have this code: [CODE] foreach( $_POST[ 'count' ] as $textBoxIndex => $textBoxValue ) { echo '<br />Textbox ' . $textBoxIndex . ' has value [' . $textBoxValue . ']'; } [/CODE] This loops through a series of text boxes with have been created with this: [CODE] <while($rowequipment = mysql_fetch_assoc($sqlequipment)) … |
|
I am using 2 checkboxes on WinForms. I am trying to say to the program, if the box is checked.. do this.. If the box is unchecked..do that.. I know how to make it do what i want when the button is checked, but i dont know how to make … |
|
Hi there, I'm quite new to ASP.NET development so i don't know what's the best way to do this... I want to list some data in several rows and have a column with a checkbox or radiobutton that allows the user to select a row; Then I should get a … |
|
|
Hi all... I am developing one program but i just came to one obsticle that I really dont know how to pass it. on my form i will have some options that user needs to enter after that im puting it and drawing it in printpreview eventhandler. So user can … |
I want to read line by line from file leaving the first line of the file |
|
Hi all I would just like to know how can I copy a file to a specified folder and the user chooses the file say via a openfiledialog. Now I cant specify a file because the folder is empty so I cant make use of the File.Copy method but there … |
|
How to make a program run only once. It could be any "hello world" program. It should say smth. (error, 2 console windows are not allowed) if the program is already running and shut down the second console window. (the first concole window should stay where it is) |
|
I have an excel sheet having predefined columns 'Qname','CorrectOptions' etc. Following that excel columns user fills data. Problem occurs when, in column 'CorrectOptions' user put ex. 2,3 value, while reading cell value getting empty. But if user enters any digit value without comma, it reads fine. I think excel makes … |
|
Hi, I have a rectangle inside another rectangle, how can I make to do like an IntersectWith method but just the outer rectangle Border? Since one rectangle is inside the other it seems like it is always intersecting so I want to know how to tell the inner rectangle to … |
|
I created an app that reads two columns from excel file and search for each file in column A. if file is found then it is renamed to what column b says and moved to a separate folder. This part of the code that i am having issue, please help!!! … |
|
How do i create two tables in a database at same time from a windows form.?? how do i give them same name?? |
|
heyy..plz suggest me new C#.net project topics other than managemant systems.. |
|
Hi! I'm form Portugal, recently graduated on Computer Science. After 'crashing' into your Forum over and over again when I was looking for some help about programming I decided to sign up and be part of this community. You already helped me a lot of times before so, I'm looking … |