473,586 Members | 2,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4267
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 'WpfApplication 1.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******** *************** ***********@mic rosoft.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 'WpfApplication 1.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******** *************** ***********@mic rosoft.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 'WpfApplication 1.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******** *************** ***********@mic rosoft.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******* *************** ************@mi crosoft.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 'WpfApplication 1.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 'WpfApplication 1.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
3747
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 data that they were entering. Following is all exception information. Any thoughts much appreciated. Cheers
15
3857
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. now use task manager to see the GDI usage of the process. everything seems normal. now catch the ListView's scroller and start to move it...
5
1807
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). When I copy my client application to another machine and start it, I got an error about initialized problem. Note that I can browser my web...
7
2624
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: System.ArgumentException occured in System.Windows.Forms.dll
1
3444
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 going wrong. The program has been written to do the following tasks: - Select remote server - Select from two specific services
0
3924
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 - Select from two specific services - Check the status of the server
4
3141
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 further away, completely leaving the selector box area. Any ideas? VS 2003 and VB.Net This is a simple application at the moment but the form is...
4
4173
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 check to see if the status is in stopped or running mode. But that doesn't tell me if it is actually running. I need to know this so that if it...
1
7827
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 am note sure what to do because all propertiers work, except the System.Data.DataColumn.. I didn't write any code by hand and used the visual studio...
21
3320
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 a zipcode that is unknown this form will open. I don't want users to modify any of this customers data until they close the zipcode form. ...
0
7912
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.