473,563 Members | 2,895 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Upgrading VB6 to .Net

Could someone point me to a good guide for upgrading an existing vb6
application to vb 2005? I now know that my use of control arrays will need
to be adjusted, does the wizard to this for me? What else don't I know about
that I will need to adjust? I'm sure this question has been asked thousands
of times beofre but I can't seem to find a good guide by someone who isn't
trying to sell me software.

Thanks
Greg
Feb 27 '06 #1
9 1424
"Greg P" <gs*@newsgroups .nospam> wrote in message
news:DD******** *************** ***********@mic rosoft.com...
Could someone point me to a good guide for upgrading an existing vb6
application to vb 2005? I now know that my use of control arrays will
need
to be adjusted, does the wizard to this for me? What else don't I know
about
that I will need to adjust? I'm sure this question has been asked
thousands
of times beofre but I can't seem to find a good guide by someone who isn't
trying to sell me software.

Thanks
Greg


Well... I can point you to a couple of books...

Free Book - Introducing Visual Basic 2005 for Developers
http://msdn.microsoft.com/vbrun/stay...5/default.aspx

Free Book - Upgrading Microsoft Visual Basic 6.0 to Microsoft Visual Basic
..NET
http://msdn.microsoft.com/vbrun/stay...6/default.aspx

....and, regarding " What else don't I know about that I will need to
adjust?", just prepare yourself for a complete re-write. That way, any
conversion that actually works will be a pleasant surprise.

btw... wanna buy some software? ;-)

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Feb 27 '06 #2
"Greg P" <gs*@newsgroups .nospam> wrote in message
news:DD******** *************** ***********@mic rosoft.com...
Could someone point me to a good guide for upgrading an existing vb6


....almost forgot... grab this tool. It's handy even for projects you're not
planning to migrate. (btw... that's "migrate" and not "upgrade" big
difference ;-)

Visual Basic 6.0 to Visual Basic .NET Upgrade Assessment Tool
http://www.microsoft.com/downloads/d...displaylang=en

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Feb 27 '06 #3
Thanks Ken, had a good laugh after that one. Considering I am interested in
C# I may just rewrite it in C# considering its a rewrite anyway... could you
expand on the differnce between migrate and upgrade.

Thanks,
Greg

"Ken Halter" wrote:
"Greg P" <gs*@newsgroups .nospam> wrote in message
news:DD******** *************** ***********@mic rosoft.com...
Could someone point me to a good guide for upgrading an existing vb6


....almost forgot... grab this tool. It's handy even for projects you're not
planning to migrate. (btw... that's "migrate" and not "upgrade" big
difference ;-)

Visual Basic 6.0 to Visual Basic .NET Upgrade Assessment Tool
http://www.microsoft.com/downloads/d...displaylang=en

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..

Feb 27 '06 #4
Hi,

I'll speak (out of turn) for Ken. Some feel that VS .NET is not an upgrade.

Others of us have more mixed thoughts. I'm one of those. It is an
upgrade -- that requires migration. To fully use .NET's facilities, a
number of issues should be addressed, including some that may suggest
redesign, not just migration. BTW, unless you want to use C# for some good
reason, such as "it's a standard in our company," there is no reason (IMO)
to choose it over VB.

..NET definitely IS a upgrade for enterprise developement, but is much less
useful for some utilities, etc. It (still) is not as facile as VB6 in some
areas, while in other areas, .NET is much more powerful; and in these areas
RAD really IS where .NET is "at".

My own work is down to about 60% VB6, and 40% .NET (mostly VB), and I expect
that trend to continue - slowly.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004.
See www.hardandsoftware.net for details and contact information.
Feb 27 '06 #5
CMM
In terms of explaining general details, Dan Appleman's "Moving to VB.NET"
(yeah THAT Dan Appleman... if you've been coding in VB for a few years you'd
know who he is) book was the single MOST HELPFUL resource I used when making
the move.
--
-C. Moya
www.cmoya.com
"Greg P" <gs*@newsgroups .nospam> wrote in message
news:DD******** *************** ***********@mic rosoft.com...
Could someone point me to a good guide for upgrading an existing vb6
application to vb 2005? I now know that my use of control arrays will
need
to be adjusted, does the wizard to this for me? What else don't I know
about
that I will need to adjust? I'm sure this question has been asked
thousands
of times beofre but I can't seem to find a good guide by someone who isn't
trying to sell me software.

Thanks
Greg

Feb 28 '06 #6
CMM
VB has soooo many things over C# it's not even funny. C# is so barebones...
no background compile so that means no full syntax checking as you're coding
and limited intellisense. Event handling is all manual (no declarative event
handling like in VB). I'm an old-school C/C++ programmer and there's a
reason why I like VB. Because, well, it's GOOD and intuitive. Not to mention
case sensitivity... whoever thinks this is a "feature" is retarded. I like
typing endif and having it magically cased properly. I like my language to
be smart... C# is just dumb dumb dumb.

On the flipside C# has very few things over VB... ability to declare parts
of your code as "Unmanaged" is the only "hardcore" thing it's got over
VB.... but, that's a dubious feature to begin with.

--
-C. Moya
www.cmoya.com
"Greg P" <gs*@newsgroups .nospam> wrote in message
news:27******** *************** ***********@mic rosoft.com...
Thanks Ken, had a good laugh after that one. Considering I am interested
in
C# I may just rewrite it in C# considering its a rewrite anyway... could
you
expand on the differnce between migrate and upgrade.

Thanks,
Greg

"Ken Halter" wrote:
"Greg P" <gs*@newsgroups .nospam> wrote in message
news:DD******** *************** ***********@mic rosoft.com...
> Could someone point me to a good guide for upgrading an existing vb6


....almost forgot... grab this tool. It's handy even for projects you're
not
planning to migrate. (btw... that's "migrate" and not "upgrade" big
difference ;-)

Visual Basic 6.0 to Visual Basic .NET Upgrade Assessment Tool
http://www.microsoft.com/downloads/d...displaylang=en

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..

Feb 28 '06 #7
Hi Greg,

See:

Resources about upgrading from Visual Basic 6.0 to Visual Basic .NET
http://www.mztools.com/resources_net...rs.htm#Upgrade

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

"Greg P" <gs*@newsgroups .nospam> escribió en el mensaje
news:DD******** *************** ***********@mic rosoft.com...
Could someone point me to a good guide for upgrading an existing vb6
application to vb 2005? I now know that my use of control arrays will
need
to be adjusted, does the wizard to this for me? What else don't I know
about
that I will need to adjust? I'm sure this question has been asked
thousands
of times beofre but I can't seem to find a good guide by someone who isn't
trying to sell me software.

Thanks
Greg

Feb 28 '06 #8
On Mon, 27 Feb 2006 10:45:25 -0800, Greg P <gs*@newsgroups .nospam> wrote:

¤ Thanks Ken, had a good laugh after that one. Considering I am interested in
¤ C# I may just rewrite it in C# considering its a rewrite anyway... could you
¤ expand on the differnce between migrate and upgrade.
¤

Upgrading typically implies immediate gratification while migration is the realization that the
successful completion of the upgrade will occur either just before or after the release of the next
version of the product.
Paul
~~~~
Microsoft MVP (Visual Basic)
Feb 28 '06 #9
"Paul Clement" <Us************ ***********@sws pectrum.com> wrote in message
news:75******** *************** *********@4ax.c om...
On Mon, 27 Feb 2006 10:45:25 -0800, Greg P <gs*@newsgroups .nospam> wrote:

¤ Thanks Ken, had a good laugh after that one. Considering I am
interested in
¤ C# I may just rewrite it in C# considering its a rewrite anyway... could
you
¤ expand on the differnce between migrate and upgrade.
¤

Upgrading typically implies immediate gratification while migration is the
realization that the
successful completion of the upgrade will occur either just before or
after the release of the next
version of the product.
If you're referring to dotNet, well put! <g> Basically, "an upgrade", to me
is... something you buy that, when opening a file created by an older
version of a product, converts that file to a new format and lets you get on
with your work... Winzip (no format changes, just new functionality), Word
(same thing), InstallShield (saves the old project and uses the info to
create a project compatible with the current version. 100% guaranteed to
work, btw). I've just never had an "upgrade" to anything that required so
much effort.

