Click here to Skip to main content
15,918,742 members
Home / Discussions / C#
   

C#

 
AnswerRe: Keeping External App from closing or being minimized Pin
Dave Kreskowiak12-Oct-05 4:10
mveDave Kreskowiak12-Oct-05 4:10 
GeneralRe: Keeping External App from closing or being minimized Pin
DeepToot12-Oct-05 9:52
DeepToot12-Oct-05 9:52 
Questionplay an avi from a stream Pin
Sasuko11-Oct-05 11:11
Sasuko11-Oct-05 11:11 
AnswerRe: play an avi from a stream Pin
Dave Kreskowiak12-Oct-05 3:55
mveDave Kreskowiak12-Oct-05 3:55 
QuestionConsidering move from MFC/C++ to Winforms/C# ??? looking for advice Pin
Warren Stevens11-Oct-05 10:51
Warren Stevens11-Oct-05 10:51 
AnswerRe: Considering move from MFC/C++ to Winforms/C# ??? looking for advice Pin
Christian Graus11-Oct-05 11:12
protectorChristian Graus11-Oct-05 11:12 
AnswerRe: Considering move from MFC/C++ to Winforms/C# ??? looking for advice Pin
Michael P Butler11-Oct-05 20:05
Michael P Butler11-Oct-05 20:05 
AnswerRe: Considering move from MFC/C++ to Winforms/C# ??? looking for advice Pin
Damir Valiulin9-Apr-06 8:07
Damir Valiulin9-Apr-06 8:07 
Hi, Warren!

Sorry to bring up this 6 month old post Smile | :) , but about the time of your post I was working on certain ...Prop application (you might recall that old project). It is a desktop app and was written initially in .NET Managed C++ by someone else. My task was to "fix it up" and I had two month (with lots of overtime) to do it. Well, it wasn't well written to begin with, so I ended up almost rewriting the whole thing.

The experience was very unpleasant.

1. Working with WinForms resources VS2003 is horrible. And why aren't the sizes and coordinates relative like with MFC/Win32? Absolute pixel coordinates is a horrible idea! I pulled lots of hair trying to get some of the controls to look properly on different monitor resolution.

2. With MFC you got all the source code so you can get down and dirty and customize some controls to behave and look just the way you want it. Not with .NET controls! Customizing certain controls was also a great pain.

3. If you use Interop, browser control, and third party controls (which you would in most professional desktop apps) you end up with gazillion dlls that have to be shipped with your executable.

4. Cannot run .NET app off the network. There are workarounds, but they are so complicated and all have to be done on client side by the person installing your app. Just reading these workarounds I got a feeling that you ahve to be an IT pro to do it.

5. Code protection. Basically you are giving awya your source code with every app that you ship to your customer. Sure you can try obfuscating, but that doesn't solve the problem 100%.

6. And why did they have to use exceptions for any kind of error mechanism? What's wrong with returning true/false and maybe add another way of retrieving details of error at my own peril? All these exceptions drove me nuts! Sometimes I don't want to be concerned if something very insignicant fails! Maybe I just check for a final result and that's good enough. But not in .NET - you can't leave anything unchecked! You have to add ugly try/catch block to every .NET framework call if you want to make sure that your app doesn't pop-up a very confusing message box to your end user.

These are just a few issues that come to my memory. I still recall that experience as big and very long nightmare. I like MFC and I'm still sticking to it, until an app written in it just won't run on some new version of Windows...
GeneralRe: Considering move from MFC/C++ to Winforms/C# ??? looking for advice Pin
Warren Stevens10-Apr-06 7:37
Warren Stevens10-Apr-06 7:37 
GeneralXbox 360 Development with the .NET Framework Petition Pin
jamesthurley11-Oct-05 10:40
jamesthurley11-Oct-05 10:40 
GeneralRe: Xbox 360 Development with the .NET Framework Petition Pin
Wjousts11-Oct-05 10:49
Wjousts11-Oct-05 10:49 
GeneralRe: Xbox 360 Development with the .NET Framework Petition Pin
XRaheemX11-Oct-05 11:05
XRaheemX11-Oct-05 11:05 
GeneralRe: Xbox 360 Development with the .NET Framework Petition Pin
Tom Larsen11-Oct-05 11:09
Tom Larsen11-Oct-05 11:09 
GeneralRe: Xbox 360 Development with the .NET Framework Petition Pin
leppie11-Oct-05 16:13
leppie11-Oct-05 16:13 
QuestionWaitHandle.WaitAny Pin
AISchreiber11-Oct-05 10:21
AISchreiber11-Oct-05 10:21 
AnswerRe: WaitHandle.WaitAny Pin
leppie11-Oct-05 16:19
leppie11-Oct-05 16:19 
QuestionDataset database issues Pin
cvncpu11-Oct-05 9:47
cvncpu11-Oct-05 9:47 
AnswerRe: Dataset database issues Pin
Bahadir Cambel11-Oct-05 13:57
Bahadir Cambel11-Oct-05 13:57 
AnswerRe: Dataset database issues Pin
albCode13-Oct-05 21:16
albCode13-Oct-05 21:16 
QuestionAppDomain and unloading assemblies Pin
mirano11-Oct-05 9:38
mirano11-Oct-05 9:38 
AnswerRe: AppDomain and unloading assemblies Pin
David Stone11-Oct-05 11:09
sitebuilderDavid Stone11-Oct-05 11:09 
GeneralRe: AppDomain and unloading assemblies Pin
mirano11-Oct-05 12:11
mirano11-Oct-05 12:11 
GeneralRe: AppDomain and unloading assemblies Pin
David Stone11-Oct-05 12:36
sitebuilderDavid Stone11-Oct-05 12:36 
GeneralRe: AppDomain and unloading assemblies Pin
leppie11-Oct-05 16:25
leppie11-Oct-05 16:25 
GeneralRe: AppDomain and unloading assemblies Pin
mirano11-Oct-05 21:50
mirano11-Oct-05 21:50 

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.