Solved

VBA to Vb.net form upgrade

Posted on 2006-07-24
1
399 Views
Last Modified: 2012-05-07
Hi

I have an vba application which I am about to start upgrading to vb.net.

Is there any helpfull way to upgrade or is it a long process to do so, i.e recreation of forms etc.
Im sure some of the code can be salvaged.
A lot of my forms on vba have subforms attached, I believe in vb.net you must use midi, div and that subforms are not abvailable..
What is the quickest way of upgrading from vba to .net.

Hope someone can assist as always you do..
Thanks very much
Stephen
0
Comment
Question by:cstephen100
1 Comment
 
LVL 24

Accepted Solution

by:
Jeff Certain earned 400 total points
ID: 17167032
In general, the quickest way to convert an application is to rewrite it -- especially for data-centric apps. Among other things, you will have to migrate all your data code to ADO .NET objects.

Subforms are not available, per se. However, in 2.0 you can now create a display the binds to another display (i.e. a grid or a bound set of controls). A fairly standard UI can now be created drag-and-drop, using object data sources. This may not be as much work as you think to rewrite.

Other possible motivations for the rewrite: .NET is object-orientd; VBA is not. In addition, n-tier design is rare with VBA -- .NET supports it easily through the use of multiple projects within a solution.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now