W
Walter Mills
When I close the database, I would like to stop this function, as it modifies
windows dirrectly. I only need this function to while in the database, and
when I close it I would Like to have the function cease. The way it is set
up now, this function starts when you first open the database, but the
effects are still there when I close the database. I will be using a single
form to exit the database every time. Can anybody help me with this?
Here is the global code that I am using:
Declare Function SystemParametersInfo Lib "user32" Alias
"SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal
lpvParam As Any, ByVal fuWinIni As Long) As Long
Sub disable(blnDisable As Boolean)
result = SystemParametersInfo(97, blnDisable, CStr(1), 0)
End Sub
windows dirrectly. I only need this function to while in the database, and
when I close it I would Like to have the function cease. The way it is set
up now, this function starts when you first open the database, but the
effects are still there when I close the database. I will be using a single
form to exit the database every time. Can anybody help me with this?
Here is the global code that I am using:
Declare Function SystemParametersInfo Lib "user32" Alias
"SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal
lpvParam As Any, ByVal fuWinIni As Long) As Long
Sub disable(blnDisable As Boolean)
result = SystemParametersInfo(97, blnDisable, CStr(1), 0)
End Sub