473,395 Members | 1,521 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,395 software developers and data experts.

VB6.0 to VB .NET

Hello everyone,

I'm pretty sure this question has probably been asked many times before. I
just couldn't find the correct answer. I have a VB application that was
designed using the 6.0 version. Now my client would like to take the same
application online. I was told that VB.NET is the way to go if I wanna put my
stuff online. Now I don't know anything about .NET. Is there anyway to do a
sucessful transition from VB6.0 to VB.NET? Or do I have to redesign the whole
application using the .NET?

Please advise.
Thanks in advance
Jul 21 '05 #1
5 4110
JP
Visual Studio does have a conversion tool to convert VB6 to VB.NET. I believe
all you have to do is open up the VB6 project inside.NET and it will start
asking you a series of questions.

I would start there by trying to convert a COPY of your application. Keep in
mind though that VB.NET is much stricter then VB6 and the conversion tool
will warn you of all the items you will have to change to make it VB.NET
compliant. The tool merely recreates the VB forms and tries to update some of
your syntax. Unless you are just a REALLY GREAT VB6 programmer, it will be
many things you'll have to change manually after the conversion.
"Ricky" wrote:
Hello everyone,

I'm pretty sure this question has probably been asked many times before. I
just couldn't find the correct answer. I have a VB application that was
designed using the 6.0 version. Now my client would like to take the same
application online. I was told that VB.NET is the way to go if I wanna put my
stuff online. Now I don't know anything about .NET. Is there anyway to do a
sucessful transition from VB6.0 to VB.NET? Or do I have to redesign the whole
application using the .NET?

Please advise.
Thanks in advance

Jul 21 '05 #2
Ricky,

I was told that VB.NET is the way to go if I wanna put my
stuff online.


Yes that is one of the posibilities. You can as well use C#. However it is
not a 1:1 tranformation. When your have classes that are easy to convert
where the userinterface is very much seperated from the actual business and
datahandling, than you are lucky and can VBNet be the way to go.

Otherwise it is just starting all new. However one plus you have and that
is the knowledge about the wanted result. although a word as "OnLine" is
very indefinite. That you would first have to know and to describe well. For
that I can think about endless solutions.

Just my thought,

Cor
Jul 21 '05 #3
Thanks for your comments. Sorry I didn't explain my scenario well enough
about going online. What I have is an application which I designed using
VB6.0 . Currently its just a standalone application with no network
connectivity and is using a local Microsoft Access database. Within next few
months, my client wants the exact replica of this application to be available
on his website. That way, his customers can just go online to his website,
log in and use the application from a browser. This way all the information
will be saved on a centrally located server and will be easy to backup and
update.

Right now, I am not even a rookie when it comes to .NET. I do not even have
acess to .NET. But by doing some research I found out that the applications
designed using VB.NET can be easily put online. I just wanted to know how
true this statement is.

Thanks

"Ricky" wrote:
Hello everyone,

I'm pretty sure this question has probably been asked many times before. I
just couldn't find the correct answer. I have a VB application that was
designed using the 6.0 version. Now my client would like to take the same
application online. I was told that VB.NET is the way to go if I wanna put my
stuff online. Now I don't know anything about .NET. Is there anyway to do a
sucessful transition from VB6.0 to VB.NET? Or do I have to redesign the whole
application using the .NET?

Please advise.
Thanks in advance

Jul 21 '05 #4
Ricky.
Right now, I am not even a rookie when it comes to .NET. I do not even
have
acess to .NET. But by doing some research I found out that the
applications
designed using VB.NET can be easily put online. I just wanted to know how
true this statement is.


What can be true when you use a webservice for your databasehandling and
deploying the applications to the clients from your client. However that is
not using a webbrowser. In that case you can maybe use this.

http://msdn.microsoft.com/msdnmag/is...h/default.aspx

However probably not for the clients from your clients. Both previous called
solutions needs almost full trust from the computers from the clients from
your client.

In the other case it is probably just starting new creating an ASPX
application which can be build with VBNet however is completly different
from a VBNet WinForm application.

(As I assume that you are not using that very soon ended IIS webclass VB6,
that is rarely used).

This is by the way in my opinion not a few months job.

Cor
Jul 21 '05 #5
SP
"Ricky" <Ri***@discussions.microsoft.com> wrote in message
news:64**********************************@microsof t.com...
Thanks for your comments. Sorry I didn't explain my scenario well enough
about going online. What I have is an application which I designed using
VB6.0 . Currently its just a standalone application with no network
connectivity and is using a local Microsoft Access database. Within next
few
months, my client wants the exact replica of this application to be
available
on his website. That way, his customers can just go online to his website,
log in and use the application from a browser. This way all the
information
will be saved on a centrally located server and will be easy to backup and
update.

Right now, I am not even a rookie when it comes to .NET. I do not even
have
acess to .NET. But by doing some research I found out that the
applications
designed using VB.NET can be easily put online. I just wanted to know how
true this statement is.


Without knowing how sophisticated the current application is it is hard to
tell how long it would take. For someone that already knows VB.Net, has
created web applications and has a code base to refer to from previous
projects then a few months might be feasible if the application is
essentially a data entry type program. Generally a web based application can
take 2 to 4 times as long to create than the equivalent WinForms application
but as a "rookie" there are also the following issues that could increase
the time further:

You are new to .Net
You have not created a web application before so you are not used to the web
model and client side/ server side design considerations
You will probably want to use SQL Server as the database not Access

I would say 2 months to get used to eveything and do some prototyping and
multiply the number of months it took you to write the VB6 program by 2 and
add it all together.

My first web application was "estimated" by the project manager to be
between 3 to 5 months work (he came from a VB background like yourself).
After one year they needed to hire a second programmer because it was not
moving as fast as they thought it would. When I took the job I had just
completed an equivalent style software in VB.Net in about 3 months so I
thought 3 to 5 months seemed reasonable too for the first couple of weeks!!!

Regards,

SP
Jul 21 '05 #6

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

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...

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.