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

VB.Net vs VB6 performance

For those of you who have used both VB6 and VB.Net, how would you say
performance compares (specifically for Windows Forms apps)? I have found
that forms display much more slowly in VB.Net. I'm wondering has anyone had
a problem with this, where users and/or managers complain about the slower
UI?
Nov 20 '05 #1
9 7239
I've experienced the opposite... things are much faster/smoother with .NET
and Windows Forms.
Granted, upgrading a project from VB6 to .NET creates a slower program, but
after months of painful.. I mean a few minutes of careful upgrading, things
speed up nicely.
Just to compare speeds, I'm on P3 2.6 GHz, 512Mb RAM, XP Professional and
VS.NET 2003. It wouldn't suprise me at all if anyone's had slower
performance on any OS older than Win 2K, or on processors less than 1.5 GHz.
__________________________________
The Grim Reaper

"David Schwartz" <da**@hr-symphony.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
For those of you who have used both VB6 and VB.Net, how would you say
performance compares (specifically for Windows Forms apps)? I have found
that forms display much more slowly in VB.Net. I'm wondering has anyone had a problem with this, where users and/or managers complain about the slower
UI?

Nov 20 '05 #2
David,
My experience has been poorly written VB.NET applications perform worse then
well written VB6 applications. On the same token well written VB.NET
applications perform better then poorly written VB6 applications. Further I
find that well written VB.NET applications perform about the same as well
written VB6 applications...

Oh! I find its easier & faster to write well written VB.NET applications,
then it is to write well written VB6 applications. As the framework handles
& offers a lot of things for you, such as global exception handlers and full
OOP.

I have seen reports, but have not really noticed it myself, that the start
up time may be slower for a VB.NET app.

The following articles provide information on writing .NET code that
performs well.

http://msdn.microsoft.com/library/de...anagedcode.asp

http://msdn.microsoft.com/library/de...anagedapps.asp

http://msdn.microsoft.com/library/de...vbnstrcatn.asp

http://msdn.microsoft.com/library/de...tchperfopt.asp

http://msdn.microsoft.com/library/de...tperftechs.asp

Hope this helps
Jay

"David Schwartz" <da**@hr-symphony.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
For those of you who have used both VB6 and VB.Net, how would you say
performance compares (specifically for Windows Forms apps)? I have found
that forms display much more slowly in VB.Net. I'm wondering has anyone had a problem with this, where users and/or managers complain about the slower
UI?

Nov 20 '05 #3

I agree. Windows .Net apps, especially MDI apps with child forms
containing many controls are very slow.

In fact, there is little to compare with VB5/6. They are much faster
when it comes to displaying, and refreshing forms. (and more
reliable). VB.Net can sometimes be so slow on a screen refresh (like
when moving a window) some controls are not redrawn correctly.

I started porting a VB6 client/server app to VB.Net, and used many of
the new graphics features of the controls (labels, buttons, panels
etc), to help make the app more visually pleasing, but also easier to
use, and less ambiguous.

I quickly found that the performance went down like the titanic! - so
I quickly went about removing all of the graphical features I had
added, and set my self a new goal - Make It As Boring As Possible!

I think a more accurate performance test, would be Java GUI apps vs.
VB.Net.

I've also noticed that the performance seems to be better on a
development machine (with visual studio .net installed), than on an
end user machine with only the framework installed.

SS.
On Fri, 11 Jun 2004 16:45:31 -0400, "David Schwartz"
<da**@hr-symphony.com> wrote:
For those of you who have used both VB6 and VB.Net, how would you say
performance compares (specifically for Windows Forms apps)? I have found
that forms display much more slowly in VB.Net. I'm wondering has anyone had
a problem with this, where users and/or managers complain about the slower
UI?


Nov 20 '05 #4
Hi Sarah,

A nice written message and in my opinon a very good explanation.

However, would there be a stop in software development while the hardware is
going everytime faster and faster.

This had been as well when the graphical monitor started. Using programs for
a 25X80 monitor was much faster. Those programs are hardly used anymore.

Just my thought about this question.

Cor
Nov 20 '05 #5
Cor, I agree that software development should move ahead as hardware
performance does, but given a mixed user environment (not always using the
latest, fastest hardware), how can you sell management on using VB.Net over
VB6 when forms with a decent number of controls display much more slowly in
..Net?

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uT**************@tk2msftngp13.phx.gbl...
Hi Sarah,

A nice written message and in my opinon a very good explanation.

