David Musgrave on "Welcome to Dynamics!" VBA Customization

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/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: