473,385 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Convert

Hi
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net
Nov 4 '08 #1
7 1519
Start here:
http://msdn.microsoft.com/en-us/library/dy163kx7.aspx
and also here:
http://msdn.microsoft.com/en-us/libr...44(VS.60).aspx

"Lincoln Burrows" <du***@abcd.comwrote in message
news:OC**************@TK2MSFTNGP04.phx.gbl...
Hi
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net
Nov 4 '08 #2
Lincoln Burrows <du***@abcd.comwrote in message
<news:OC**************@TK2MSFTNGP04.phx.gbl>
Hi
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net

Just one word of caution - it will actually be a rewrite rather than a
conversion. VB.Net is a different beastie to VB6, and they differ in so
many small but significant ways that you will need to go through each line
of code to ensure that it still does what you want it to do.
--
Regards

Michael Cole
Nov 4 '08 #3
Michael,

Some curiosity is this conclussion from you based on version 2002 or version
2008, because there has changes in those versions.

Cor

"Michael Cole" <no**@invalid.comschreef in bericht
news:u4**************@TK2MSFTNGP02.phx.gbl...
Lincoln Burrows <du***@abcd.comwrote in message
<news:OC**************@TK2MSFTNGP04.phx.gbl>
>Hi
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net


Just one word of caution - it will actually be a rewrite rather than a
conversion. VB.Net is a different beastie to VB6, and they differ in so
many small but significant ways that you will need to go through each line
of code to ensure that it still does what you want it to do.
--
Regards

Michael Cole

Nov 4 '08 #4
"Lincoln Burrows" <du***@abcd.comschrieb:
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net
VS comes with an upgrade wizard. Just open the VB6 project in VS and it
will pop up automatically.

However, as VB.NET is not just a new version of Classic VB, migration
between the two programming languages is not a straightforward process.
Often a complete rewrite is the preferable solution. There are some
(commercial) tools available which will assist conversion:

VB Migration Partner
<URL:http://www.vbmigration.com/>

BTW: Prior to migration you should get familiar with VB.NET because in
VB.NET often other approaches are used to solve problems than in VB6.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 4 '08 #5
On Nov 3, 10:21*pm, "Lincoln Burrows" <du...@abcd.comwrote:
Hi
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net
I would strongly urge that you do not use the conversion wizard to
convert your VB project. In my opinion the conversion wizard is one of
the main reason VB.NET has such a negative stigma around it.

Instead I would recommend you treat this upgrade like you would an
upgrade to any other language, such as C#, C++, or Java, do a complete
rewrite, starting from scratch.

Basically, if you try to treat VB.NET like you would VB, it will come
back and bite you.

Thanks,

Seth Rowe [MVP]
http://sethrowe.blogspot.com/
Nov 4 '08 #6
"Michael Cole" <no**@invalid.comschreef in bericht
news:u4**************@TK2MSFTNGP02.phx.gbl...
>Lincoln Burrows <du***@abcd.comwrote in message
<news:OC**************@TK2MSFTNGP04.phx.gbl>
>>Hi
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net


Just one word of caution - it will actually be a rewrite rather than
a conversion. VB.Net is a different beastie to VB6, and they differ
in so many small but significant ways that you will need to go
through each line of code to ensure that it still does what you want
it to do.

Cor Ligthert[MVP] <no************@planet.nlwrote in message
<news:ON**************@TK2MSFTNGP06.phx.gbl>
Michael,

Some curiosity is this conclussion from you based on version 2002 or
version 2008, because there has changes in those versions.
Its based on v2005, because that (and various versions of VB Classic) is all
that I use. But unless the changes in 2008 include things such as
determinalistic finalisation, I can't see that it will make any differences.

Some references: -

http://www.devx.com/vb/article/16822
http://msdn.microsoft.com/en-us/libr...z1(VS.71).aspx

Oh, and BTW, I have done some simple "upgrades" of fully functioning VB6
code, and some of the small differences between Classic and .NET do make a
big difference...

--
Regards

Michael Cole
Nov 5 '08 #7
Michael,

Thanks, because I had only done this with VB2002 and that was bad.

I can use those links you have send me.

Cor

"Michael Cole" <no**@invalid.comwrote in message
news:uU**************@TK2MSFTNGP02.phx.gbl...
>"Michael Cole" <no**@invalid.comschreef in bericht
news:u4**************@TK2MSFTNGP02.phx.gbl...
>>Lincoln Burrows <du***@abcd.comwrote in message
<news:OC**************@TK2MSFTNGP04.phx.gbl>

Hi
Im new to vb.net.
Can we convert vb6 forms, projects in to vb.net
Just one word of caution - it will actually be a rewrite rather than
a conversion. VB.Net is a different beastie to VB6, and they differ
in so many small but significant ways that you will need to go
through each line of code to ensure that it still does what you want
it to do.


Cor Ligthert[MVP] <no************@planet.nlwrote in message
<news:ON**************@TK2MSFTNGP06.phx.gbl>
>Michael,

Some curiosity is this conclussion from you based on version 2002 or
version 2008, because there has changes in those versions.

Its based on v2005, because that (and various versions of VB Classic) is
all that I use. But unless the changes in 2008 include things such as
determinalistic finalisation, I can't see that it will make any
differences.

Some references: -

http://www.devx.com/vb/article/16822
http://msdn.microsoft.com/en-us/libr...z1(VS.71).aspx

Oh, and BTW, I have done some simple "upgrades" of fully functioning VB6
code, and some of the small differences between Classic and .NET do make a
big difference...

--
Regards

Michael Cole
Nov 5 '08 #8

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

Similar topics

19
by: Lauren Quantrell | last post by:
I have a stored procedure using Convert where the exact same Convert string works in the SELECT portion of the procedure but fails in the WHERE portion. The entire SP is listed below....
1
by: Logan X via .NET 247 | last post by:
It's official....Convert blows. I ran a number of tests converting a double to an integer usingboth Convert & CType. I *ASSUMED* that CType would piggy-back ontop of Convert, and that performance...
4
by: Eric Lilja | last post by:
Hello, I've made a templated class Option (a child of the abstract base class OptionBase) that stores an option name (in the form someoption=) and the value belonging to that option. The value is...
7
by: whatluo | last post by:
Hi, all I'm now working on a program which will convert dec number to hex and oct and bin respectively, I've checked the clc but with no luck, so can anybody give me a hit how to make this done...
3
by: Convert TextBox.Text to Int32 Problem | last post by:
Need a little help here. I saw some related posts, so here goes... I have some textboxes which are designed for the user to enter a integer value. In "old school C" we just used the atoi function...
7
by: patang | last post by:
I want to convert amount to words. Is there any funciton available? Example: $230.30 Two Hundred Thirty Dollars and 30/100
4
by: Edwin Knoppert | last post by:
In my code i use the text from a textbox and convert it to a double value. I was using Convert.ToDouble() but i'm used to convert comma to dot. This way i can assure the text is correct. However...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
6
by: Ken Fine | last post by:
This is a basic question. What is the difference between casting and using the Convert.ToXXX methods, from the standpoint of the compiler, in terms of performance, and in other ways? e.g. ...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.