Friday, December 10, 2010

Windows 7 Resource Kit, still the best reference

Windows 7 Resource KitSince the times of the Windows 3.1 Resource Kit (1993?) I always get my copy of this essential guide to everything Windows. This Windows 7 Resource Kit is the best education you can get on this great operating system, Windows Vista's genetically improved heir, in a language you can understand, but also with a great technical level. In addition, you'll have good and documented information not only when it comes to fixing a rogue computer but also when you want to have an intelligent and meaningful chat with IT people or other PC enthusiasts. Divided in six parts and 32 two chapters it offers great insights on Windows 7 security, deployment, desktop management, desktop maintenance, networking and troubleshooting. This mammoth reference book is worth having in your library.

When your MS Access application won't run in all PCs

If you are an Access developer in a multi-user environment you know that even after testing and debugging, time and again, something could go wrong. How about one of your client PCs not loading the Main Menu (Switchboard)? This is the situation: you get inside your VBA code (from within the problem machine) to see what's going and then hit "Debug, compile" only to get to this line: Set con = Application.CurrentProject.Connection (which appears twice) and some error message about a "missing DLL". The core of the matter is simply that this is Activex Data Object (ADO) code that the application does not recognize even though is clearly referenced (see screenshot above). The answer to this puzzle which is provided in the Microsoft support knowledge base, solution 2 (kb/262847) consists basically in changing this and other lines to be compatible with Data Access Objects (DAO) also listed in this particular example. Do not be misled by the title of that support article. What went wrong? I was developing and debugging in a machine with Access 2003 SP3 installed and moved to another machine with Access 2003 SP2 and even if I updated to SP3 I kept getting that compilation error. As usual, going to all those forums where some people want to honestly help, but also others just are trying to impress with their "expertise" it is hard to find the right answer. There is a lot of misleading and incomplete information out there.