
Having a diverse group of characters adds another dimension to the game. Hecker is trying to make a game unlike many others. I'd like to think, as the creator Chris Hecker would, that they walked out arm in arm. The latest headline stuck Spy Party and diversity in the same room. And the game is still making headlines every now and then. The idea was even more fantastic when it was announced in 2009. Right now, the beta of the game is fantastic. The sniper has to figure out which of the guests at the party is actually the player and is committing dirty deeds under his watch. Namely, the spy has to complete objectives while blending in with computer characters. It involves what the website calls asynchronous multiplayer, where the competing players have differing goals and abilities. It's a multiplayer game where you play as either the spy, or the assassin. I remember hearing about this nifty little spy game in the works. But even though it's versatile and robust, it doesn't do everything.Is it just me, or has the game Spy Party for PC been in development news a very long time? Sometimes, a VBA solution is convoluted or difficult to implement. When that happens, turn to the Windows Application Programming Interface (API). You'll find thousands of useful functions. Although Office developers should find the APIs in this article useful, they're not just for Office. (All of these tips are specific to 32-bit systems.) You can use them in most any Windows-based application. The VBA functions provided in this article aren't real-world ready. They are simple calls to the API, so you can see how the pieces work together. However, a few could easily move into your code library as is. Execute the VBA procedures from the Immediate window, passing the necessary arguments, to see the results. Once you know how the VBA procedures call the API functions and what to expect in return, you can modify the procedures as necessary and use them in your own projects.

Note: This article is also available for download as a PDF, along with a module containing the code examples discussed here. The Sleep function suspends execution for a specified period.

It places the running code into an inactive state for the number of milliseconds passed to the function. Simply declare the function and then call it as shown from a VBA procedure: Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) #Api vba excel code If you need to know who's logged into an Access database, use GetUserName. There are other ways to do this without calling an API, but this API is so simple, why would you bother writing your own code? GetUserName retrieves the name of the current system or the current user logged into the network.
