Home All Groups Group Topic Archive Search About

How much disk space is needed...

Author
19 Jul 2006 8:19 PM
Dan
Hi -

I am very new to VB.NET, making the transition from VB6.  I converted one of
my apps using the wizard, and notice it's running considerably slower than
the VB6 version.  I'm thinking it may have something to do with hard drive
space.  I have about 1.5G left and was wondering if that's affecting
performance.

Thanks a lot for any help!

Dan

Author
19 Jul 2006 9:34 PM
Herfried K. Wagner [MVP]
"Dan" <D**@discussions.microsoft.com> schrieb:
> I am very new to VB.NET, making the transition from VB6.  I converted one
> of
> my apps using the wizard, and notice it's running considerably slower than
> the VB6 version.  I'm thinking it may have something to do with hard drive
> space.  I have about 1.5G left and was wondering if that's affecting
> performance.

..NET applications are run on the CLR which translates the MSIL code to
native code at runtime.  In addition the CLR must be loaded when the
application starts.  Maybe this makes your application a bit less quick.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
19 Jul 2006 9:58 PM
tommaso.gastaldi
Hi Dan, try it outside of the development environment (make the exe and
run it). I don't think it should run slower...

If the program handles with too many strings, use the stringbuilder.
.... let me know...


-tom

Dan ha scritto:

Show quoteHide quote
> Hi -
>
> I am very new to VB.NET, making the transition from VB6.  I converted one of
> my apps using the wizard, and notice it's running considerably slower than
> the VB6 version.  I'm thinking it may have something to do with hard drive
> space.  I have about 1.5G left and was wondering if that's affecting
> performance.
>
> Thanks a lot for any help!
>
> Dan
Author
20 Jul 2006 2:22 AM
Cor Ligthert [MVP]
Dan,

There are a lot of things that can slow down your application while you have
used the wizard to convert it.

The wizard creates a kind of VBNet code that probably nobody using VBNet as
program language would do.

You can see it if you put in top of your program Option Strict On and have a
look at the errors you get than.

Cor

Show quoteHide quote
"Dan" <D**@discussions.microsoft.com> schreef in bericht
news:2374FDA9-6CB6-4B17-A19D-B6C23A379BF1@microsoft.com...
> Hi -
>
> I am very new to VB.NET, making the transition from VB6.  I converted one
> of
> my apps using the wizard, and notice it's running considerably slower than
> the VB6 version.  I'm thinking it may have something to do with hard drive
> space.  I have about 1.5G left and was wondering if that's affecting
> performance.
>
> Thanks a lot for any help!
>
> Dan
Author
20 Jul 2006 10:33 AM
Larry Lard
Dan wrote:
> Hi -
>
> I am very new to VB.NET, making the transition from VB6.  I converted one of
> my apps using the wizard, and notice it's running considerably slower than
> the VB6 version.  I'm thinking it may have something to do with hard drive
> space.  I have about 1.5G left and was wondering if that's affecting
> performance.
>
> Thanks a lot for any help!

You only have 1.5G of free disk space? Well I'm no expert on these
things but I'd be fairly confident in saying that yes, that's going to
negatively affect performance doing just about anything. HD space is
dirt cheap these days - you owe it to yourself to get a new drive!


--
Larry Lard
larryl***@googlemail.com
The address is real, but unread - please reply to the group
For VB and C# questions - tell us which version
Author
20 Jul 2006 1:13 PM
Phill W.
Dan wrote:

> I am very new to VB.NET, making the transition from VB6.  I converted one of
> my apps using the wizard, and notice it's running considerably slower than
> the VB6 version. 

..Net app's start up [a lot] slower than their VB6 counterparts but, once
they're /running/, there's not a /lot/ in it between a VB6 written
program and a VB.Net /written/ one.
However, what comes out of the "Upgrade" wizard won't be /anywhere/ near
as efficient (i.e. as fast) as the code that you'd write from scratch.

> I'm thinking it may have something to do with hard drive
> space.  I have about 1.5G left

I hit the smae thing a couple of weeks ago - Win'XP SP2 with less than
500MB of free disk space is downright *painful*.  1.5GB should be OK, so
long as you've got (a) a fairly beefy processor and (b) loads of
physical memory to take the strain off the paging file.

HTH,
    Phill  W.
Author
20 Jul 2006 4:19 PM
Dan
Thanks, all, for all your replies!  I'm hearing a recurring theme on these
boards and talking with people that the upgrade wizard is not the best way to
go to get the best product.  I'm thinking I need to buckle down and do some
housecleaning on my hard drive, and then get some books and learn VB.NET.  As
a beginner-intermediate VB6 user, I'm finding it quite a leap to dive in to
VB.NET without getting a little education!

Thanks a lot!