devxlogo

March 10, 2001

SearchFileOnPath – Search a file on system path

Private Declare Function SearchPath Lib “kernel32” Alias “SearchPathA” (ByVal _ lpPath As String, ByVal lpFileName As String, ByVal lpExtension As String, _ ByVal nBufferLength As Long, ByVal lpBuffer As String,

SetWallPaper – Change the desktop’s wallpaper

Private Function SystemParametersInfo Lib “user32” Alias _ “SystemParametersInfoA” (ByVal uAction As Long, ByVal uParam As Long, _ ByVal lpvParam As Any, ByVal fuWinIni As Long) As LongConst SPI_SETDESKWALLPAPER = 20′