Function DeshabilitaVentana()
  On Error GoTo ErrFuncion
   Dim prop As Property
   Const conPropNotFound = 3270
   CurrentDb.Properties("StartUpShowDbWindow") = False
Exit Function
ErrFuncion:
   If Err = conPropNotFound Then
    Set prop = CurrentDb.CreateProperty("StartUpShowDbWindow", _
        dbBoolean, False)
        CurrentDb.Properties.Append prop
        Resume Next
    Else
        MsgBox  Err.Description, vbInformation + vbOKOnly, "A V I S O"
        Exit Function
    End If

End Function

    Source: geocities.com/es/ensolva/Descargas/Documentos

               ( geocities.com/es/ensolva/Descargas)                   ( geocities.com/es/ensolva)                   ( geocities.com/es)