Disadvantages of bigger project in VBA

前端 未结 7 806
天命终不由人
天命终不由人 2021-02-10 15:22

i am new in project for company that have bigger enterprise/accounting system based on Visual Basic for Applications (VBA) in Ms Access 97. This application is still alive, they

7条回答
  •  时光说笑
    2021-02-10 16:23

    Well, it's normal to find applications in VBA according to their popularity during the late 90's. Thanks to the new MS Frameworks, .Net let you convert your code from VBA into VB.Net if you want to.

    You're right when you're saying that VB could be used today in macros for Excel, but for a big projet, VBA could be limited if you want to interact with Web Services and all the new features that you can have in .Net.

    The big challenge is to be able to fix some bugs that could appear for the conversion. If your VBA projet have been developped in Modules, or in Set of Form, you should make the convertion of each element and verify that the conversion runs.

    With a converted projet, many developpers can work on the projet, and not only using VB.net but the other langages of the .Net framework. At this moment, Web Services, NHiberante as a Persistence API, NUnit as Unit Tests (as many other features) can be added to the updated projet.

    Here's a link with the MSDN information aboit the convertion. http://msdn.microsoft.com/en-us/library/aa192490(v=office.11).aspx

提交回复
热议问题