|
More site info...
C-Sharp Programming | Forum profile
|
|
Forum profile page for C-Sharp Programming on http://www.codeguru.com.
This report page is the aggregated overview from a single forum: C-Sharp Programming, located on the Message Board at http://www.codeguru.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "C-Sharp Programming" on the Message Board at http://www.codeguru.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on C-Sharp Programming:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
74
|
372
|
1,141
|
|
Post:
|
152
|
889
|
3,170
|
|
|
C-Sharp Programming Posting activity graph:
|
Top authors during last week:
user's latest post:
High Performance DateTime? No...
Published (2009-11-05 20:21:00)
Quote: Originally Posted by waynewalter That code performs terribly for a near real time application. ... Part of my performance gain may come from method inlining from using my own class versus DateTime which may be using methods that don't get inlined. Well, I think your problem is trying to write a "real time" (whatever you mean by that) app in C#. Also, there is no method inlining in C# unless the JIT compiler feels...
user's latest post:
Datagridview currentrow.index...
Published (2009-11-05 18:11:00)
Hello, i'm trying to do this Code: chargedataGridView.CurrentRow.Index = 5; and i get this Code: Property or indexer 'System.Windows.Forms.DataGridViewBand.Index' cannot be assigned to -- it is read only error, does anyone know why ???
user's latest post:
distinct number
Published (2009-11-04 11:46:00)
boudino: that won't help. By the sounds of it he wants unique numbers coming from the RNG which is impossible, that's not how they work. As i said, if you want unique numbers coming out of a single instance of the RNG the best you can do is check if you got the number already and ignore it if you have.
user's latest post:
Questions about building .NET...
Published (2009-11-04 14:47:00)
If you are just starting with Web Services, I would suggest skipping the .Net 2.0 approach and go directly to using WCF (Windows Communication Foundation) in .Net 3.0.
user's latest post:
Host name via Dns.GetHostEntry(ip);
Published (2009-11-05 08:00:00)
It seems that GetHostEntry() is ready for IPv6 while Resolve() expects only IPv4. Can this be the difference? Something in net infrastructure?
user's latest post:
how to open file and read as...
Published (2009-10-31 15:05:00)
I had to read raw database files that were produced on a Palm and the type of CPU uses by this system stores variables in the big-endian format.
user's latest post:
How to make a single instance...
Published (2009-11-01 10:17:00)
Quote: Originally Posted by Mutant_Fruit So what happens if your app crashes the the file isn't deleted? No you maintain a file lock, the mere existence of the file doesn't indicate anything, only the failure to obtain the lock indicates a second instance of the application. I think firefox uses this method: "%appdata%\Roaming\Mozilla\Firefox\Profiles\%profile%\.parentlock" This approach as yet to fail for me, and...
user's latest post:
Notify Icon hiding
Published (2009-11-02 13:16:00)
instruct them to click the arrow expanding the hidden apps, and have them then right click your application. the way windows hides inactive notification area icons is something out of your control. educate your users (on what should be something they know already).
user's latest post:
Face difficulties on timer
Published (2009-11-03 18:27:00)
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; namespace tutorial { public partial class Form1 : Form { Timer _timer; int _tickCount; public Form1() { _tickCount = 0; _timer = new Timer(); _timer.Interval = 1000; // ~1000 ms (1 second) between ticks _timer.Tick += timer1_Tick; _timer.Start(); } private void...
user's latest post:
Threading UI components
Published (2009-11-04 00:42:00)
Quote: Originally Posted by dglienna It's not good to ABORT a thread, unless you have to. Just raise an event on the change event, and set a boolean in the loop. if threadRunning = True *looks embarrassed* Yeah, I should have thought of that, shouldn't have I? Haha, how obvious is it that I'm an Electrical Engineering student who hasn't taken a programming class since Freshman year? Anyway, next question: if it's not...
|
|
|
|
Latest active threads on C-Sharp Programming::
Started 4 days, 18 hours ago (2009-11-05 17:33:00)
by BigEd781
You will have to create you own custom comparer because this: 1.1.1 is not a number. The most simple method would probably be to split on the delimiter and compare each piece in sequence.
Started 1 year, 4 months ago (2008-06-21 09:04:00)
by TheCPUWizard
DateTime is a value object, so is never DIRECTLY created on the heap, so there is something wrong with the information you posted.
Remember that all DateTime operations operations actually operate on a single integral value. This value is directly accessible via the Ticks property.
If you can perform all of your (time critical) operations in terms of ticks, you will have the fastest ...
Started 5 days, 11 hours ago (2009-11-05 00:31:00)
by MNovy
please use code-tags in future to make code better readable.
"dblNumberOfGroups is stuck at zero"
Well, I see no piece of code, where you change this value other than 0.
"dblAccumulatedCharges is stuck at zero"
Also here I see no piece of code, where you change this value other than 0.
"the average charge outputs 'NaN'"...
look at this: dblAverageCharge = dblAccumulatedCharges ...
Started 4 days, 17 hours ago (2009-11-05 18:44:00)
by rliq
A suggestion, but needs a little work. Assuming you have used an equation to calculate all of the points in your foreground ellipse and they are in pt[] and you are drawing in response to a Paint message and hence have the Graphics g.
Draw the foreground ellipse.
Create a GraphicsPath gp, using the points in pt[].
Create a Region r passing gp in the constructor.
Do a g....
Started 5 days, 21 hours ago (2009-11-04 14:47:00)
by Arjay
If you are just starting with Web Services, I would suggest skipping the .Net 2.0 approach and go directly to using WCF ( Windows Communication Foundation) in .Net 3.0.
Started 5 days ago (2009-11-05 11:35:00)
by platniumrover
Either its extremely simple and im nuking it or no body wants to be bothered but, I know it cant be that difficult.
Started 5 days, 1 hour ago (2009-11-05 10:34:00)
by netbird
Found it, ColumnDisplayIndexChanged.
Cheers!
|
|
Hot threads for last week on C-Sharp Programming::
Started 6 days, 19 hours ago (2009-11-03 16:46:00)
by BigEd781
Well, have you tried yet? It is pretty simple. The Timer class exposes an event called "Tick" which fires on every tick of the timer. So, set the timer duration, hook into the Tick event, start the timer. Now, in the Tick event handler method, update the label.
Started 6 days, 19 hours ago (2009-11-03 16:14:00)
by Arjay
Started 5 days, 20 hours ago (2009-11-04 15:59:00)
by BigEd781
Well, consider that I have no clue as to what language it is from I will have to guess.
Code:
result = (31 * result) + (int)(Math.Pow(temp, 2) >> 32);
Started 1 week, 6 days ago (2009-10-27 17:23:00)
by MadHatter Senior Member
heres an article I wrote on that (from my own site) http://sanity-free.org/143/csharp_do...plication.h tml
here's one that has some other ideas on the matter (also references my article) http://www.codeproject.com/KB/cs/Sin...eAppMutex.a spx
in theory you could send the command line in through the same message you post to the message queue, though I'd have to work out how to do that.
Started 6 days, 17 hours ago (2009-11-03 18:24:00)
by funkathustra
Started 5 days, 11 hours ago (2009-11-05 00:31:00)
by MNovy
please use code-tags in future to make code better readable.
"dblNumberOfGroups is stuck at zero"
Well, I see no piece of code, where you change this value other than 0.
"dblAccumulatedCharges is stuck at zero"
Also here I see no piece of code, where you change this value other than 0.
"the average charge outputs 'NaN'"...
look at this: dblAverageCharge = dblAccumulatedCharges ...
Started 1 week ago (2009-11-03 02:48:00)
by boudino
Maybe it has something to do with current culture. In some cultures, "." doesn't denote decimal point, but separates orders. Try to force culture into parsing:
Code:
totaltextBox.Text = (double.Parse(buyprodtextbox.Text, CultureInfo.InvariantCulture) + double.Parse(totaltextBox.Text, CultureInfo.InvariantCulture)).ToString(, CultureInfo.InvariantCulture);
Started 5 days, 23 hours ago (2009-11-04 12:51:00)
by BigEd781
Save the selected row (or index) before filling it and then set it again afterward.
Started 6 days, 5 hours ago (2009-11-04 06:26:00)
by Mutant_Fruit
It's a random number generator, you can't. The best you can do is just ignore a number if you've already generated it.
Started 1 week ago (2009-11-02 20:12:00)
by BigEd781
This is not a problem of "how can you call the method", this is a design issue.
First, your main form class should not be doing much on the side of data processing for other classes. If there is a function like, I don't know, CalSquareRoot in your form class then take it out and put it into its own class where it belongs. If you need to call a method on your form that acts on some control ...
|
|