M.7. Use a Splash Screen

You can display a custom logo (instead of the Access logo) while your Access program loads. Name a bitmap the same name as your database file (YourAppName.tif) and put it in the same folder as the database (.mdb or .accdb). The bitmap image will be displayed instead of the Access startup logo when you launch your application.

If you just want to remove the Access startup logo, you can create a bitmap image with just one pixel. Here's how: start Paint, select Image Attributes, specify Width = 1 and Height = 1, make sure Pixels is selected in the Units pane, and save the image. It doesn't really matter what color the pixel is because it will hardly be noticeable.

Now, with a fast computer, you probably won't notice your custom logo (or pixel) because it will only be displayed for a fraction of a second. So, you need another splash screen inside your application. The first screen of your application should always be a splash screen that shows at least the application name, client's company name, version number, and your company name. This single feature says, "This is a professional application." You could use a logo (either yours or your client's) and some basic application information, as shown in Figure M-13.

Example code for displaying the Splash screen for a specified number of seconds (3 or 4 seconds seems like a good duration) can be found in the Microsoft ...

Get Access™ 2007 VBA Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.