Solved

VBA to Vb.net form upgrade

Posted on 2006-07-24
1
402 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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

840 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