However, would there be a stop in software development while the hardware is going everytime faster and faster.

This had been as well when the graphical monitor started. Using programs for a 25X80 monitor was much faster. Those programs are hardly used anymore.

Just my thought about this question.

Cor

Nov 20 '05 #6
Hi David,

You cannot until you show by instance a nice docked form, with some tooltips
on it or whatever, and they start asking you if that can be done in VB6 and
you tell the price for that. Than that is after you. That has always been.

Why is graphics needed Dos is so fast, windows is much slower
Why is a mouse needed my keyboard is fast enough
And you cannot explain, however when you ask the same person now if he will
go back to that Dos screen without is mouse and use Wp51 he ask you if you
are crazy.

This will always stay a problem with development.

A horse needs no petrol, however it it therefore the best overall way to
travel.
(Although there are places where it is probably still the best).

Cor
Nov 20 '05 #7
* "Cor Ligthert" <no**********@planet.nl> scripsit:
You cannot until you show by instance a nice docked form, with some tooltips
on it or whatever, and they start asking you if that can be done in VB6 and
you tell the price for that. Than that is after you. That has always been.
Mhm... In matters of UI, I don't see /very/ big advantages at the
moment. Sure, Unicode support is a nice thing, but for most "little
tools" it's not required at all.
Why is graphics needed Dos is so fast, windows is much slower
Why is a mouse needed my keyboard is fast enough


LOL!!!

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #8

I don't think your comparison of DOS to Windows is the same at all.

VB.Net and VB6 are basically offering the same thing - Windows apps!

VB.Net, VB6/5/4/3 etc and Delphi and other such dev tools are trying
to offer rapid developement (compared to C/C++) without the much more
steep learning curve of C/C++, yet at the same time, maintain a decent
user experience by way of performance.

The DOS screen and Word perfect 5.1 are the user experience end.

Windows does offer a much better interface for end users. All GUIs do.

But VB.NET seems to offer much more to the developer, than the end
user.

Remember, end users aren't interested in the language the application
was written in, they only care about the speed, the looks and how well
the application functions.

When the speed and looks start to break down, the application starts
to function badly!

SS.

On Mon, 14 Jun 2004 16:56:57 +0200, "Cor Ligthert"
<no**********@planet.nl> wrote:
Hi David,

You cannot until you show by instance a nice docked form, with some tooltips
on it or whatever, and they start asking you if that can be done in VB6 and
you tell the price for that. Than that is after you. That has always been.

Why is graphics needed Dos is so fast, windows is much slower
Why is a mouse needed my keyboard is fast enough
And you cannot explain, however when you ask the same person now if he will
go back to that Dos screen without is mouse and use Wp51 he ask you if you
are crazy.

This will always stay a problem with development.

A horse needs no petrol, however it it therefore the best overall way to
travel.
(Although there are places where it is probably still the best).

Cor


Nov 20 '05 #9
Remember, end users aren't interested in the language the application
was written in, they only care about the speed, the looks and how well
the application functions.

When the speed and looks start to break down, the application starts
to function badly!

As was often told by the Mainframe people in the 80's when the PC started
to replace the mainframe terminal.

I cannot look in future, however I believe in dotNet and VB.net is for me
only a kind of cement to use that. VB6 cannot use it.

Cor
Nov 20 '05 #10

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

Similar topics

25
by: Brian Patterson | last post by:
I have noticed in the book of words that hasattr works by calling getattr and raising an exception if no such attribute exists. If I need the value in any case, am I better off using getattr...
12
by: Fred | last post by:
Has anyone a link or any information comparing c and c++ as far as execution speed is concerned? Signal Processing algorithms would be welcome... Thanks Fred
12
by: serge | last post by:
I have an SP that is big, huge, 700-800 lines. I am not an expert but I need to figure out every possible way that I can improve the performance speed of this SP. In the next couple of weeks I...
6
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
13
by: bjarne | last post by:
Willy Denoyette wrote; > ... it > was not the intention of StrousTrup to the achieve the level of efficiency > of C when he invented C++, ... Ahmmm. It was my aim to match the performance...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
7
by: Michael D. Ober | last post by:
When calling Enqueue, the internal array may need to be reallocated. My question is by how much? In the old MFC array classes, you could tell MFC how many additional elements to add to the array...
1
by: jvn | last post by:
I am experiencing a particular problem with performance counters. I have created a set of classes, that uses System.Diagnostics.PerformanceCounter to increment custom performance counters (using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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...
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
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.