Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
1 Commented Post

90 Posted Topics

Member Avatar for NewOrder

It took me 4 weeks to write this code. The chess game works now . there are no bugs... everything confirms to the chess rules (part from stalemate that i was too lazy to do). i have been learning java for 4 months. what do you think of my code …

Member Avatar for JamesCherrill
0
3K
Member Avatar for NewOrder

I use the Login control, when I logged in the first time, it recognized me, but when i login the second time and third time, and so on, it says i dont resist. When i request a password reset, it wont let me reset the password, and says that it …

0
62
Member Avatar for NewOrder

i know that it puts the bytes into a buffer. But is that buffer is located somewhere in the memory? and doesnt it make the application slow if it uses that adapter?/Stream?

Member Avatar for JamesCherrill
0
108
Member Avatar for NewOrder

i want to build a mini forum like the one in Yahoo!Answers. it has answer and questions. i want like that one.. i know how to use sitemaps, Validation requirements, and other basic stuff. I thought to put all the questions and list in c# code as a Dictionary or …

Member Avatar for NewOrder
0
115
Member Avatar for NewOrder

i am going to start learning Android next week, and i was curious about it animation capability. can i put 3d Max, Maya or flash animation? what animation program is best to use, i am thinking to make games for the platform

Member Avatar for NewOrder
0
143
Member Avatar for NewOrder

My teacher in programming told me that it is useful to learn zbrush when developing games for android. but i wanted to ask, do you need to learn programs like maya too , in addition to zbrush?

0
69
Member Avatar for NewOrder

This is my first c# application, it took me 2 months to write and it has over 3,000 lines of code.. [url]http://www.youtube.com/watch?v=2ZqYa8agDrQ&feature=channel_video_title[/url] I wanted to ask of your opinion, what do you think?!?

Member Avatar for NewOrder
0
111
Member Avatar for NewOrder

i thought if it was possible to serialize a List into a file on your hard drive and then send it over net with streaming?

Member Avatar for Momerath
0
151
Member Avatar for NewOrder

i have a background worker with a sleep method inside a method. (winforms) here is the code that is executed: [CODE] private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker worker = sender as BackgroundWorker; int[] makeSelfMoves = new int[4]; foreach (KeyValuePair<int, int[]> item in replay)// count should be more than …

Member Avatar for NewOrder
0
295
Member Avatar for NewOrder

