Posts
 
Reputation
Joined
Last Seen
Ranked #963
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
43% Quality Score
Upvotes Received
16
Posts with Upvotes
15
Upvoting Members
12
Downvotes Received
23
Posts with Downvotes
17
Downvoting Members
16
10 Commented Posts
~72.9K People Reached
About Me

I'm a very difficult person to describe because I'm all over the place. If I could sum me up into one word it would be insane. I'm an incredibly vibrant person. I love surfing, playing guitar, programming, photography, video games, skating, snowboarding,…

PC Specs
To be honest, I don't pay attention to this with Windows operating systems, only on Macintosh. I don't…
Favorite Tags
Member Avatar for skatamatic

I don't really play too much with sockets, but I read over the source and it was a good read. :D Thanks for posting, I'll archive it in my forms kit with credit to you. :)

Member Avatar for Alejandro_8
6
9K
Member Avatar for ddanbe

Why not use Type.GetMethods to get just the methods instead of searching for keywords in the file. I took a second to write an example (though not as detailed as yours) it can be modified to implement with opening a specific file. private void button1_Click(object sender, EventArgs e) { ListMethods(typeof(int)); …

Member Avatar for JOSheaIV
0
422
Member Avatar for lxXTaCoXxl

I am trying to figure out how to convert hexadecimal values into mips instructions but I am not having any luck. From my understanding you have to first break the value down to machine level (binary) and then use that result to determine the instruction by converting each section of …

0
264
Member Avatar for lxXTaCoXxl

I am trying to find ways to get the hex data from a file opened in a windows form using the open file dialog. I've done some reading and have found that .NET Framework used to have a byte viewer component built into System.Design that was a quick standard way …

Member Avatar for cgeier
0
232
Member Avatar for tinstaafl
Member Avatar for lxXTaCoXxl

I realized that I haven't released any snippets in a while so I figured while I was working on some interesting projects of my own that I would release one that I recently decided to write because I don't see the algorithm out there in C# very often. This snippet …

Member Avatar for lxXTaCoXxl
0
447
Member Avatar for kavi4u

Use your form's key down event instead of the text box. Then tell which text box to focus when a different key is pressed. [code]//pseudo not acutal code; private void this_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Left) leftBox.Focused = true; else if (e.KeyCode == Keys.Right) rightBox.Focused = true; …

Member Avatar for vaynenick
0
2K
Member Avatar for lxXTaCoXxl

Okay so I know how to close the application completely but when I have multiple forms it tends to mess up my main form and cause bugs when I close my secondary forms. Can anyone help me with this problem? [CODE]// The bug I get is in Program.cs and it …

Member Avatar for padillian
0
2K
Member Avatar for lxXTaCoXxl

The snippet provided will cover the basics of an on screen keyboard; the only things it doesn't have are numbers, symbols, and extra keys. This will give you the fundementals to build off of. It's written using Microsoft's XNA Framework, however it should be fairly simple to port over to …

Member Avatar for lxXTaCoXxl
0
264
Member Avatar for lxXTaCoXxl

These are just some of the more useful #define statements I've used in C++. These are some of the statements you'll use the most (in the case of template<typename T> when you use it, you use it a lot!). So I figured I'd post it for others, even though a …

Member Avatar for sepp2k
-4
266
Member Avatar for lxXTaCoXxl

I've been given a homework assignment in which I have to create a linked list, then store 25 random integers within it, after I've stored the values I have to find the sum of these 25 numbers, and then the floating point average of them. So for the most part …

Member Avatar for histrungalot
0
204
Member Avatar for lxXTaCoXxl

I'm trying to convert a number to a string then back to a number to perform math, then back to a string to return it to the user. I don't understand the problem because this is how my friend did it (that I can remember and it worked for him). …

Member Avatar for NathanOliver
0
234
Member Avatar for lxXTaCoXxl

I'm out of practice on my C++ and have kind of picked up a new hobby; it turns out that I like creating electronic devices. Particularly amplifiers and sound to light kits. Stuff like that; the problem is that determining the amount of resistance a resistor on an old creation …

Member Avatar for NathanOliver
0
207
Member Avatar for lxXTaCoXxl

It's been a while since I've posted anything; I've been really busy. I was just sworn into the Marine Corps, and just finished making my own 5x5x5 LED cube. Now I'm wanting to get a little programatical with what I did in the real world. Basically I'm needing to find …

Member Avatar for nmaillet
0
132
Member Avatar for king03

The problem seems to be that you're not initializing the Form; either that or Form1 is in another namespace by accident (highly unlikely but can happen). To resolve this try: Form1 f1 = new Form1(); f1.Show(); # Hope it helps, # Jamie

Member Avatar for james6754
0
103
Member Avatar for lxXTaCoXxl

Just a couple basic static mathematical helper methods that I've found useful for game development. Feel free to add some in replies for future visitors. I will do another post later this week with advanced helper methods from trig and calc. I will also do a geometry helper class as …

Member Avatar for skatamatic
0
158
Member Avatar for lxXTaCoXxl

I think this is the first actual discussion thread of code on a coder's website I've actually ever seen, and I'm the one posting it. (HA!) So basically; I got bored and found a website called Project Euler. It has a bunch of "mathematical" problems to solve. Eight pages and …

Member Avatar for Momerath
0
166
Member Avatar for Erwin_Rosyid

Okay, reading over your source code there are a few things I can point out to you that you might be interested in for shortening the amount of line's you'll have overall. 1) Since you're requiring access to Form1 in Form2 you can create a variable of Form1 in Form2 …