I'm finally getting to the point where "some" of the sample code works on my
PC(s). I knew it was just a configuration problem. Sad part is, the VS
installer should detect these "issues" during installation and tell you how
to fix them. I mean, sheesh... if all I have to do is clear my temp folders
to get the thing to install correctly, the installer should be able to
detect files in that folder and say "please clear your temp folder before
continuing" (betchya I can get InstallShield to do that simple task <g>)

Paul
~~~~
Microsoft MVP (Visual Basic)

--
Ken Halter - MS-MVP-VB (visiting from VB6 world) - http://www.vbsight.com
Please keep all discussions in the groups..
Mar 3 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2467
by: S. Crespel | last post by:
Hi, Where can I find informations about consequences of upgrading from PHP 4.2.3 to 4.3 regarding existing PHP applications ? I have lots of existing PHP (4.2.3) scripts, will everything still work if I upgrade PHP to 4.3 ? What changes have to be done ? (Solaris 8, Apache 1.3.28, Oracle 8.1.9.3)
1
1884
by: bartolomesintes | last post by:
Hi, I have installed PHPHome 2.3.4 in Windows XP. This WAMP package installs Apache 2.0.50 , PHP 5.0.0 and it works fine. The SQLite installed version is 2.8.14 and I would like to upgrade to a later version. Is it possible? Is the upgrading process explained somewhere? Thanking you in advance, Barto
6
1630
by: Michael Foord | last post by:
http://www.voidspace.org.uk/python/articles/upgrading_python.html I've been looking at whether to upgrade immediately from Python 2.3 to Python 2.4 or postpone it. This is my first `major version change`, so I've come up against the usual windoze (tm) problem - upgrading python breaks all my extension modules. I've been looking into the...
0
1421
by: Jonathan Hilgeman | last post by:
Currently, I'm running 3.23.51 on Red Hat 7.1, and I'm contemplating upgrading to MySQL 4.0, but I'm not sure what to expect. I don't know if MySQL 4.0 is fully backwards-compatible with 3.23.x versions, or if something is going to break if I upgrade. What are the main advantages of upgrading to 4.0? Speed? Features? I can go through the...
2
1624
by: wellington fan | last post by:
Dear newsies, My ISP has offered to upgrade my servers from 3.23 to 4.1. I'm excited by the potential gains in performance, and the ability to write subqueries, but am wary of any forward incompatibilities. I have a mass of PHP code with MySQL throughout. I don't relish peeking into every file and making a determination of 'it should...
5
512
by: Mike Owen | last post by:
Hi, I have just used the import Wizard to import a VS 2003 app to VS 2005. I have a lot of work to do to enable it to compile successfully with all the errors and warnings it gave me, but as a starting point the compiler can no longer find the function as at the bottom of this posting, that was in the Global.asax.vb file. All the...
13
2625
by: Noesis Strategy | last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles. Recently, I have begun to design Access databases using an copy of Access 2002 from my previous laptop. It works fine, but I would like to have all the office apps on the same version. So I have a few questions: 1) Is the file format the same as 2002? Can 2002...
11
1909
by: Aidan Tobin | last post by:
Hi, I have to upgrade a number of databases from Access 2.0, Access 97 and Access 2000 to work in Office 2003. These databases contain a number of Forms coded with VBA as well as a number of Queries/Macros. The Microsoft web site says that Office 2003 will open databases created in these versions. However i have in the past upgraded...
1
1540
by: progTiger | last post by:
The upgrade wizard just hangs on step 5 of 5 when it reaches "Upgrading DataEnvironment..." I have let it sit for 3 hours and it does nothing. .Net Studio is not frozen, but the process does nothing. How do I get past this?? Tiger
6
1597
by: JimLad | last post by:
Hi, We have a major ASP app that we are in the process of upgrading to ASP.NET 1.1 and probably on to ASP.NET 2.0 in the middle of next year. (We will also be upgrading to SQL2K5 at the same time). The current architecture is heavily based on the client side, both for validation and data access. The asp page is returned and then data is...
0
7665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.