|
-
Sep 21st, 2009, 06:47 PM
#1
Thread Starter
Addicted Member
[RESOLVED] About VB.Net
Hi,
i'm planning someday i'll learn VB.Net
my questions:
1. As i don't want to leave VB6, can i install VB.Net without uninstalling VB6?
2. I have 2 identical apps (made by my friend for case study in comparison), 1 was made by VB6 and the other was made by VB.Net, but the VB.Net version is so slow and heavy load on startup comparing to VB6 version. wht's caused that? it it because of DotNetFrameWork?
thank you..
-
Sep 21st, 2009, 06:57 PM
#2
Re: About VB.Net
1. Yes, you may have multiple versions of VB installed - in fact you may have them all installed on the same machine.
2. Although VB.Net is slower than its predecessor actual performance of compiled application largely depends on how it was written.
However, .Net IDE is noticably slower compared to that from 1998.
-
Sep 22nd, 2009, 03:49 AM
#3
Re: About VB.Net
 Originally Posted by RhinoBull
1. Yes, you may have multiple versions of VB installed - in fact you may have them all installed on the same machine.
2. Although VB.Net is slower than its predecessor actual performance of compiled application largely depends on how it was written.
However, .Net IDE is noticably slower compared to that from 1998.
With regards to point 2, if you have a modern machine you shouldn't really have too much of an issue. The IDE is heavier but it contains more features and is exploiting the improvement in hardware.
Pino
-
Sep 22nd, 2009, 05:16 AM
#4
Thread Starter
Addicted Member
Re: About VB.Net
my machine is P4 1.5 GHz with 1 GB RAM
my OS is Win XP SP2 with Microsoft .NET Framework 3.5 SP1
i did not run those 2 apps from IDE (as i don't have VB.Net yet), but i executed the given exe files, which have same purposes. and my friend told me that he built those 2 apps with identical method (in VB6 and VB.Net). but i found the VB.Net version is so slow on my machine..
-
Sep 22nd, 2009, 05:30 AM
#5
Re: About VB.Net
That is quite an old machine (the one I'm about to replace was end-of-line 5 years ago, yet is 3Ghz and 64 bit), so any speed differences will be magnified.
As you are using XP it also means that the framework is less 'optimised' than it is for Vista, so startup times will be slower.
If the methods used are actually identical then the .Net version would be slower - because it needs to do extra work to do things in the same way that VB6 is limited to.
If each app was designed to achieve the same things, but using the features available to the language, the speed (apart from initial startup) should be much closer.
-
Sep 22nd, 2009, 07:31 AM
#6
Re: About VB.Net
 Originally Posted by edhanz
my machine is P4 1.5 GHz with 1 GB RAM
my OS is Win XP SP2 with Microsoft .NET Framework 3.5 SP1
i did not run those 2 apps from IDE (as i don't have VB.Net yet), but i executed the given exe files, which have same purposes. and my friend told me that he built those 2 apps with identical method (in VB6 and VB.Net). but i found the VB.Net version is so slow on my machine..
The speed difference really should only be on app startup, the .net app would be slow loading but once both are loaded the execution time of the apps performing their tasks should be pretty close to each other.
I replaced my P4 1.5 GHz comp so many years ago I don't even remember when I parted with it.
-
Sep 22nd, 2009, 07:42 AM
#7
Re: About VB.Net
 Originally Posted by edhanz
my machine is P4 1.5 GHz with 1 GB RAM
my OS is Win XP SP2 with Microsoft .NET Framework 3.5 SP1
i did not run those 2 apps from IDE (as i don't have VB.Net yet), but i executed the given exe files, which have same purposes. and my friend told me that he built those 2 apps with identical method (in VB6 and VB.Net). but i found the VB.Net version is so slow on my machine..
Time for a PC upgrade I think.
The fact is, software will use more resource to do more things as time goes on. Its either keep up or slowly sink away 
Pino
-
Sep 22nd, 2009, 08:06 AM
#8
Thread Starter
Addicted Member
Re: About VB.Net
hehehe..i think time to collect more money and upgrade my machine. it slows me down 
thank you for all replies..
-
Sep 22nd, 2009, 09:55 AM
#9
Re: About VB.Net
 Originally Posted by Pino
With regards to point 2, if you have a modern machine you shouldn't really have too much of an issue. The IDE is heavier but it contains more features and is exploiting the improvement in hardware.
Pino
I ran it on all kind of different hardware including quad cores too and like I said old IDE is a lot faster.
Regardless how much stuff they have to load it shouldn't be that slow.
-
Sep 22nd, 2009, 10:09 AM
#10
Re: [RESOLVED] About VB.Net
Yeah, the IDE is getting slower each time, but apps are not. I have ported apps from VB6 to .NET (not with the wizard, which will always suck, for reasons nobody can control), and performance was about the same. Sometimes the .NET would run faster, but that depended on the program using features that .NET handled better.
My usual boring signature: Nothing
 
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
|