David Musgrave on "Welcome to Dynamics!" VBA Customization

From the archive. This post dates from the blog’s Dynamics GP and early Power Platform era. Products and screenshots may have changed since it was written, and some of its links (PartnerSource and CustomerSource pages, legacy Maximum Global Business downloads, and other retired sites among them) may have been archived or may no longer be available.


David Musgrave knocks it over the wall with this fun, yet powerful customization that shows the endless possiblities of Dynamics GP's Visual Basic for Applications. For those of you who are not quite familiar with the first four or five releases of GP, upon launching the application, a WAV file would play the now famous words in a sassy voice "Welcome to Dynamics!".

In David's script, the PlaySound method found in the Windows Winmm.dll library allows a user to play a sound file. If the flag parameter is switch from 1 to 0, the method will pause while it plays the sound allowing the screen to refresh. By setting the flag parameter to 1, the sound is played immediately forcing VBA not to wait for the screen refresh.

As usual, in his article David provides the code, wave file, package file, and step by step instructions for you to recreate this customization and have fun.

Until next post!

MG.-
Mariano Gomez, MIS, MVP, MCP, PMP
Maximum Global Business, LLC
http://www.maximumglobalbusiness.com/

Comments

Microsoft MVP Alumni