Click here to Skip to main content
15,882,464 members
Home / Discussions / C#
   

C#

 
Questionhow to detect DbClick on a Row in DataGrid Pin
Anonymous1-Sep-03 8:27
Anonymous1-Sep-03 8:27 
AnswerRe: how to detect DbClick on a Row in DataGrid Pin
MeisterBiber1-Sep-03 9:19
MeisterBiber1-Sep-03 9:19 
GeneralValidate a form Pin
nico1931-Sep-03 6:10
nico1931-Sep-03 6:10 
QuestionHow fast is .NET? Pin
Cristoff1-Sep-03 5:46
Cristoff1-Sep-03 5:46 
Answerquestions Pin
Cristoff1-Sep-03 5:52
Cristoff1-Sep-03 5:52 
AnswerRe: How fast is .NET? Pin
Nish Nishant1-Sep-03 6:29
sitebuilderNish Nishant1-Sep-03 6:29 
GeneralRe: How fast is .NET? Pin
J. Dunlap1-Sep-03 9:22
J. Dunlap1-Sep-03 9:22 
AnswerRe: How fast is .NET? Pin
Daniel Turini1-Sep-03 6:37
Daniel Turini1-Sep-03 6:37 
Cristoff wrote:
I wonder how fast is .NET and especially some of its components.
Fast enough.

Hey, wait! Put down that axe and let me explain it. Big Grin | :-D

Cristoff wrote:
As everyone can read pinvoke is slow.
Slower it the word, not slow. It is slower than a native call, but it's quite fast for most applications. I wouldn't make a PInvoke call on a tight loop, tought.

Cristoff wrote:
How fast is GDI+? Does it depend on CPU power or it just requires powerful 2D (or 3D) accelerator?
GDI+ is not hardware accelerated. It depends solely on the main CPU.

Cristoff wrote:
For me SharpDevelop is an example for a very slow application.
Me too. But they are focusing on several other things than performance. So, give them a break. On machines > 800Mhz, and well crafted .NET code, most of the time, users don't see a huge performance hit.

Cristoff wrote:
Should one be careful when using GDI+ for creating new custom windows forms controls or for stuff like CAD drawing, bitmap and vector manipulation programs?
For things like that hardware acceleration is a must. I would go for Managed DirectX, and would not use GDI+ as the performance hit would be too high.

Cristoff wrote:
What is your oppinion?
Performance analysis is extremely dependant of your problem domain. Some (20) years ago, people raised the same kind of question about compilers x pure asm. IMHO, the most wise answer at that time was: "if you are worrying if something will be 2x slower when compiled, then you can't afford a compiler, go and code in ASM". For the kind of work I do, the hit was neglectable, but YMMV.

Cristoff wrote:
about old and slow systems like: P90 or even P400 with old slow TNT or worse graphic cards?
You mentioned using graphics intensive applications on P90 and P400 machines. If these are custommers you can't afford to lose, and/or they can't afford a new machine, you should stick with C++.


You can do it on anything you choose - from .bat to .net - A customer
GeneralRe: How fast is .NET? Pin
Cristoff3-Sep-03 3:10
Cristoff3-Sep-03 3:10 
GeneralRe: How fast is .NET? Pin
Daniel Turini3-Sep-03 3:43
Daniel Turini3-Sep-03 3:43 
Generaldatagrid AddNew Pin
pedropj1-Sep-03 4:42
pedropj1-Sep-03 4:42 
GeneralRe: datagrid AddNew Pin
A.Wegierski1-Sep-03 20:00
A.Wegierski1-Sep-03 20:00 
GeneralRe: datagrid AddNew Pin
pedropj2-Sep-03 4:56
pedropj2-Sep-03 4:56 
GeneralDifferent Control Size in C++ and C# Pin
Somnatic1-Sep-03 0:38
Somnatic1-Sep-03 0:38 
GeneralRe: Different Control Size in C++ and C# Pin
James T. Johnson1-Sep-03 4:02
James T. Johnson1-Sep-03 4:02 
GeneralTcpServerChannel Pin
Anonymous31-Aug-03 23:45
Anonymous31-Aug-03 23:45 
Questionms TAPI? Pin
Roger Alsing31-Aug-03 23:20
Roger Alsing31-Aug-03 23:20 
AnswerRe: ms TAPI? Pin
Michael P Butler1-Sep-03 2:59
Michael P Butler1-Sep-03 2:59 
AnswerRe: ms TAPI? Pin
Kannan Kalyanaraman1-Sep-03 5:58
Kannan Kalyanaraman1-Sep-03 5:58 
QuestionListView Selection behavior in Form ?? Pin
azusakt31-Aug-03 22:58
azusakt31-Aug-03 22:58 
GeneralException when RemotePartner crashes Pin
MeisterBiber31-Aug-03 21:54
MeisterBiber31-Aug-03 21:54 
GeneralXML and SQLServer Pin
Mazdak31-Aug-03 21:50
Mazdak31-Aug-03 21:50 
GeneralXP look on W2K Pin
vikramlinux31-Aug-03 20:44
vikramlinux31-Aug-03 20:44 
GeneralRe: XP look on W2K Pin
J. Dunlap31-Aug-03 21:18
J. Dunlap31-Aug-03 21:18 
GeneralRe: XP look on W2K Pin
vikramlinux31-Aug-03 21:23
vikramlinux31-Aug-03 21:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.