Get a integer data from WIN.INI using GetProfileInt API
Get a integer data from WIN.INI using GetProfileInt API
Rate Get a integer data from WIN.INI using GetProfileInt API
(1(1 Vote))
' Read the value "WallpaperStyle" under the [Desktop] section of the WIN.INI file. Return -1 if an error occured.
Dim tile As Long ' receives the information read from WIN.INI
' Read the data from WIN.INI
tile = GetProfileInt("Desktop", "TileWallPaper", -1)
If tile = 0 Then
MsgBox "Wallpaper is not tiled."
End If
If tile = 1 Then
MsgBox "Wallpaper is tiled"
End If
End
End Sub
Get a integer data from WIN.INI using GetProfileInt API Comments
No comments yet — be the first to post one!
Post a Comment