Solved

VBA to Vb.net form upgrade

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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