473,395 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

.NET for Desktop?

I use .NET for web but I have been holding off using .NET for desktop apps.
This is because I think it is lower performance and because customers would
need to install Framework which is large.

1. Is .NET recommended for desktop apps? If so, are there exceptions that
would still warrant using C++/MFC and not .NET?

2. Are any ISVs using .NET for major desktop apps? I don't even think
Microsoft apps such as Office use .NET - will .NET be used in Office 12?

Thank You!
--
Greg McPherran
www.McPherran.com
Oct 13 '05 #1
8 1419
1. .NET is fine for the desktop. If it wasn't, Microsoft probably wouldn't
have invested anything in WinForms.
2. I'm sure if you did a search in Google, you'd find plenty of commercial
apps written in .NET. I used to use SourceGear's VALUT product, which is
..NET.

Finally, not having a go at you specifically, but why do people always
question why Microsoft isn't using .NET for, say, Office? Do they not
understand that there is an enourmous existing code-base that they'd work
off, and that to re-develop everything would take quite a significant amount
of time?

"Greg" <gm@mcpherran.com> wrote in message
news:60**********************************@microsof t.com...
I use .NET for web but I have been holding off using .NET for desktop apps.
This is because I think it is lower performance and because customers
would
need to install Framework which is large.

1. Is .NET recommended for desktop apps? If so, are there exceptions that
would still warrant using C++/MFC and not .NET?

2. Are any ISVs using .NET for major desktop apps? I don't even think
Microsoft apps such as Office use .NET - will .NET be used in Office 12?

Thank You!
--
Greg McPherran
www.McPherran.com

Oct 13 '05 #2
>... why do people always
question why Microsoft isn't using .NET for, say, Office? Do they not
understand that there is an enourmous existing code-base that they'd work
off, and that to re-develop everything would take quite a significant amount
of time?

1. So are you saying that companies with existing code bases should not
migrate to .NET for existing desktop apps? Is Microsoft beginning to migrate?

2. Also, I still ask about performance and the need for customers to
download the Framework which is large.

3. Is Windows Forms the GUI to use for desktop? Are there any exceptions
whereby one would still choose MFC? How about DirectX?

I am at a decision point and these questions are important.

Thank You.
Oct 13 '05 #3
Greg wrote:
... why do people always
question why Microsoft isn't using .NET for, say, Office? Do they
not understand that there is an enourmous existing code-base that
they'd work off, and that to re-develop everything would take quite
a significant amount of time? 1. So are you saying that companies with existing code bases should
not migrate to .NET for existing desktop apps? Is Microsoft beginning
to migrate?

If migration is only for the sake of migration, and there is no added value
for the customer, I would say that this is always a bad choice to migrate to
the last "cool & fun" technology, because migration will always introduce
new bugs.
2. Also, I still ask about performance and the need for customers to
download the Framework which is large. Many desktop apps are still distributed on CDs or DVDs, where framework
redistribution is not problem.
3. Is Windows Forms the GUI to use for desktop? There is no one definitive, absolute answer! One can write very cool Win32
desktop apps with the raw Win32 API, with STL ,with QT, with WxWidgets, with
MFC, with Winforms....
Are there any
exceptions whereby one would still choose MFC? How about DirectX?

DirectX9 had a managed interface that can be used from .NET

Arnaud
MVP - VC
Oct 13 '05 #4
"Arnaud Debaene" wrote:
Greg wrote:
... why do people always
question why Microsoft isn't using .NET for, say, Office? Do they
not understand that there is an enourmous existing code-base that
they'd work off, and that to re-develop everything would take quite
a significant amount of time?

1. So are you saying that companies with existing code bases should
not migrate to .NET for existing desktop apps? Is Microsoft beginning
to migrate?

If migration is only for the sake of migration, and there is no added value
for the customer, I would say that this is always a bad choice to migrate to
the last "cool & fun" technology, because migration will always introduce
new bugs.

How about adding new features to existing products? Would it make sense to
add the new features with .NET?
2. Also, I still ask about performance and the need for customers to
download the Framework which is large.

Many desktop apps are still distributed on CDs or DVDs, where framework
redistribution is not problem.

Yes but download is a key delivery method today and so I think the Framework
may deter some customers (e.g. dial up modems) especially for free software
trials (i.e. try before you buy) for example.
3. Is Windows Forms the GUI to use for desktop?

There is no one definitive, absolute answer! One can write very cool Win32
desktop apps with the raw Win32 API, with STL ,with QT, with WxWidgets, with
MFC, with Winforms....

Yes, but isn't WinForms the superior technology? Isn't that one of the key
..NET features/advantages?
Are there any
exceptions whereby one would still choose MFC? How about DirectX?

DirectX9 had a managed interface that can be used from .NET


Thank you Arnaud.

Oct 13 '05 #5

"Greg" <gm@mcpherran.com> wrote in message
news:8D**********************************@microsof t.com...
"Arnaud Debaene" wrote:
Greg wrote:
>> ... why do people always
>> question why Microsoft isn't using .NET for, say, Office? Do they
>> not understand that there is an enourmous existing code-base that
>> they'd work off, and that to re-develop everything would take quite
>> a significant amount of time?
> 1. So are you saying that companies with existing code bases should
> not migrate to .NET for existing desktop apps? Is Microsoft beginning
> to migrate?

