-
Jun 12th, 2005, 07:26 AM
#1
VB6.0 vs VB.Net, Performance difference....
What is the performance difference (in terms of speed, efficiency, robustness, etc....) of an app programmed in vb6.0 and the same app coded in vb.net? Those app's would do just the same thing but I want to know the performance difference if they are coded in vb6.0 and vb.net.....
I have just made my "Hello World" in VB.Net this morning ....
I think if I would know the counterpart syntax of vb6.0 in vb.net then I could learn it easier..... I have just made some readings on declaring variables, control arrays, etc.....
-
Jun 12th, 2005, 12:10 PM
#2
Re: VB6.0 vs VB.Net, Performance difference....
Vb .Net rules!
Do a search for this type of question
-
Jun 13th, 2005, 02:36 AM
#3
Re: VB6.0 vs VB.Net, Performance difference....
Well the speed is debateable, depends what you are trying to do.
Efficiency and robustness are two big tickmarks in VB.Net's column.
-
Jun 13th, 2005, 03:23 AM
#4
Re: VB6.0 vs VB.Net, Performance difference....
I am thinking, as an exercise in vb.net I want to convert a small app that I coded in vb6.0 to its vb.net equivalent... For example a webbrowser that is created in vb6.0 is converted to vb.net, will it become faster? I have heard that vb.Net is decompilable, is it true? Some programmers even say that its .Not and not .Net....
-
Jun 13th, 2005, 03:54 AM
#5
Re: VB6.0 vs VB.Net, Performance difference....
@ .Not
Those are the same programmers that are writing VBA scripts at work and think they are 31337.
Pretty much any language is decompilable it just depends on the amount of work the hax0r is prepared to do.
A webbrowser's speed is determined by your internet connection's baudrate not by the code (in most cases). It may take a second longer to load in .net but overall performance will be improved. Memory management is much improved in .Net.
Just get on with .Net. Time is money.
I don't live here any more.
-
Jun 13th, 2005, 08:43 AM
#6
Re: VB6.0 vs VB.Net, Performance difference....
-
Jun 13th, 2005, 12:31 PM
#7
Hyperactive Member
Re: VB6.0 vs VB.Net, Performance difference....
hmm those seem to be testing mostly just math funtions.
The one test on there all application probally use memory allocation is won by vb.net
-
Jun 13th, 2005, 12:46 PM
#8
Re: VB6.0 vs VB.Net, Performance difference....
So its 0.034x slower. The development time is faster in .NET then VB6 ever was. There is allot of code (modules of it) in VB6 that
can be duplicated in .NET in just a few lines, if not a single line of code or property setting!
.NET Rules !!!
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 13th, 2005, 01:16 PM
#9
Fanatic Member
Re: VB6.0 vs VB.Net, Performance difference....
So, what should I try to talk the company into? VB 2005, or something already out?
Here's to us!
Who's like us?
Darned few, and they're all dead!
-
Jun 13th, 2005, 01:58 PM
#10
Re: VB6.0 vs VB.Net, Performance difference....
They should get a MSDN subscription if your company does software development projects enough to justify the cost.
Its can be allot initially but the renewal each year is allot less.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 13th, 2005, 11:20 PM
#11
Re: VB6.0 vs VB.Net, Performance difference....
Here is a discussion of vb6.0 and vb.net.....
-
Jun 13th, 2005, 11:24 PM
#12
Re: VB6.0 vs VB.Net, Performance difference....
I wonder who is that guy that started that thread @ CG.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 13th, 2005, 11:44 PM
#13
Re: VB6.0 vs VB.Net, Performance difference....
i was really debating to learn .net, now i am i think its pretty neat. So far im in love with the easy was to do random/read&write to files/commondialog. You will get the syntax right away.
-
Jun 13th, 2005, 11:54 PM
#14
Re: VB6.0 vs VB.Net, Performance difference....
On what Platforms/OS could an app programmed in vb.net could be installed? Could it be installed in win98, winME or Linux?
Originally Posted by RobDog888
I wonder who is that guy that started that thread @ CG.
I'm wondering myself.....
-
Jun 14th, 2005, 12:03 AM
#15
Re: VB6.0 vs VB.Net, Performance difference....
I believe its all Windows OS' from 98 SE +
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 14th, 2005, 05:13 AM
#16
Re: VB6.0 vs VB.Net, Performance difference....
Originally Posted by dee-u
On what Platforms/OS could an app programmed in vb.net could be installed? Could it be installed in win98, winME or Linux?
I'm wondering myself.....
Linux ;p
LOL
Nope
-
Jun 15th, 2005, 02:08 AM
#17
Re: VB6.0 vs VB.Net, Performance difference....
When installing vs.net there are prerequisites that have to be installed, would those prerequisites needed to be installed on the computer where the app will be installed?
-
Jun 15th, 2005, 02:54 AM
#18
Re: VB6.0 vs VB.Net, Performance difference....
Yes, the .NET framework must be installed on target PC but thats very common these days. (Ie it is installed everywhere)
-
Jun 15th, 2005, 11:05 AM
#19
Re: VB6.0 vs VB.Net, Performance difference....
It comes with XP SP-2 already and will come already installed in Longhorn.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 15th, 2005, 11:24 AM
#20
Supreme User
Re: VB6.0 vs VB.Net, Performance difference....
or you could just switch to Borland Delphi 2005 - damn, i wish i could afford to go from Delphi 7 to 2005
-
Jun 15th, 2005, 05:08 PM
#21
Re: VB6.0 vs VB.Net, Performance difference....
Originally Posted by dee-u
On what Platforms/OS could an app programmed in vb.net could be installed? Could it be installed in win98, winME or Linux?
I'm wondering myself.....
Check out the Mono Project. Yes in theory you are correct, MS made .NET an open standard so it can be cross platform and multi language.
-
Jun 15th, 2005, 08:28 PM
#22
Re: VB6.0 vs VB.Net, Performance difference....
Yap, somebody told me that .Net is supposed to be Cross Platform but had doubts in it... Could Win98 and ME handle the .Net Framework?
-
Jun 15th, 2005, 09:52 PM
#23
Re: VB6.0 vs VB.Net, Performance difference....
See post #15.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 15th, 2005, 10:02 PM
#24
Re: VB6.0 vs VB.Net, Performance difference....
I saw it but maybe some elaboration would help... Since there are many computers here that use win98 and winME and I'm afraid that if I'll develop apps in vb.net I wouldnt be able to install it in those computers...
-
Jun 15th, 2005, 10:18 PM
#25
Re: VB6.0 vs VB.Net, Performance difference....
[elaboration]Yes/No[/elaboration]
Yes for Windows 98 and also Yes for windows ME, but ME is worse then 98 and I would be more concerned about ME, not
being self-centered. .
Last edited by RobDog888; Jun 15th, 2005 at 10:21 PM.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 15th, 2005, 10:20 PM
#26
Re: VB6.0 vs VB.Net, Performance difference....
Got it.
-
Jun 15th, 2005, 11:05 PM
#27
Re: VB6.0 vs VB.Net, Performance difference....
Also, 2.0 version of the Framework is 20-40% faster then version 1.1.
I believe that Jacob Roman had posted that the 1.1 version was 1.037... seconds slower then VB6 runtimes or such. So
now with 2.0 it should be faster then VB6 by a decent margin.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
-
Jun 16th, 2005, 03:54 AM
#28
Re: VB6.0 vs VB.Net, Performance difference....
Well, the tests there aren't too reliable: he got so used to VB.NET code that he forgot the way VB6 should be coded
One good example is the code on GenerateLightMap. It is a well known fact that VB6 is slow with multidimensional arrays (Dim Data(0 To 639, 0 To 479) As Long). It is much faster to use one dimensional array. The result gets much more understandable after changing that: 22 ms (VB6) vs. 18 ms (.NET). The old style VB6 code was 40 ms on my machine. So his claim:
In real-world terms, should you wish to use this process/technique to generate lighting in your games the two times listed above correspond to ~24fps and ~58fps (maximum possible). The former being VB6's time, which while interactive would prove to be quite jerky; the latter being VB.Net's which would be very smooth and pose no real problem to interactivity.
...is somewhat ridiculous in this case.
Just cleaning that error I saw there.
-
Jun 16th, 2005, 10:46 AM
#29
Re: VB6.0 vs VB.Net, Performance difference....
At least for the Framework improvement, MS did the testing and the 20-40% increase in performance was what I read on the
MS site. If I find the link I can post it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|