by Wesley Chargen (1 Submission)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
This code downloads the cat of the day picture from www.catoftheday.com. This code allows you to download a picture from a website and display it. It could be implemented in numerous ways, such as in a game that downloads new sprites everyday. Hope you guys like it. Vote for me please!
API DeclarationsPrivate Declare Function OleLoadPicturePath Lib "oleaut32.dll" (ByVal szURLorPath As Long, ByVal punkCaller As Long, ByVal dwReserved As Long, ByVal clrReserved As OLE_COLOR, ByRef riid As TGUID, ByRef ppvRet As IPicture) As Long
Download Cat of the Day (4 KB)