web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Form modifications using VBA

(0) ShareShare
ReportReport
Posted on by 365

Many versions back in Dynamics GP I modified two forms using Visual Basic.  They did not successfully migrate when we upgraded to GP 2018 in January of this year.  Our vulnerability management system has flagged the server with visual basic vulnerabilites.  These form modifications appear in the list of Customization Maintenance.  How do I delete them from the list and remove them from the server?  I've replaced the modifications with macros which are working fine.

Categories:
I have the same question (0)
  • Verified answer
    Richard Wheeler Profile Picture
    75,852 Moderator on at

    First, backup your FORMS.DIC and DYNAMICS.VBA files and then delete them. Launch GP and check for any errors. Go to the forms that were modified to insure they all work. If all looks good delete the DYNAMICS.VBA file from other workstations.You will also want to go to Tools->Setup->System->Alternate/Modified Forms and Reports and make sure the original form is checked for use.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,151 Most Valuable Professional on at

    You should consider migrating away from VBA as it has a number of issues now that it has reach end of life.

    Have a read of this article explaining your options:

    winthropdc.wordpress.com/.../

    Regards

    David

  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    jbeck2014, you can have modifications in dexterity. :)

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,151 Most Valuable Professional on at

    Hi Almas

    You should have a play with GP Power Tools. It uses Dexterity triggers and scripts as well as SQL, C# and VB.Net scripts.

    It also has a suite of helper functions that can do things not possible in any of those languages natively.

    Install it and activate the free trial period.

    Regards

    David

  • Suggested answer
    jbeck2014 Profile Picture
    365 on at

    Richard,

    I tried your suggestion in my test environment and it worked perfectly.  Thank you so much.  Now I'm ready to do it in production.

    Julie

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    Excellent. Glad to have been of service.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 426 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 371

#3
Martin Dráb Profile Picture

Martin Dráb 279 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans