?
Solved

VBA to Vb.net form upgrade

Posted on 2006-07-24
1
Medium Priority
?
412 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 800 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline
Suggested Courses

850 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