Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,556 Well done. And whats better is is you almost certainly understand why you ended up with thec ode you did, rather than have someone hand you it. |
Forum: C# Feb 27th, 2009 |
| Replies: 7 Views: 4,949 A reason to use get/set is so that your class contains control over the input
For example
Exam results shoul dbe between 0-100
No exact type exists to hold only 0-100, so, if the class has a... |
Forum: C# Feb 26th, 2009 |
| Replies: 5 Views: 593 well they can only update the record if your code lets them, so in your code allow them either to only hit save if the flag is not set, or, only run the save code if the flag is not set.. |
Forum: C# Jan 25th, 2009 |
| Replies: 15 Views: 1,148 Only if you learn to ask a question that has real words in it. And you explain your interests and what the project is for - otherwise its just an unreadable set of characters and any answer would be... |
Forum: C# Jan 24th, 2009 |
| Replies: 15 Views: 1,148 if all you do is show some pages and allow a language change, I would sincerely expect you to fail. That would be an exceedingly minimal half effort |
Forum: C# Jan 14th, 2009 |
| Replies: 8 Views: 3,010 Which is what I said in a lot less of a post. |
Forum: C# Jan 13th, 2009 |
| Replies: 11 Views: 528 Looking at the numbers hes adding the results together. |
Forum: C# Jan 8th, 2009 |
| Replies: 12 Views: 639 I would expect it to. youve asked it to show you the details of the directory, not the contents within it. |
Forum: C# Jan 4th, 2009 |
| Replies: 9 Views: 3,062 Or you could do it more simply with System.IO.Path.GetDirectoryName |
Forum: C# Jan 2nd, 2009 |
| Replies: 5 Views: 759 Sounds like a config error. Whats in your config file? |
Forum: C# Jan 2nd, 2009 |
| Replies: 18 Views: 4,056 Rapture is right, its not that we hate you or want you to hate us either. However the addage, give a man a fish, he eats for the day, give a man a fishing rod he can eat for a year.
If we give you... |
Forum: C# Dec 31st, 2008 |
| Replies: 36 Views: 2,669 drfarzad, other than you are acting like a small child because no one will code it for you.
If its not your homework, and you need it *critically* it can only therefore be your job, and if you're... |
Forum: C# Dec 23rd, 2008 |
| Replies: 4 Views: 1,852 Simple answer is unless your PC has an externally visible IP, you will need to use port forwarding. |
Forum: C# Dec 22nd, 2008 |
| Replies: 3 Views: 755 If you load them all into an array you can extract disctingly unique values from it.. (theres a hint in there) |
Forum: C# Dec 11th, 2008 |
| Replies: 19 Views: 1,539 Except Ive yet to see a system come out of a converter that didnt need a rewrite anyway |
Forum: C# Dec 8th, 2008 |
| Replies: 39 Views: 2,793 Well it most certainly wont help it.
Try setting the event on the creation of the worker, and never again |
Forum: C# Nov 30th, 2008 |
| Replies: 6 Views: 2,450 Does it have to be IE? If you just run the link as a system call, it will open the default browser. |
Forum: C# Nov 13th, 2008 |
| Replies: 4 Views: 480 You can walk through a library looking for classes that descend from something, and then instantiate those.
CommandTemplate newcmd;
Console.Write("Loading commands");
... |
Forum: C# Nov 12th, 2008 |
| Replies: 11 Views: 735 I hadnt checked the if (a=b) thing, I did however assume that would work like c/c++ would, my bad. :P
I fell fowl of the ignored the return value of a function when I was using the string replace... |
Forum: C# Nov 9th, 2008 |
| Replies: 7 Views: 703 RJC131, I disagree, No one has been rude. The nearest to rudeness is the original poster coming and asking a bunch of people to do his work for him. No one else has been rude |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 922 It hangs coz you told it to
for (int i = 0; i < 1000; )
{
if (lotteryNumbers[i,0] == randomNumber)
... |
Forum: C# Oct 31st, 2008 |
| Replies: 1 Views: 717 As you say, a lot of it is dependant on the app. If you have a huge system with modules, and reporting, and options, and potentially even client specific based chunks, and all that.. Id probably... |
Forum: C# Oct 13th, 2008 |
| Replies: 5 Views: 1,547 You could google for ping and c# and use some c# code to do it without spawning anything - which will be more compliant with working with a service |
Forum: C# Oct 9th, 2008 |
| Replies: 3 Views: 1,704 No you arent a noob, but you didnt post anything about what you had done so far.. Its a waste of everyones time and effort if we post things you've already done.
The problem with "setting a pixel"... |
Forum: C# Oct 9th, 2008 |
| Replies: 4 Views: 432 then your first answer is
GOOGLE |
Forum: C# Oct 4th, 2008 |
| Replies: 5 Views: 1,648 You're using windows, the driver handles it for you. |
Forum: C# Sep 30th, 2008 |
| Replies: 1 Views: 987 Perhaps you should add rows to your D1 dataset? |
Forum: C# Sep 27th, 2008 |
| Replies: 2 Views: 863 Doesnt make any difference. Most likely your desktops on drive C anyway. |
Forum: C# Sep 23rd, 2008 |
| Replies: 10 Views: 1,866 I guess my questions were a waste of my band width? |
Forum: C# Sep 23rd, 2008 |
| Replies: 20 Views: 2,691 Your post is not going to get you answers, the reminder of what a factorial is should be more than plenty assistance in working out the code to do it. Ranting at people will not endear anyone to help... |
Forum: C# Sep 2nd, 2008 |
| Replies: 44 Views: 6,943 Have a read on IDisposable - that will cover the disposal comment
The stringlist would be part of your new class you made from IDisposable, so that when it goes you can itterate through the things... |
Forum: C# Aug 18th, 2008 |
| Replies: 6 Views: 470 Then we need more of the code, because you only show up to the start of the decision making process.. If the file was not found then yes the index will be -1 because its not on the list.. whats the... |