blah blah blah is here! blah blah » Close

2
votes
2 answers

OCaml Help

Hi, I know that this is a C# Help Forum, but I've found that this was great help to me for C#. I am currently using OCaml and it's very hard to find online help for it. Just wondering if anyone is familiar with OCaml and could help explain ...

0
votes
1 answers

Creating textboxes from buttonclick event.

Hi! I'm curious how I would go about having a program which creates and shows a new textbox directly underneath the other textboxes previous created with the click of a button. Something like this: *Click Button* <u>Program</u&g ...

0
votes
1 answers

Notifying when there is a pictureBox collision

Basically I'm making a basic game where you move a pictureBox of skeleton and there is a pictureBox of a dog running at you and you have to jump over it, (pretty lame but w/e). So far I have been able to allow the player to move, jump, an ...

0
votes
1 answers

Opening Excel and Word in C#

I have tried for the past while to do this but I think I might be missing a download package or something? I followed the main steps to doing this but there is some confusion on my part. In the "add reference" for Excel in the C ...

0
votes
1 answers

C Compiler for 64-bit Vista?

Hi, I know this is a C# forum but for school I'm learning to program in C and I'm just getting started. I have Vista-64 which kinda sucks right now because I'm not able to install most compilers. I heard you could program in C on Visual Bas ...

0
votes
1 answers

Need help on making program more efficient.

Hi, so my task is simple, I just need to find a starting value below one million that produces the longest chain of following numbers based on this pattern. n → n/2 (if even) n → 3n+1 (if odd) For example: (Starting number is 13 in this ...

0
votes
1 answers

How to retrieve value instead of receiving &quot;infinity&quot; as answer.

Basically I'm finding the sum of a very large number and they I want to display the last 10 digits of said number. The problem is that the sum value is displayed as "infinity" and not the string of digits that I need. Also, if the ...

0
votes
1 answers

How to construct a scheduling calendar

Hi, I'm just wondering if anyone has any tips or examples on how I would go about creating a calendar application with date notifications that is concurrently running on my computer. Thanks

0
votes
1 answers

Using timers to jump and make gravity

I was just wondering how I could make a picturebox (player) smoothly jump into the air as if it were under gravity by pressing a button. I'm guessing timers are involved but I can't make it a smooth jump it just moves very "glitchy&qu ...

0
votes
1 answers

Applying Keyboard to Program

Say I have a .gif file which is of a person walking and I want to have that image move whenever i press a certain key and jump with another key pressed. Also, if I make a background that changes based on the movement of the player. I woul ...

0
votes
1 answers

Classes help

Hi, I'm just having trouble using my class i made. I clicked add new so that my class i made is separate from the form1 code. I don't know why I can't access it or its methods. Everything in the class is set to be public. I'm stumped. Any ...

0
votes
1 answers

Double converted from string not exact.

I am converting a decimal of two digits after the decimal but it is not exact when it is converted to the double. Example: value inputted into textbox: 0.56 double value = Convert.ToDouble(txtInput.Text) when i go into debug mode value ...

0
votes
1 answers

Another noobish question about text in textboxes

Say my application has one input textbox, one output textbox and a button. The work done is to take in the input numbers and out put then in order (lowest to highest) Problem is there is only one textbox and the numbers (say four of them) ...

0
votes
1 answers

Just another noob question

Say I have 4 text-boxes which will have one number per text-box in the form: I have an array: int [] values = new int [4]; and I want to make a method which will store values from the text-boxes to their designated array location. int I ...

0
votes
1 answers

When would you actually need to pass by reference using (out or ref)

I understand methods but honestly in what situation in an application would you need to use out or ref. For all the methods I've been doing so far they work just fine and I have no used ref or out at all. Probably a stupid question but it' ...

Feedback