Forum: C# Mar 1st, 2009 |
| Replies: 14 Views: 2,462 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,408 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: 567 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,110 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,110 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: 2,854 Which is what I said in a lot less of a post. |
Forum: C# Jan 13th, 2009 |
| Replies: 11 Views: 523 Looking at the numbers hes adding the results together. |
Forum: C# Jan 8th, 2009 |
| Replies: 12 Views: 629 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: 2,989 Or you could do it more simply with System.IO.Path.GetDirectoryName |
Forum: C# Jan 2nd, 2009 |
| Replies: 5 Views: 744 Sounds like a config error. Whats in your config file? |
Forum: C# Jan 2nd, 2009 |
| Replies: 18 Views: 3,926 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,585 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,771 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: 723 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,499 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,747 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,351 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: 473 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: 728 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: 698 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: Pascal and Delphi Nov 9th, 2008 |
| Replies: 18 Views: 1,288 thats because vb doesnt do the #$ notation.. I believe its something like vbCrLf .. but I dont do vb, its pointless.
and I believe VB still has a pos function where you can test if its > 1 or... |
Forum: Pascal and Delphi Nov 4th, 2008 |
| Replies: 2 Views: 714 Because you dont check Process32First, if there is none.. that will be fase and you could save yourself a lot of effort with changing the name of your variable to mean still looking.. so its
... |
Forum: C# Nov 4th, 2008 |
| Replies: 13 Views: 918 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: 690 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: Pascal and Delphi Oct 19th, 2008 |
| Replies: 4 Views: 3,362 Well the answer would be more evident if you debugged it.
You tell me what the values of each part of that line works out to be, so Z, ln(Z), etc.. you tell me which bit fails.. and what the... |
Forum: Pascal and Delphi Oct 16th, 2008 |
| Replies: 3 Views: 796 Ive not seen that, and with that screen shot its hard to tell as theres a red dot underneath.. the current line.
normally that only happens when its either finding a similar named dcu or cant... |
Forum: C# Oct 13th, 2008 |
| Replies: 5 Views: 1,535 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,630 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: 430 then your first answer is
GOOGLE |
Forum: C# Oct 4th, 2008 |
| Replies: 5 Views: 1,609 You're using windows, the driver handles it for you. |
Forum: C# Sep 30th, 2008 |
| Replies: 1 Views: 954 Perhaps you should add rows to your D1 dataset? |
Forum: C# Sep 27th, 2008 |
| Replies: 2 Views: 839 Doesnt make any difference. Most likely your desktops on drive C anyway. |
Forum: C# Sep 23rd, 2008 |
| Replies: 10 Views: 1,824 I guess my questions were a waste of my band width? |
Forum: C# Sep 23rd, 2008 |
| Replies: 20 Views: 2,641 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,849 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: 468 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... |