vb123.com.au
These samples are discussed at
length in Chapter 6 of Garry's Book on Access
Protection and Security
Read More
If you are having troubles with corruptions, it is good to check
that all your users are using the same version of the Jet Engine. To do that you
need to look at the jet DLL file using the scripting object to retrieve the
information. This function will help you do that. Or see some more general comments on getting the file version here
Other Toolbox Articles That You Might Want To Read
Focus on Popular Objects to Speed
up an Access 2007 Database
Click on the following button
Your Access 2002/2003 sample database file is called "grMap2002.zip"
and your Access 2000 sample database file is called "grMap2000.zip"
If you do NOT own "The Toolbox", Click
here to find out how to purchase The Toolbox.
Find Out More
You should also see the more advanced techniques that can be used
to shutdown databases and send messages to users in the
Access Workbench
Function JetVersion_FX() As String
'Return the version of Jet that the user is using
Dim objFSO, temp, temp2, getVersion ', response
On Error Resume Next
getVersion = "JetVersion_FX failed"
Set objFSO = CreateObject("Scripting.FileSystemObject")
temp = objFSO.GetFileVersion("c:\windows\system32\msjet40.dll")
If Len(temp) = 0 Then
temp2 = objFSO.GetFileVersion("c:\winnt\system32\msjet40.dll")
If Len(temp2) > 0 Then
temp = temp2
End If
End If
If Len(temp) > 0 Then
getVersion = Trim$(temp)
Else
getVersion = "Version unknown"
End If
Set objFSO = Nothing
JetVersion_FX = getVersion
End Function
http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/hey0418.mspx
to jump to the next page in the protection samples loop.Our Tools and Resources
vb123 Professionals
Get Good Help Here
If you need help with a database or
Office programming,
our Professionals could be the answer because we have worked on many
similar solutions
Frontpage Conversions
We have converted vb123.com to Expression Web,
contact us if we can help you move to the latest Microsoft web tool.
About The Editor ~ Contact Us
Garry Robinson writes for a number
of popular computer magazines, is now a book author and has worked on
100+ Access databases. He is based in Sydney, Australia
Access 2003 Security