The bad news,

VB6 and VB.net are really different animals that just happen to share
certain syntactic conventions and keywords. There is a hit-and-miss
conversion utility, but really you are working with different paradigms. In
fact, for historic reasons, VB.net is very much closer to Delphi ( a real,
grown-up language <grin>) than to VB.

[I should say at this point, I've used VB since version 1 and Delphi since
the day it was released. I now use .net for user applications and Delphi for
anything needing performance.]

Which means that if you are going to code in .net, you are best off NOT
starting with your existing VB. I know that is a pain, but starting afresh
will force you to follow the .net structure, rather than carrying luggage
behind from VB, giving a cleaner application in the end. In fact, don't
think of VB.net as VB. Think of it as a more user-friendly C#!

If you have lots of business logic in your VB code that you want to retain,
you can convert it to an ActiveX class library and call the methods from
VB.net. There is a good article on that on MSDN.

Oh and make sure you're using VB2005, not 2003. It is very much easier to
use, especially for form layouts. You can download the free VB Express
edition from Microsoft - it does everything you need if you don't want to
invest in the full VS2005 product and it works well with UniObjects.net.

Brian


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> 49ERU2USER (sent by Nabble.com)
> Sent: 14 June 2006 21:38
> To: u2-users@listserver.u2ug.org
> Subject: [U2] RE: VB6 UniObjects to VB.NET question
> 
> Man this bugs me because I have been working on a software 
> program for about
> 2 years off on on for fun using VB6, I'd like to keep it in 
> VB6 but if .net work better will I have to re code?  I have 
> 15 forms and at LEAST 25 moduals. I like VB6 cause I have my 
> own custom ListView controls that populate both my lookups & 
> display any MV values, and it took ,e a long long time to 
> understand how to drop MV values in a List View subitem and 
> item props.  Plus I was using Crystal reports and my reporting tool.
> --
> View this message in context: 
> http://www.nabble.com/RE%3A-VB6-UniObjects-to-VB.NET-question-
> t1606405.html#a4872311
> Sent from the U2 - Users forum at Nabble.com.
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to