How much disk space is needed...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Dan said:
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.
 
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:
 
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
 
Dan said:
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!
 
Dan said:
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.
 
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!
 
Back
Top