question

JohnCTX-6479 avatar image
0 Votes"
JohnCTX-6479 asked ·

Exporting Access Forms to Microsoft Visual Studio 2019

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

dotnet-csharpoffice-vba-devoffice-access-dev
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TvanStiphout avatar image
1 Vote"
TvanStiphout answered ·

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.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.