If migration is only for the sake of migration, and there is no added
value
for the customer, I would say that this is always a bad choice to migrate
to
the last "cool & fun" technology, because migration will always introduce
new bugs.

How about adding new features to existing products? Would it make sense to
add the new features with .NET?

Will using .NET make upgrading the product easier or cheaper? Does it enable
the new features? If not it might be better not to move yet.
3. Is Windows Forms the GUI to use for desktop?
There is no one definitive, absolute answer! One can write very cool
Win32
desktop apps with the raw Win32 API, with STL ,with QT, with WxWidgets,
with
MFC, with Winforms....

Yes, but isn't WinForms the superior technology? Isn't that one of the key
.NET features/advantages?


WinForms is pretty much a wrapper around raw Win32. Its easier to work with,
but nothing terribly superior. Its value is in ease and the 3rd party
controls available.
Oct 13 '05 #6
"Daniel O'Connell [C# MVP]" <onyxkirx@--NOSPAM--comcast.net> wrote:
WinForms is pretty much a wrapper around raw Win32. Its easier to work with,
but nothing terribly superior.


The only problem I have with WinForms is that IME its performance is *far*
inferior to raw Win32.
Oct 13 '05 #7

Greg wrote:
"Arnaud Debaene" wrote:
Greg wrote:
> ... why do people always
> question why Microsoft isn't using .NET for, say, Office? Do they
> not understand that there is an enourmous existing code-base that
> they'd work off, and that to re-develop everything would take quite
> a significant amount of time?
1. So are you saying that companies with existing code bases should
not migrate to .NET for existing desktop apps? Is Microsoft beginning
to migrate?

If migration is only for the sake of migration, and there is no added value
for the customer, I would say that this is always a bad choice to migrate to
the last "cool & fun" technology, because migration will always introduce
new bugs.

How about adding new features to existing products? Would it make sense to
add the new features with .NET?


Possibly : if you can integrate new features in .NET within an
existing, native, app and .NET provide some clear advantage for
developping these new features, this may be one way to go.

3. Is Windows Forms the GUI to use for desktop?

There is no one definitive, absolute answer! One can write very cool Win32
desktop apps with the raw Win32 API, with STL ,with QT, with WxWidgets, with
MFC, with Winforms....

Yes, but isn't WinForms the superior technology? Isn't that one of the key
.NET features/advantages?


Define "superior" technology... There is no simple measurement of such
a thing! To begin with, you should take into account the cost of the
learning curve for your developpers when switching to .NET.
Next, there are pro and cons in .NET : For example, C# expressiveness
in clearly inferior to C++'s one (no synchronous destructors, no
templates, etc....), but C++ is more "dangerous" (raw pointers, unsafe
casts ....).
On the other hand, the Winforms framework is far superior to MFC when
it comes to object model, the broad coverage and quality of the
framework made if often easier and faster to code some components,
etc... Comparison can go on and on forever... At the end of the day,
it's more a matter of personnal taste and feeling than a clear,
rational, choice.

Arnaud
MVP - VC

Oct 13 '05 #8
Hi Greg,

This was written completely in .Net:

http://www.eecs.wsu.edu/paint.net/

Give it a test drive. The performance is great and you can even download
the complete source code to see how they did things. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"Greg" <gm@mcpherran.com> wrote in message
news:60**********************************@microsof t.com...
I use .NET for web but I have been holding off using .NET for desktop apps. This is because I think it is lower performance and because customers would need to install Framework which is large.

1. Is .NET recommended for desktop apps? If so, are there exceptions that
would still warrant using C++/MFC and not .NET?

2. Are any ISVs using .NET for major desktop apps? I don't even think
Microsoft apps such as Office use .NET - will .NET be used in Office 12?

Thank You!
--
Greg McPherran
www.McPherran.com

Oct 13 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
0
by: Uttam | last post by:
Hello, I created and worked on my application on my desktop and copied it to my laptop. After putting in many additions to the functionality on the Laptop version, I copied it back to my...
3
by: Elp | last post by:
Hi, I have developped a Windows applcation (in C#) that allows, among other things, users to view and control the desktop of a remote Windows XP Pro machine. I have actually simply embedded the...
5
by: TerryWilson | last post by:
I am developing a web based service tool using asp.net that we will distribute with our product. This service tool will be used for remotely configuring the product, problem determination, etc. ...
2
by: John Brock | last post by:
At work we are using a virtual desktop manager called AltDesk (http://www.astonshell.com/), and it is causing a weird and extremely annoying problem with the VB.NET application I am developing. ...
15
by: Mephisto187 | last post by:
How can I find the currently visible desktop? By calling EnumWindowStations and EnumDesktops I get a list of all available desktops. But is there a way to figure out which one of them is currently...
0
by: Mark Henry | last post by:
I wrote a Desktop class for manipulating desktops and window stations. The class is being used by a service for starting applications on the interactive desktop (the service cannot run as Local...
5
by: GH | last post by:
Is it possible to display images on the desktop itself, like the bacground but not as a background? And not as icons either. Anything you put in the \Desktop folder shows up as an icon on the...
1
by: Damjan Malis | last post by:
Hi guys... could anyone please help me with my problem getting mouse cursor position while desktop being locked (WIN + L). MSDN says: "The input desktop must be the current desktop when you...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.