473,399 Members | 2,146 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,399 software developers and data experts.

WPF or Windows Forms

Hi

If I have a choice of WPF or Windows Form versions of a control which one
should I purchase?

Thanks

Regards
Feb 24 '08 #1
6 4240
Jon Skeet [C# MVP] wrote:
>
I believe that WPF is much more efficient overall - but tends to be
used to do snazzier things, which obviously have their own costs.
Jon, do you see future support as an issue at all? Or do you expect both to be
equally well supported long term?
Feb 24 '08 #2
I have to wonder if VS2008/WPF is really ready for prime time. I had some
time this weekend and finally installed the DVD with VS2008 I had gotten.
Open a WPF application and place a button on the form, code the click event
to show a message box, hit the F5 key and get an error that has nothing to do
with my code!
Error Option Strict On disallows implicit conversions from
'System.Windows.Application' to 'WpfApplication1.Application'.

It was easy to fix, but it sure makes me wonder if it is worth my time to
even start to use WPF yet!
--
Terry
"John" wrote:
Hi

If I have a choice of WPF or Windows Form versions of a control which one
should I purchase?

Thanks

Regards
Feb 25 '08 #3
I have started down the WPF path as a learning exercise. It does seem to be
quite fun and like the way that the vector-based output resolves the problem
of pixel-based rendering. (Jumping from my 1280x1024 19" LCD to my
1920x1200 15" laptop shows the problem to good effect!)

I haven't noticed any stability problems as yet but there are some controls
missing as you point out. I will be trying out the grid and other controls
from Infragistics pretty soon I imagine. Anybody got any experience of
these - good or bad?

--

BlackWasp
www.blackwasp.co.uk
"Terry" <Te****@nospam.nospamwrote in message
news:06**********************************@microsof t.com...
>I have to wonder if VS2008/WPF is really ready for prime time. I had some
time this weekend and finally installed the DVD with VS2008 I had gotten.
Open a WPF application and place a button on the form, code the click
event
to show a message box, hit the F5 key and get an error that has nothing to
do
with my code!
Error Option Strict On disallows implicit conversions from
'System.Windows.Application' to 'WpfApplication1.Application'.

It was easy to fix, but it sure makes me wonder if it is worth my time to
even start to use WPF yet!
--
Terry
"John" wrote:
>Hi

If I have a choice of WPF or Windows Form versions of a control which one
should I purchase?

Thanks

Regards
Feb 25 '08 #4
Well I have spent some more time with it and am even less impressed. Just
fooling around with a regular windows form app. and am having all sorts of
wierd problems. Half the time when I hit the F5 key, I get 2 (back to back)
error messages telling me that the <path>.form1.vb can not be accessed at
this time. I put controls on the form and hit the F5 key, and the controls
arn't there in run mode. I hit save and get out and back in and my changes
wern't saved! This has happened several times! It may have something to do
with resizing the form, not sure yet. But like I said - I am not impressed!
I am using the version that came with my MSDN subscription that I received a
couple of months ago - wonder if there is an update somewhere.
--
Terry
"BlackWasp" wrote:
I have started down the WPF path as a learning exercise. It does seem to be
quite fun and like the way that the vector-based output resolves the problem
of pixel-based rendering. (Jumping from my 1280x1024 19" LCD to my
1920x1200 15" laptop shows the problem to good effect!)

I haven't noticed any stability problems as yet but there are some controls
missing as you point out. I will be trying out the grid and other controls
from Infragistics pretty soon I imagine. Anybody got any experience of
these - good or bad?

--

BlackWasp
www.blackwasp.co.uk
"Terry" <Te****@nospam.nospamwrote in message
news:06**********************************@microsof t.com...
I have to wonder if VS2008/WPF is really ready for prime time. I had some
time this weekend and finally installed the DVD with VS2008 I had gotten.
Open a WPF application and place a button on the form, code the click
event
to show a message box, hit the F5 key and get an error that has nothing to
do
with my code!
Error Option Strict On disallows implicit conversions from
'System.Windows.Application' to 'WpfApplication1.Application'.

It was easy to fix, but it sure makes me wonder if it is worth my time to
even start to use WPF yet!
--
Terry
"John" wrote:
Hi

If I have a choice of WPF or Windows Form versions of a control which one
should I purchase?

Thanks

Regards

Feb 25 '08 #5
Weird. I am using the Team Development version downloaded from MSDN.

I am only using C#, not VB. Can't see why this would be a problem though.

--

BlackWasp
www.blackwasp.co.uk
"Terry" <Te****@nospam.nospamwrote in message
news:57**********************************@microsof t.com...
Well I have spent some more time with it and am even less impressed. Just
fooling around with a regular windows form app. and am having all sorts of
wierd problems. Half the time when I hit the F5 key, I get 2 (back to
back)
error messages telling me that the <path>.form1.vb can not be accessed at
this time. I put controls on the form and hit the F5 key, and the
controls
arn't there in run mode. I hit save and get out and back in and my
changes
wern't saved! This has happened several times! It may have something to
do
with resizing the form, not sure yet. But like I said - I am not
impressed!
I am using the version that came with my MSDN subscription that I received
a
couple of months ago - wonder if there is an update somewhere.
--
Terry
"BlackWasp" wrote:
>I have started down the WPF path as a learning exercise. It does seem to
be
quite fun and like the way that the vector-based output resolves the
problem
of pixel-based rendering. (Jumping from my 1280x1024 19" LCD to my
1920x1200 15" laptop shows the problem to good effect!)

I haven't noticed any stability problems as yet but there are some
controls
missing as you point out. I will be trying out the grid and other
controls
from Infragistics pretty soon I imagine. Anybody got any experience of
these - good or bad?

--

BlackWasp
www.blackwasp.co.uk
"Terry" <Te****@nospam.nospamwrote in message
news:06**********************************@microso ft.com...
>I have to wonder if VS2008/WPF is really ready for prime time. I had
some
time this weekend and finally installed the DVD with VS2008 I had
gotten.
Open a WPF application and place a button on the form, code the click
event
to show a message box, hit the F5 key and get an error that has nothing
to
do
with my code!
Error Option Strict On disallows implicit conversions from
'System.Windows.Application' to 'WpfApplication1.Application'.

It was easy to fix, but it sure makes me wonder if it is worth my time
to
even start to use WPF yet!
--
Terry
"John" wrote:

Hi

If I have a choice of WPF or Windows Form versions of a control which
one
should I purchase?

Thanks

Regards

Feb 25 '08 #6
>I have to wonder if VS2008/WPF is really ready for prime time.
It isn't. Plain and simple. WPF is to WinForms as Vista is to Windows;
some nice shiny new promises with very questionable implementation.

I started to rewrite a small stats application for one of my customers a few
weeks ago. I got as far as wondering why I couldn't get root-lines to show
up on a tree-view control, and after much Googling realised that I'd need
100+ lines of XAML template-altering non-intuitive chevron and curly bracket
laced code written by some hobbyist on the internet for something that still
wouldn't quite work the same way as the original root lines in good old
fashioned WinForms. This is how MS define WPF as being "finished". Yeah,
right...

If MS really want people to start seriously developing with this new
platform, they need to finish it first. Some areas feel like giant leaps
forward, others feel like big steps backwards and some controls just haven't
been implemented at all.

Couple that to a severe lack of decent examples and sample code, and the web
being littered with samples that date back to November CTPs using code that
doesn't work anymore, and it didn't take me long to realise I won't be using
WPF for anything any time soon.

Error Option Strict On disallows implicit conversions from
'System.Windows.Application' to 'WpfApplication1.Application'.
Yep, I got that every time as well. Turns out VS2008 isn't strictly
finished for the new platform either. There were many basic GUI things I
found that couldn't be done in VS and required me to use Expression Blend,
many simple layout things I couldn't do in Expression that I had to do in
VS2008 (I can't tell you how much fun it is to keep switching from one
gigantically memory hungry app to another every 5 minutes, telling it to
reload your project) and some relatively simple things that couldn't be done
in either one and required me to edit XAML directly.
And don't even get me started on the new printing services. Such a
collossal wreck that even Tom Cruise himself wouldn't be able to help.

Feb 25 '08 #7

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

Similar topics

2
by: Greg Bacchus | last post by:
Hi, I'm getting an exception that really has me stumped. It's sporadic at best, it's only happened a handful of times. This particular time it happened when the user pressed 'Alt-S' to save the...
15
by: Wiktor Zychla | last post by:
today we've found a critical issue regarding the ListView from Windows.Forms. it was confirmed on several machines with Win2K and XP. here's the problem: create a ListView with about 50000 rows....
5
by: david | last post by:
I have developed my web service with a domain name of my computer name and wwwroot directory. I also developed a client of windows form application. It works locally (i.e. in the same machine). ...
7
by: Tyler Foreman | last post by:
Hello, I have a strange problem that occurs every so often in my application. It usually takes place when I hide one form and activate another. What happens is I get the following exception:...
1
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm...
0
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server -...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
4
by: tshad | last post by:
What would be a good way to check programmatically whether a service was running? We have a service that dies periodically and I need to check to see if this service is running. I know how to...
1
by: mfunkmann | last post by:
Hi, I recently got an error and I don't know how to fix it: Error 1 'System.Data.DataColumn' does not contain a definition for 'Windows' C:\c#\CsharpPRO\Form1.Designer.cs 304 77 CsharpPRO I...
21
by: Dan Tallent | last post by:
In my application I have a form (Customer) that I want to be able to open multiple copies at once. Within this form I have other forms that can be opened. Example: ZipCode. When the user enters...
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: 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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.