Exporting Access Forms to Microsoft Visual Studio 2019

JohnCTX 636 Reputation points
2021-02-21T02:40:10.893+00:00

I want to know currently, if it is possible to Export an Access Form along with its controls to Visual Studio 2019?

If it is possible then can it be done using C#?

Regards,

JohnCTX

Microsoft 365 and Office Access Development
Developer technologies Visual Basic for Applications
Developer technologies C#
0 comments No comments
{count} votes

Accepted answer
  1. Tom van Stiphout 1,861 Reputation points MVP Volunteer Moderator
    2021-02-21T14:30:05.25+00:00

    No.

    If you want to go to extremes, you can export an Access form to a text file (Application.SaveAsText) and process the XML, or you can use Automation to iterate over a form's Controls collection and inspect the properties and create similar controls in Visual Studio.
    Perhaps worth the effort if you have to do thousands of forms; otherwise you may be better off creating them manually.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.