Wrox Programmer Forums
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2003, 12:40 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default Converssion

I have programs written in VB6, will I be able to run the programs if I recompile them under VB6 .net?

What is the difference between VB6 and VB6 .Net?

Thanks,
Judy Sese
 
Old June 13th, 2003, 03:42 PM
Registered User
 
Join Date: Jun 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to dmadam
Default

in answer to your questions....

a program written in vb6 will not compile under vb.net because the two development tools are based upon completely different engines. in vb6, you were building applications that utlitized the "runtime". in vb.net, you are building applications based upon the .net framework. each has its own compiler.

there is a utility within the vs.net package, which will go through a vb6 project and "upgrade" it to vb.net. basically, in the vb.net ide, open your vb6 project & the upgrade wizard will start. according to the size of your vb6 application, the time taken by the wizard will vary.

the wizard will make a number of changes and open it within vb.net. your todo list will have a number of items, which require your "human" attention. as with most other "upgrade wizards" and code generators, you are trying to circumvent alot of manual work by having an application do alot of the work. how well it succeeds is really relative. is success that you didnt have to do everything to update the code; you might consider it a success. is success that the wizard took all of your vb6 code and "magically" changed it to valid, well-written vb.net code; you will probably be disappointed.

as for the "differences" in vb6 versus vb.net - i'd advise you to hit the msdn site, gotdotnet.com, or some of the other sites that give more indepth coverage to the tools. there is noone who can really answer that question in a listserv response with any quality.









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.