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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Using VBA to cycle through VBA projects?

(0) ShareShare
ReportReport
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
    10 on at

     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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans