Click here to Skip to main content
15,891,409 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionTreeView - Howto add Controls? Pin
mgaerber14-May-04 9:23
mgaerber14-May-04 9:23 
AnswerRe: TreeView - Howto add Controls? Pin
mikasa15-May-04 13:00
mikasa15-May-04 13:00 
AnswerRe: TreeView - Howto add Controls? Pin
TigerNinja_18-May-04 19:14
TigerNinja_18-May-04 19:14 
Generalcomposite web control Pin
sangeetha bhatta13-May-04 19:10
sangeetha bhatta13-May-04 19:10 
GeneralRe: composite web control Pin
TigerNinja_14-May-04 8:01
TigerNinja_14-May-04 8:01 
General.net Pin
Yulianto.13-May-04 17:44
Yulianto.13-May-04 17:44 
GeneralRe: .net Pin
TigerNinja_14-May-04 8:05
TigerNinja_14-May-04 8:05 
GeneralTELL ME I'M WRONG !! Pin
philippe dykmans13-May-04 15:13
philippe dykmans13-May-04 15:13 
Hello guys,

Say, i need a little cheering up here...

I've been programming in .NET for over two and a half months now. And at this point i've come to the conclusion that i doubt .NET more than i doubt myself. IMHO a pretty dangerous situation. Back in mfc-days i used to spend two days on a problem before turning to internet to see if a MFC bug was involved. Now, in .NET, i turn to internet to see what bugs i can expect before i even put as little as a textbox on a form. Is this normal??

I absolutely adore C#. No doubt. And I must admit that .NET can be an incredibly powerful platform. Moreover, i'm convinced that it once WILL be. So, i will try to hang on to it as long as possible. But then again... boy... am i glad i skipped version 1.0!

Please tell me i'm wrong!

Ok, a few examples:

- A textbox without a border cuts off the lower parts of characters like y, p and g. Mainly in fontsize 11 with AutoSize turned ON.

- Listviews don't display item images when put on a usercontrol in a usercontrol. And the headers have serious painting errors.

- Listboxes don't always fire their click events.

- Tabpages cannot be disabled or hidden.

- When i move a project to another location, i always do a complete rebuild. Of the project itself and of any other projects involved. Compiles with no errors. Two weeks later, for no apparent reason, the program crashes on the exception that there are no appropriate resources compiled into the control. Rebuild all... no errors! Run it... and crash!!

- Every now and then controls dissapear from the designer. Takes a few rebuilds and IDE restarts to get them back on... most of the time... yet not always.

- I need a virtual listview... nope. The solution? Unwrap the .NET control piece by piece until it is stripped to the bare Win32 control and use the API and messages like we used to. Only... this time lookup the old header files to get all the constants, change "defines" into "const int", don't forget the WndProc and spend another hour packing all the structs into the right marshalling format. ALL my controls have at least two platform invokes!! And this is the only solution that is proposed over and over again. Everywhere you look for answers, they always boil down to "strip the .NET part and start programming like you used to...". But is that a future-stable solution?

- Some scrollbars are XP, while others stay Win95. Or was that Win3.11? And scrollbars tend to lie if you ask them if they are visible or not.

- A simple picturebox has no scrollbars!!

- When i start my old MFC software, ALL the controls and dialogs obey to the XP themes and colours. But not my .NET application!!?? I know, i know...
Application.EnableVisualStyles();
I DO that! Nevertheless, textbox backgrounds fail, and some dialogs too! While the least i had expected was to have visual consistency!

And these are only a few among many.

.NET is supposed to be the platform that rockets you into writing stable and gui-intensive software. Well... maybe... once it's debugged.

Ok, i'll stop nagging. Just please, tell me i'm wrong!

Thanx for bearing with me Wink | ;-)

Grtz,
Philippe

Sleepy | :zzz:

Philippe Dykmans
Software developpement
University of Antwerp
GeneralRe: TELL ME I'M WRONG !! Pin
TigerNinja_14-May-04 13:52
TigerNinja_14-May-04 13:52 
GeneralRe: TELL ME I'M WRONG !! Pin
philippe dykmans15-May-04 4:24
philippe dykmans15-May-04 4:24 
GeneralProblem with TCP in a derived UserControl Pin
Tim Kohler13-May-04 8:47
Tim Kohler13-May-04 8:47 
QuestionHow to announce Windows Service Manager, that service fails (Recovery Options) Pin
Jan Lehmann12-May-04 20:18
Jan Lehmann12-May-04 20:18 
AnswerRe: How to announce Windows Service Manager, that service fails (Recovery Options) Pin
ian mariano13-May-04 10:28
ian mariano13-May-04 10:28 
AnswerRe: How to announce Windows Service Manager, that service fails (Recovery Options) Pin
ian mariano13-May-04 10:33
ian mariano13-May-04 10:33 
GeneralSystem.Environment.MachineName Exception Pin
Member 9993512-May-04 8:40
Member 9993512-May-04 8:40 
GeneralRe: System.Environment.MachineName Exception Pin
Aryadip12-May-04 20:21
Aryadip12-May-04 20:21 
GeneralRe: System.Environment.MachineName Exception Pin
TigerNinja_18-May-04 19:17
TigerNinja_18-May-04 19:17 
GeneralEnterprise Instrumentation Framework Pin
Mark Tutt12-May-04 3:54
Mark Tutt12-May-04 3:54 
GeneralInstall Shield Help Pin
hprahul12-May-04 0:27
hprahul12-May-04 0:27 
GeneralRe: Install Shield Help Pin
Roman Rodov12-May-04 16:10
Roman Rodov12-May-04 16:10 
GeneralRe: Install Shield Help Pin
O Ismail19-May-04 7:30
O Ismail19-May-04 7:30 
GeneralCalling Modeless Dialog box from a callback Pin
Bilal Farooq11-May-04 20:34
Bilal Farooq11-May-04 20:34 
GeneralRe: Calling Modeless Dialog box from a callback Pin
Aryadip11-May-04 23:46
Aryadip11-May-04 23:46 
GeneralRe: Calling Modeless Dialog box from a callback Pin
Bilal Farooq12-May-04 19:48
Bilal Farooq12-May-04 19:48 
Generalcomposit data entry control Pin
sangeetha bhatta11-May-04 17:12
sangeetha bhatta11-May-04 17:12 

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.