Search Results

Showing results 1 to 24 of 24
Search took 0.01 seconds.
Search: Posts Made By: skatamatic ; Forum: C# and child forums
Forum: C# Jun 9th, 2009
Replies: 8
Views: 310
Posted By skatamatic
Well it turns out my prediction was pretty much right... And at least I let him know I'm no expert in that area, but at least I offered what I know to help.
Forum: C# Jun 9th, 2009
Replies: 8
Views: 310
Posted By skatamatic
I'm not too sure about the C# console as I only use C# for windows apps and as code-behind in an ASP web apps. But perhaps it is returning a character array, which when cast to an int causes some...
Forum: C# Jun 9th, 2009
Replies: 8
Views: 310
Posted By skatamatic
I am not too sure what the actual question is, nor do I have time to look through all that code and decide what you may be having problems with. I'm not too sure what you are confused with regarding...
Forum: C# Jun 2nd, 2009
Replies: 12
Views: 770
Posted By skatamatic
Here's a quick, simple solution:


//assume iArray is an array of numbers, and ARRAY_SIZE is the size of it
int iFind = 2; //the number to look for repetitions of
int iCurrent = 0;
int iCount =...
Forum: C# Jun 2nd, 2009
Replies: 11
Views: 925
Posted By skatamatic
Sockets can be a bit challenging of a concept at first, mostly because in order to make an asynchonous connection, a certain degree of multi-threading must be used. The socket class will handle the...
Forum: C# Mar 20th, 2009
Replies: 1
Views: 476
Posted By skatamatic
That is...incredibly specific. You'll have much better chances contacting the manufacturer. As for the actual printing, here's some snippets from a barcode assignment i did a while back. In no...
Forum: C# Mar 20th, 2009
Replies: 6
Views: 2,631
Posted By skatamatic
Forum: C# Mar 20th, 2009
Replies: 9
Views: 4,621
Posted By skatamatic
You can't expect your code to do things you don't tell it to do. If you need to remember things, it will need to be saved to some form of media. The simplest form of this would be a textfile. ...
Forum: C# Mar 20th, 2009
Replies: 7
Views: 496
Posted By skatamatic
lol. So you DO have ideas? You just don't understand the content?
Forum: C# Mar 20th, 2009
Replies: 2
Views: 812
Posted By skatamatic
I dont think that vb would compile. Each if is lacking an endif, which makes reading it pretty difficult. Also, i have no idea what linebuffer is or ConnID - I'm assuming ConnID is a reference to...
Forum: C# Mar 20th, 2009
Replies: 2
Views: 481
Posted By skatamatic
Try passing the string by reference. In this case, just do this:


private void Combobox1_SelectedIndexChanged(object sender, EventArgs e)
{
runstylize(lCombobox1, ref...
Forum: C# Mar 20th, 2009
Replies: 3
Views: 2,435
Posted By skatamatic
You will have to read in the file in binary mode, which means you will have to know which object(s) the file contains so that it can be dumped into the proper class/datatype.
Forum: C# Mar 20th, 2009
Replies: 2
Views: 676
Posted By skatamatic
Is this for a website of yours? Or just in general? If it is yours, then when you run the script for loggon (probably php) have the script update a file with an incremented number of users, and...
Forum: C# Mar 18th, 2009
Replies: 0
Views: 300
Posted By skatamatic
Hi, I'm working on a client-server game app involving asyncronous recieving and syncronous sending. Every time a key state changes, the client is to send a state frame to the server. The problem...
Forum: C# Mar 13th, 2009
Replies: 1
Views: 1,962
Posted By skatamatic
Google it (http://tinyurl.com/aw9rhj)
Forum: C# Mar 3rd, 2009
Replies: 10
Views: 853
Posted By skatamatic
Haha yeah that's what I meant. I guess not everyone started in the realm of c++. If you did, you would have great respect for many of the features in c#, but also great dissapointment in the speed...
Forum: C# Mar 2nd, 2009
Replies: 10
Views: 853
Posted By skatamatic
string s = int.parse(numberValue);


Works great.
I too was very confused when I first saw members to an int datatype...
Forum: C# Feb 3rd, 2009
Replies: 1
Views: 289
Posted By skatamatic
Ahh I figuired it out. Structs are weird in c#, as opposed to C++
Forum: C# Feb 3rd, 2009
Replies: 1
Views: 289
Posted By skatamatic
I'm making an asteroids clone game, using GDI+ in C#. I don't understand why the asteroids wont move. They are supposed to rotate based on a member indicating rotation angle, and move in a...
Forum: C# Jan 21st, 2009
Replies: 9
Views: 899
Posted By skatamatic
Lol sorry that's right. I'm pretty sure I implemented it the correct way, since I just typed that off the top of my head (I didn't have my notes =( ). The point is, that the width of the border is...
Forum: C# Jan 20th, 2009
Replies: 9
Views: 899
Posted By skatamatic
Yeah the scaling factor was fine, it was those damn borders that I couldn't calculate. But it turns out they are calculatable, since they are what causes the aspect ratio to stay the same.
...
Forum: C# Jan 20th, 2009
Replies: 9
Views: 899
Posted By skatamatic
It moves when the window is resized to zoom. I think I have it figuired out (after about a page of math). Still not perfect though. The problem is that I CAN find where I clicked within the...
Forum: C# Jan 19th, 2009
Replies: 9
Views: 899
Posted By skatamatic
The algorithm is perfectly fine, it's feeding it the location (a mouse click) that is my problem. I can't capture the location (x, y) on the actual picture itself. Here's an example, I had an image...
Forum: C# Jan 19th, 2009
Replies: 9
Views: 899
Posted By skatamatic
I'm trying to right a red-eye reduction algorithm for an assignment at school. The user is asked to click on 2 eyes in an image, then the algorithm takes over and corrects the redness. The...
Showing results 1 to 24 of 24

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC