Skip to main content

Notifications

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:
  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Form modifications using VBA

    Excellent. Glad to have been of service.

  • Suggested answer
    jbeck2014 Profile Picture
    365 on at
    RE: Form modifications using VBA

    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

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,036 Most Valuable Professional on at
    RE: Form modifications using VBA

    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

  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: Form modifications using VBA

    jbeck2014, you can have modifications in dexterity. :)

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,036 Most Valuable Professional on at
    RE: Form modifications using VBA

    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

  • Verified answer
    Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Form modifications using VBA

    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.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans