Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB 6.0 >>> VB.NET / January 2004

Tip: Looking for answers? Try searching our database.

vb6 to .NET conversion programs run slow??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt Fury - 14 Jan 2004 15:03 GMT
I have a rather large VB6 program that I converted to .NET and finally
got running. Unfortunately the thing runs like a SLOTH. I am correct
in thinking that .NET programs that are still using vb6 compatibility
code will slow the thing down? Someone PLEASE tell me why my .NET
program runs a hell of a lot slower in .NET than it does in VB6?
Honestly that is quite disappointing because I was all ready to start
releasing my products in .NET.

Or... does this mean its revealing more black and blue marks in my
previous code? Just curious, overall the code is pretty well written.
Could be more optmized as all code can.

Any suggestions, improvments, etc?

Thanks.
Code on!

-Matt
Herfried K. Wagner [MVP] - 14 Jan 2004 15:38 GMT
* matty@what-the.net (Matt Fury) scripsit:
> I have a rather large VB6 program that I converted to .NET and finally
> got running. Unfortunately the thing runs like a SLOTH. I am correct
> in thinking that .NET programs that are still using vb6 compatibility
> code will slow the thing down? Someone PLEASE tell me why my .NET

VB6 "best practice" <> VB.NET "best practice".

> program runs a hell of a lot slower in .NET than it does in VB6?
> Honestly that is quite disappointing because I was all ready to start
> releasing my products in .NET.

This depends on what you use in your application.  What's "slower"?  In
general, VB.NET applications are not slower than VB6 applications.

Have a look at this tool:

<http://msdn.microsoft.com/vbasic/downloads/Codeadvisor/>

Signature

Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet

Matt Fury - 14 Jan 2004 16:18 GMT
>> VB6 "best practice" <> VB.NET "best practice".

Yes, I know they are two completely differently languages.
VB.NET is pretty much object oriented now.

>>This depends on what you use in your application. What's "slower"? In
general, VB.NET applications are not slower than VB6 applications.

Slower is this sense means it takes forever to load, screen refreshes on
forms are HORRIBLE, and it takes up 5x as much memory now. The memory
thing could be due to slacky coding but it definitely runs way better in
VB6. I know .NET is compiled now unlike vb6 but if I didn't know better
I would say its a runtime VM like Java.

>>Have a look at this tool:
>><http://msdn.microsoft.com/vbasic/downloads/Codeadvisor/>

Will do, thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.