Click here to Skip to main content
15,905,229 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dataset in Vs2005 Pin
hpetriffer6-Mar-06 9:35
hpetriffer6-Mar-06 9:35 
GeneralRe: Dataset in Vs2005 Pin
Christian Graus6-Mar-06 10:02
protectorChristian Graus6-Mar-06 10:02 
GeneralRe: Dataset in Vs2005 Pin
hpetriffer6-Mar-06 13:29
hpetriffer6-Mar-06 13:29 
AnswerRe: Dataset in Vs2005 Pin
Chandana Subasinghe6-Mar-06 12:10
Chandana Subasinghe6-Mar-06 12:10 
GeneralRe: Dataset in Vs2005 Pin
hpetriffer6-Mar-06 20:04
hpetriffer6-Mar-06 20:04 
GeneralRe: Dataset in Vs2005 Pin
Chandana Subasinghe7-Mar-06 12:07
Chandana Subasinghe7-Mar-06 12:07 
QuestionChange ScrollBar Color Pin
shashankrt6-Mar-06 7:05
shashankrt6-Mar-06 7:05 
AnswerRe: Change ScrollBar Color Pin
Guffa6-Mar-06 7:28
Guffa6-Mar-06 7:28 
AnswerRe: Change ScrollBar Color Pin
malharone6-Mar-06 7:46
malharone6-Mar-06 7:46 
GeneralRe: Change ScrollBar Color Pin
shashankrt6-Mar-06 8:09
shashankrt6-Mar-06 8:09 
GeneralRe: Change ScrollBar Color Pin
malharone6-Mar-06 8:21
malharone6-Mar-06 8:21 
GeneralRe: Change ScrollBar Color Pin
Dan Neely6-Mar-06 8:34
Dan Neely6-Mar-06 8:34 
QuestionRemove / Disable IE toolbar buttons Pin
sreejnarayan6-Mar-06 4:58
sreejnarayan6-Mar-06 4:58 
AnswerRe: Remove / Disable IE toolbar buttons Pin
Le centriste6-Mar-06 5:46
Le centriste6-Mar-06 5:46 
QuestionAvoid showing rebuild activity on the form Pin
fracalifa6-Mar-06 4:58
fracalifa6-Mar-06 4:58 
AnswerRe: Avoid showing rebuild activity on the form Pin
leppie6-Mar-06 6:01
leppie6-Mar-06 6:01 
GeneralRe: Avoid showing rebuild activity on the form Pin
fracalifa6-Mar-06 8:24
fracalifa6-Mar-06 8:24 
QuestionTransparacy key fix? Pin
Dave McCool6-Mar-06 3:45
Dave McCool6-Mar-06 3:45 
QuestionHelp Me (Directx) Pin
hackerhcm6-Mar-06 3:33
hackerhcm6-Mar-06 3:33 
QuestionForcing NET to Precompile EXE Pin
redfish346-Mar-06 3:03
redfish346-Mar-06 3:03 
AnswerRe: Forcing NET to Precompile EXE Pin
SJ_Phoenix6-Mar-06 3:20
SJ_Phoenix6-Mar-06 3:20 
AnswerRe: Forcing NET to Precompile EXE Pin
leppie6-Mar-06 3:23
leppie6-Mar-06 3:23 
GeneralNgen.exe is Urban Legend (Myth) Pin
redfish348-Mar-06 21:59
redfish348-Mar-06 21:59 
leppie, thanks for your advice.

I precompiled my exe using Ngen.exe and no performance gain was observed. It makes sense since most of the assemblies used by my app are already precompiled NET assemblies. So i add Ngen.exe to my long book of Microsoft urban legends (myths).

I then tried a hack. I attempted to force precaching of forms by automating user interaction off-screen. I click buttons and cause forms to appear so they get cached. After this is done, the precached forms are presented to the user. Requires some dancing in the WndProc with custom messages. You need to wait until after the paint event to get the cached form. This works as long as the form is mostly visible on screen. When form is mostly offscreen, it does not work. This was a hopeful hack, but it came to a dead end.

So after a long trip i have concluded that C# and all the NET languages, is not significantly different than VB6 in GUI performance. This is a disappointment. Luckily i used mostly Win32 calls in my app and not NET equivalents and so porting to C++ will not be to much of a problem.




GeneralRe: Ngen.exe is Urban Legend (Myth) Pin
leppie8-Mar-06 22:11
leppie8-Mar-06 22:11 
AnswerRe: Forcing NET to Precompile EXE Pin
Le centriste6-Mar-06 7:57
Le centriste6-Mar-06 7:57 

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.