Solved

VBA to Vb.net form upgrade

Posted on 2006-07-24
1
404 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
[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
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
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…

707 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