Member Avatar for Erwin_Rosyid
0
125
Member Avatar for lxXTaCoXxl

Figured I've been working on material for a while and would throw these up for everyone that needs them in the future to use. It's very simple implementation; if I get enough people asking me to, I will write the methods for each of the instructions so you don't have …

Member Avatar for skatamatic
0
277
Member Avatar for lxXTaCoXxl

I had a small problem with collision detection starting out with XNA 4.0 so I figured I'd release a simple snippet that helps with two different types of collision detection; Per-Pixel and Rectangular. To use simply copy and paste the snippet into your current source, or you could put it …

Member Avatar for tpb_rocpile
0
246
Member Avatar for king03

Square is defined again inside of another .cs file and needs to be renamed. Although, if you're writing this with XNA you should really switch your project type over to Windows Game type. @Momerath: When designing games it's good practice to create your own objects, plus the Rectangle class inside …

Member Avatar for lxXTaCoXxl
0
146
Member Avatar for lxXTaCoXxl

I'm trying to upgrade my class library to my current mathematical skill set and am having trouble with multi-term polynomials, especially those I where I don't know how many terms the user will be putting in. I know that the formula for the first derivative of a polynomial is ax^n …

Member Avatar for lxXTaCoXxl
0
297
Member Avatar for lxXTaCoXxl

I'm trying to upgrade my class library to my current mathematical skill set and am having trouble with multi-term polynomials, especially those I where I don't know how many terms the user will be putting in. I know that the formula for the first derivative of a polynomial is ax^n …

Member Avatar for lxXTaCoXxl
0
143
Member Avatar for lxXTaCoXxl

I'm writing a basic application that needs to know the mathematical relationship between a jal and its address. For example: jal $000a2000 = 0x0c028800 So my question is how would I get this value mathematically? I've been pondering ways to do it all week and every route I took to …

Member Avatar for lxXTaCoXxl
0
114
Member Avatar for henri18

Create a for loop that will evaluate each card in the hand using switch logic. For example: int[] ThreeOfAKind = new int[3]; for (int i = 0; i < 3; i++) { for (int x = 0; x < 7; x++) { if (i >= 1) ThreeOfAKind[i] = ThreeOfAKind[i - …

Member Avatar for Lerner
0
480
Member Avatar for LestTurk

A pong game requires (like any other game) planning. Even though it is the simplest game to write, it can be frustrating if you don't aquire knowledge on how the game works. I know, I know, you're thinking what more can be to it than just the ball moving around, …

Member Avatar for lxXTaCoXxl
-1
618
Member Avatar for king03

I agree with @skatamatic on this topic. If you must write a Tetris clone then start by learning the framework. You'll need to know how to load Textures (I use PNG but BMP works just as well) then you'll need to learn how to manipulate the texture (using keyboard and …

Member Avatar for lxXTaCoXxl
0
2K
Member Avatar for nthabiJacq

First you must tell the computer how to calculate a perfect number, if I remember correctly you're meaning prime which simply means it's only divisible by itself and 1. So create a list of integers then add each prime as it finds it. Hope it helps. List<int> Primes = new …

Member Avatar for lxXTaCoXxl
0
226
Member Avatar for lxXTaCoXxl

I'm having trouble with my some output in hexadecimal math. The subtraction overload seems to work fine, but when I add an address to another it goes all wierd on me. :( Here is a sample output: 00000000 + 0000055c = 0000000c // Incorrect 000a0000 + 00000180 = 000a000000000080 // …

Member Avatar for skatamatic
0
119
Member Avatar for jigglymig

Try removing the try catch block: private void linkLabel1_Click(object sender, LinkLabelLinkClickedEventArgs e) { Process.Start("http://www.website.com"); linkLabel1.LinkVisited = true; } If that doesn't work then switch over the event to the simple clicked event: linkLabel1.Click += new EventHandler(linkLabel1_Click); private void linkLabel1_Click(object sender, EventArgs e) { Process.Start("http://www.website.com"); linkLabel1.LinkVisited = true; } It's probably …

Member Avatar for lxXTaCoXxl
0
110