i am trying to build a replay feature to my chess game. The way the chess program works in a nutshell. is that i have an array of the chess pieces that are printed on a board in winforms. here is a function: [CODE] public void PrintPieces(Pieces [,] pieces) { …

Member Avatar for ddanbe
0
145
Member Avatar for NewOrder

i created a class that i want to serialize each time a move is made on the chessboard. [CODE] class ClassMoveToSerialize { int[] StartPosition; int[] EndPosition; Dictionary<int[], int[]> serialized; public void DataToSerialize(int rowStartSerialize, int columnStartSerialize, int rowEndSerialize, int columnEndSerialize) { MessageBox.Show("" + (number = int rowEndSerialize+columnEndSerialize)); //it isnt finished, i …

Member Avatar for NewOrder
0
153
Member Avatar for NewOrder

i made two arrays..belonging to an object that i created Pieces. that object holds more objects (chess pieces). now i gave it two references.. 1) Pieces[,] temp = new Pieces[9, 9]; 2) Pieces[,] pieces = new Pieces[9, 9]; now if i do this: temp[1, 1] = null; the same change …

Member Avatar for ddanbe
0
119
Member Avatar for NewOrder

i want my table to disappear at the load time, and then reappear when i call it. here is my code so far... [code] private void Chess_Load(object sender, EventArgs e) { PromotionTable.Visible = false; } [/code] and one of the functions that is responsible to make it appear [code] public …

Member Avatar for NewOrder
0
116
Member Avatar for NewOrder

i have 2 classes. one is a partial class belonging to winform, and the other is a code class of chess. problem , is that my enums arent being triggered , or they reset themselves.. okay, so in the code class i have got this: [CODE] class PiecePromotion { PromotionPieces …

Member Avatar for NewOrder
0
140
Member Avatar for NewOrder

i have a winform, and i added class, but when i added it, i got mistakes on the static classes i have inside. basically, it converts the code automatically to a form once it is located inside WinFormApplication1 and i dont know how to interact between the code and what …

Member Avatar for Momerath
0
389
Member Avatar for NewOrder

i put a list box and an image box. now i want the image to swap every time the user clicks on a different element in the list. it doesnt seem to work :( [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default …

Member Avatar for ArtistScope
0
107
Member Avatar for NewOrder

i want to put text into an image using css. i saw a few codes that tell you to put div inside a div. make one div relative and the other absolute. the problems that i have is that i already have a relative div outside the picture. can anyone …

Member Avatar for johnsteve.bravo
0
128
Member Avatar for NewOrder

i cant make my list float to the left. i want to create a horizontal navigation bar. i have everything set, but it wont float to the left. help, please [CODE] ul. nav { margin: 0; padding: 0; list-style: none; width: 72em; background: #FAA819 repeat-x; } ul. nav li { …

Member Avatar for Agarsia
0
147
Member Avatar for NewOrder

i need to terminate a background thread in winform, however, i dont know how. i know that using Thread.Abort, only creates problems..please help [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net.Sockets; using System.IO; using System.Threading; namespace WindowsFormsApplication1 { public …

Member Avatar for NewOrder
0
172
Member Avatar for NewOrder

i have got an exception, i dont understand why? basically, below there is the bottom part of my server code that i try to use. In short, i built 2 Dictionaries of streamWriter and StreamReader and one List of names. Exception is thrown there: [CODE] Some of the collections that …

Member Avatar for NewOrder
0
180
Member Avatar for NewOrder

i was searching for a code to reset explorer! i found a code, but it isnt effective, is there a code to counter explorer weird behavior? another question, should i use apdiv , cause each time i use them (mainly by dreamweaver functionality), internet explorer goes mad!!!

Member Avatar for shaya4207
0
124
Member Avatar for NewOrder

i am trying to build a chat, basically i used the invoke function what a thread. i am able to read what the server sends me, but i am able to write only once. i am trying to finish this but not sure how to write to server each time …

0
81
Member Avatar for NewOrder

i want to transfer my code to a winform. i know how to create buttons, text,,etc... and how to operate them. The problem is that i made my code in a windows application, and i want to transform it to window form application.. i dont know how to copy and …

Member Avatar for NewOrder
0
162
Member Avatar for NewOrder

This is javascript: [CODE] function OpenNewWindow(book) { if (book==1) { document.cover.src='images/KanyLogo.jpg' MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0, toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, top=400') MyWindow.document.write('10% Discount for Java Demysti? ed!') } if (book==2) { document.cover.src='images/KanyLogo.jpg' ; MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0, toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, …

0
65
Member Avatar for NewOrder

i am building a chat and i have this code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; using System.IO; using System.Threading; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { TcpListener server = new TcpListener(IPAddress.Any, 5000); server.Start(); Console.WriteLine("Server …

Member Avatar for NewOrder
0
1K
Member Avatar for NewOrder

hi, i have a problem with my code. i am trying to shift pictures as the mouse hovers over the link..but nothing happens! [CODE] <div id="FAQ"> <ul> <b> FAQ <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_14.gif ' ">What does the Bronze membership include?</a> </li> <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_06.gif' ">What does the Silver membership include?</a> </li> …

Member Avatar for NewOrder
0
88
Member Avatar for NewOrder

Hi, here is a class with the methods that i have created: [CODE]class BlackCheckAlgorithm { bool checkCheckMeh; string checkOrpiece; bool checkOrPiece; string chessPiece; bool checkSafe; int kingRow; int kingColumn; int blackkingRow; int blackkingColumn; bool dynamicCheckBlack; int whitekingRow; int whitekingColumn; bool dynamicCheckWhite; bool mate; int kingRow2; int kingColumn2; bool pieceDoesntCollideKing; bool …

Member Avatar for NewOrder
0
166
Member Avatar for NewOrder

1) why cant my static function see the class variables and a non-static method can: example: [CODE] class Chess { int columnStart; int rowStart; int columnEnd; int rowEnd; public static void Main(string[] args) { int[] locationMap = new locationMap[4]; columnStart = locationMap[0]; rowStart = locationMap[1]; columnEnd = locationMap[2]; rowEnd = …

Member Avatar for tripleD
0
171
Member Avatar for NewOrder

This is what i have as part of my code: [CODE] class Pawn : Pieces { string name; public Pawn(string piece) { this.name = piece; } public override string pieceName() { return this.name; } [/CODE] Now in the method pieceName, i am not sure what effect there will be if …

Member Avatar for ddanbe
0
102
Member Avatar for NewOrder

i dont fully understand when is it more effective to use a struct and when is it more effective to use a class? i read the explanation from Oriely's book "C# in a nutshell", but i still dont understand. [QUOTE] Because a struct is a value type, each instance doesnt …

Member Avatar for Mitja Bonca
0
122
Member Avatar for NewOrder

i have my main and a function that deals with an array. [CODE] public static void Main(string[] args) { Pieces [,] pieces; ChessBoard(out pieces[,]); // The IDE shows that the mistake is here. It says that the overloaded method has some invalid arguments! How can i make it so that …

Member Avatar for Mitja Bonca
0
97
Member Avatar for NewOrder

i dont understand why i have that exceptions. All i try to do is to write a file . Kill an object and load the file :( it says: "Unable to read beyond the end of the stream." [CODE]using System; using System.Collections.Generic; using System.Text; using System.IO; namespace Project1 { class …

Member Avatar for NewOrder
0
949
Member Avatar for NewOrder

i wrote this book as it was presented in the book: header: [CODE] #import <UIKit/UIKit.h> #define degreesToRadians(x) (M_PI*(x)/180.0) @interface SwapViewController : UIViewController { IBOutlet UIView *landscape; IBOutlet UIView *portrait; //Foo IBOutlet UIButton *landscapeFooButton; IBOutlet UIButton *portraitFooButton; //Bar IBOutlet UIButton *landscapeBarButton; IBOutlet UIButton *portraitBarButton; } @property (nonatomic, retain) UIView *portrait; @property …

0
47
Member Avatar for NewOrder

[url]http://cgi.ebay.co.uk/Pre-order-Nexus-S-Google-phone-android-2-3-get-it-early_W0QQitemZ120658553467QQcategoryZ171955QQcmdZViewItemQQ_trksidZp5197.m7QQ_trkparmsZalgo%3DLVI%26itu%3DUCI%26otn%3D1%26po%3DLVI%26ps%3D63%26clkid%3D5646332619241648877[/url] sorry, i mean phone

Member Avatar for SgtMe
0
172
Member Avatar for NewOrder

[CODE]object[] a1 = new string[3]; // Legal object[] a2 = new int[3]; // Error[/CODE] why is that? why int cant implicitly be converted to an object? isnt int type of object?

Member Avatar for NewOrder
0
72
Member Avatar for NewOrder

i am trying to print this: [CODE] string one = "[----------------]"; string two = "[ ]"; string three ="[ Go To Jail ]"; string four = "[ ]"; string five = "[_______________]"; Console.Write(""); Console.Write(one); Console.Write(two); Console.Write(three); Console.Write(four); Console.WriteLine(five); Console.Write(i); Console.Write(m); next to this square: string one = "[----------------]"; string two …

Member Avatar for NewOrder
0
156
Member Avatar for NewOrder

i have the following array: [CODE] int[,] simpleArray =new int[,]{ {1,1},{1,2},{1,3},{1,4},{1,5},{1,6},{1,7},{1,8},{1,9},{1,10},{1,11} , {2,1}, {2,11}, {3,1}, {3,11}, {4,1}, {4,11}, {5,1}, {5,11}, {6,1}, {6,11}, {7,1}, {7,11}, {8,1}, {8,11}, {9,1}, {9,11}, {10,1}, {10,11}, {11,1},{11,2},{11,3},{11,4},{11,5},{11,6},{11,7},{11,8},{11,9},{11,10},{11,11}, }; for (int i = 0; i < 11; i++) { for (int m = 0; m < 11; …

Member Avatar for croker10
0
138
Member Avatar for NewOrder

my question is: it is a video game website. it has a main page, that has a frameset. one frame is the menu bar. the other is the content. i have got a menu at the top of the page. the menu has got a few links (options/buttons) e.g. pc, …

Member Avatar for Arkinder
0
98
Member Avatar for NewOrder

i am trying to build an interface array for my checker class. i have 3 classes: main class, checker class and king class. my interface: [CODE] interface IchecherMove{ bool isMoveValid(IchecherMove[,] checker, int columnStart, int rowStart, int columnEnd, int rowEnd); string FindPiece(); string print(); bool pieceDevour(IchecherMove[,] checker, int columnStart, int rowStart, …

Member Avatar for NewOrder
0
1K
Member Avatar for NewOrder

<body bgproperties=fixed background="../britney_spears_12.jpg"> i use that. but it works in iexplorer only , not in firefox? any way to make it work on firefox

Member Avatar for SaintThomas
0
167
Member Avatar for NewOrder

[QUOTE]<table align="center" bgcolor="#FFFF66"> <tr> <td > <img src="../DatingGuy.jpg" align="right"/> <pre> Here's the deal— and it's one of the most amazing secrets of the Mystery Method because it is so counterintuitive, running contrary to everything you've believed about attracting beautiful women your entire life, in order for you to be permitted …

Member Avatar for NewOrder
0
183
Member Avatar for NewOrder

[CODE]using System; using System.Collections.Generic; using System.Text; namespace Project1 { public class Homework { public static void Main(string [] args) { Dad d = new Dad(); d.LitCig(); Helper h = new Helper(); } } public class Dad { void WithDrawMoney() { Console.WriteLine("Father: Money Withdrawn"); } internal void Mercedes() { Console.WriteLine("Father: drive …

Member Avatar for NewOrder
0
266
Member Avatar for NewOrder

i have teh problem when i copy huge sections of text into Dreamweaver, DreamWeaver has no margins..so what happens is that it stretches the page width, resulting in a wide page of text. what i want to do is to break each line before it crosses the page. example. | …

Member Avatar for drjohn
0
134
Member Avatar for NewOrder

[CODE] class Program { static void Main(string[] args) { Number n1 = new Number { X = 10 }; Number n2 = new Number { X = 20 }; Number n3 = n1 + n2;// +(n1,n2) Console.WriteLine("{0}+{1}={2}",n1.X,n2.X,n3.X); int result = n1 + 30; Console.WriteLine(result); Console.WriteLine(n1==n2);//False Console.WriteLine(n1 != n2); //True } …

Member Avatar for alc6379
0
104
Member Avatar for NewOrder

is the initialization happens in this order? The order of variable initiation is the following: 1) Static variable/methods are initialized first. 2) The object. 3) Object variables.

Member Avatar for NewOrder
0
63
Member Avatar for NewOrder

could someone remind me the rules of params. is it... the params method needs to be the last one and you can have only params as the parameter in the method and nothing else?

Member Avatar for Momerath
0
71
Member Avatar for NewOrder

hi, i created a webpage explaining what polymorphism is. could someone point to me any inaccuracies or additions that i could make? [CODE]Polymorphism Syntax Polymorphism is when one type can take the form of a related type. Here is an example: DerivedClass B = new DerivedClass(); B.DoWork(); BaseClass A = …

Member Avatar for NewOrder
0
127
Member Avatar for NewOrder

how can i quote all this in code . so that html wont see it as commands.. [CODE]<html> <head> </ head> <body> </body> <html> </pre> </body> </html>[/CODE] i wont to qoute those commands in my page

Member Avatar for Biome
0
118
Member Avatar for NewOrder

when is it called in an inheritance hierarcy. is the base static constructor called before the derived static constructor?

Member Avatar for Momerath
0
80
Member Avatar for NewOrder

how do i use code in html (i use dreamweaver) when i put a code ..what i get on my page: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Student student = new Student(); student.Name = "Dani"; student.Score = …

Member Avatar for NewOrder
0
157

The End.