Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Using VBA to cycle through VBA projects?

Posted on by 10

Ultimately, my goal is to store version info with each VBA project that is loaded so that the VBA version info can be displayed for easy reference.  I'm not sure that this is feasible as there doesn't appear to be a relevant Collection object to reference.  I'd like to see each VBA Project, version data (that is hard-coded per project), and it would be a bonus to view the various Windows that have been added to the project.

I suppose that I could basically hard-code everything (retrieve the version info specifically from each referenced VBA project)... perhaps create a VBA module that references hard-coded projects.  I anticipate hard-coding and maintaining version info in each VBA project.

Does anyone have a better idea?  It would be very appreciated.

 Thanks in advance!

Mitch


*This post is locked for comments

  • MitchV Profile Picture
    MitchV 10 on at
    Re: Using VBA to cycle through VBA projects?

     I stumbled on TK: 867417

    It states you can add a DEXVBA.INI file with the "LogObjects" setting equal to TRUE - this will dump all the loaded VBA objects into a text file.

     

    Can this kind of functionality be referenced via sanscript?  I don't see anything in the Dex-help documentation.

     

    Thanks again!

     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans