?
Solved

Is there any tool to convert powerbuilder project to VB.net?

Posted on 2014-01-10
5
Medium Priority
?
1,159 Views
Last Modified: 2014-01-11
I have ERP system , Client-Server programmed by power builder and SQL 2008 Database, is there any tool to convert the project to VB.net?
0
Comment
Question by:Ihab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 21

Assisted Solution

by:Craig Wagner
Craig Wagner earned 750 total points
ID: 39772448
I've never heard of such a tool. I was going to start writing up a more detailed response but a quick Google search turned up this post that explains it much better than I was going to.

http://stackoverflow.com/a/833026/97382
0
 

Author Comment

by:Ihab
ID: 39772494
<I was going to start writing up a more detailed response>
Thanks but can you tell me what was in your mind?
0
 
LVL 21

Expert Comment

by:Craig Wagner
ID: 39772557
What was on my mind was what the SO post said. That's why I said it "explains it much better than I was going to."
0
 

Author Comment

by:Ihab
ID: 39772597
Thanks I will read the post and I will reply
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 750 total points
ID: 39773498
Even if such a tool existed, I would advise against using it, unless you a great love of headaches, bugs that are hard to solve and loss of performance.

Asking if there is a tool to make such a conversion is like asking if there is a tool to convert a Mac application to .NET.

Think that even conversions from VB6 to VB.NET usually do not work well, although they use the same language from the same company, that happens to be the best one to understand what happens under the hood in .NET. (To be True, the converter provided with Visual Studio was outsourced to a company outside of Microsoft).

Conversion code can usually easily map most command in one environment to a command in another environment. But they cannot map the design of one environment to another.

That is the main difference. .NET is not a new language, it's a new environment. Applications must be designed differently. At that level, all a conversion tool can do is to try to simulate in the new environment the way the application used to work in the older environment. This results in code that nobody would ever have written, that is not efficient, very difficult to maintain, and often has problems migrating from one version of the framework to the next because it does not use the native way doing things in .NET.

Just one example, error handling. While PowerBuilder uses a single Error with an Error.Number to identify the error, .NET uses a mechanism "borrowed" from C or Java. The notion of an Error.Number does not exists in .NET. There is a Try...Catch mechanism that Catch an error, and the error is identified by the type of the object (class) that is catched. Could be a FileNotFoundException object or a SqlException object (there are dozenz of these exception classes), each with its own properties that give usefull information about the problem and where it occurred.

The way you handle errors is thus very different, and it often impossible to map the old ways to the new ones.

A convertion from any language or environment always end up with a buggy application that sometimes as much time to debug as a rewrite, and always very badly designed and hard as hell to maintain.

As bad as it can look, if you absolutely need to skip PowerBuilder, you will have to think rewrite instead of conversion.
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question