Article ID: 181035
Article Last Modified on 7/15/2004
Private Sub Command1_Click()
Dim objSession As MAPI.Session
Dim objInfoStore As InfoStore
Set objSession = CreateObject("mapi.session")
objSession.Logon
Set objInfoStore = objSession.InfoStores("Public Folders")
If objInfoStore.Fields(&H6632000B).Value Then 'PR_STORE_OFFLINE
MsgBox "Store is offline", , "Offline Status"
Else
MsgBox "Store is online", , "Offline Status"
End If
End Sub
Keywords: kbhowto kbmsg KB181035