| | |
VB6 to VB.NET conversion help
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Aug 2008
Posts: 46
Reputation:
Solved Threads: 1
Hi , i there is VB 6 app that our client has which must be converted to VB.NET/C# .
The application is a database application and application logic is stored in VB6 code and about 8 stored procedures.
There is a Test environment and there is a Production environment which are not the same.(The test environment SQL tables aren't updated , and some table/stored procedure structures are not the same)
I don't understand the full system.
How do I go by understanding the system?
I've tested a Visual Basic 6 upgrade assessment tool that predicted the conversion of this would take 3.64 months.
There are 20 forms.
Would I need a table comparing tool like Redgate.
My experience is not a lot . My c# knowledge is more than vb6.
The application is a database application and application logic is stored in VB6 code and about 8 stored procedures.
There is a Test environment and there is a Production environment which are not the same.(The test environment SQL tables aren't updated , and some table/stored procedure structures are not the same)
I don't understand the full system.
How do I go by understanding the system?
I've tested a Visual Basic 6 upgrade assessment tool that predicted the conversion of this would take 3.64 months.
There are 20 forms.
Would I need a table comparing tool like Redgate.
My experience is not a lot . My c# knowledge is more than vb6.
•
•
Join Date: Jun 2008
Posts: 13
Reputation:
Solved Threads: 2
2
#4 33 Days Ago
Step 1: First off, you need to validate your dev/test environment and reconcile the differences with production. It sounds like test contains an in-progress release. Figure out what things are out of sync with Prod and which how/if they are supposed to be finished and move to prod.
Step 2: Per TomW's implication, decide what "really .NET" means for this application. If you do not do this, it does not matter how the .NET code is created, it will not "really" be .NET. Unfortunately, if you ask 10 people you will probably get 10 different answers for what "really .NET" means. But the point is, you will have to invest time to learn about the many design options available in .NET followed by some good old technical analysis and design work to decide how you should do your app in .NET.
Step 3: The other point TomW made is also critical, get ready to *use* the old project as a guideline for what needs to be created. Make sure you understand how to exercise and validate the functionality of the new app. 20 forms and 8 procs implies a very small app by VB6 standards, but its impossible to judge from those facts alone. There could easily be hundreds of business rules and UI design decisions defined by the VB6 code and you will have to systematically understand and re-implement those rules in a way that fits the "really .NET" design decisions you made in step 2.
I always use tools to help do migrations -- I do the technical design by hand, and I leverage tools to help me *use* the legacy code: to capture all functional requirements from the legacy source and to faithfully implement the functionality in a way that fits my design. This is called a "tool-assisted-rewrite" and I use the products from Great Migrations to do it.
Step 2: Per TomW's implication, decide what "really .NET" means for this application. If you do not do this, it does not matter how the .NET code is created, it will not "really" be .NET. Unfortunately, if you ask 10 people you will probably get 10 different answers for what "really .NET" means. But the point is, you will have to invest time to learn about the many design options available in .NET followed by some good old technical analysis and design work to decide how you should do your app in .NET.
Step 3: The other point TomW made is also critical, get ready to *use* the old project as a guideline for what needs to be created. Make sure you understand how to exercise and validate the functionality of the new app. 20 forms and 8 procs implies a very small app by VB6 standards, but its impossible to judge from those facts alone. There could easily be hundreds of business rules and UI design decisions defined by the VB6 code and you will have to systematically understand and re-implement those rules in a way that fits the "really .NET" design decisions you made in step 2.
I always use tools to help do migrations -- I do the technical design by hand, and I leverage tools to help me *use* the legacy code: to capture all functional requirements from the legacy source and to faithfully implement the functionality in a way that fits my design. This is called a "tool-assisted-rewrite" and I use the products from Great Migrations to do it.
•
•
Join Date: May 2009
Posts: 372
Reputation:
Solved Threads: 26
-2
#5 33 Days Ago
If it is a database program, rewrite the whole thing into Access. Access has more options and less need for so many forms. If you are unable to complete the project, you will have to hire someone who is proficient in this type of project or tell your client it is not within your means to complete the project.
Don't mislead clients into thinking you are capable of doing something if you cannot convert the project satisfactorily. A client will respect you more if you admit that you cannot do the project.
Handling this type of project will take you away from other clients whose projects are probably less incumbrent and more easily completed.
The "too hard basket" is nearly always full. Perhaps top it up with this project?
Don't mislead clients into thinking you are capable of doing something if you cannot convert the project satisfactorily. A client will respect you more if you admit that you cannot do the project.
Handling this type of project will take you away from other clients whose projects are probably less incumbrent and more easily completed.
The "too hard basket" is nearly always full. Perhaps top it up with this project?
If ALL my answers are wrong, only then will I read the question
![]() |
Similar Threads
- vb6 to vb.net conversion problems (VB.NET)
- Migrating VB6 to .Net (VB.NET)
- Qb to VB.NET (VB.NET)
- RDBMS project with vb6.0 or vb.net (Visual Basic 4 / 5 / 6)
Other Threads in the VB.NET Forum
- Previous Thread: Sql server connection using code in VB.NET
- Next Thread: How to read pdf files with VB.net program- pls help me.
| Thread Tools | Search this Thread |
.net .net2008 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms generatetags html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown soap socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





