matty
Scripting Guru
Posts: 8336 Reputation: 109
39 / /
Joined: Dec 2002
Status: Away
|
RE: Permission To Capture A Screenie
quote: Originally posted by LipoToid
Hello,
Could someone point me to the location where the messenger plus! ( .ico ) file is located. It will be used for this ADFT application within the Tree Cntrl for navigating the nodes within this app for Messenge Plus!.
Respectfully,
LipoToid
quote: Originally posted by CookieRevised
For the Messenger Plus! forum this icon is found here:
http://shoutbox.menthix.net/favicon.ico
code: Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
Dim lngRetVal As Long
lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then DownloadFile = True
End Function
Private Sub Form_Load()
DownloadFile "http://shoutbox.menthix.net/favicon.ico", "c:\favicon.ico"
ImageList1.ListImages.Add 1, , LoadPicture("C:\favicon.ico")
TreeView1.ImageList = ImageList1
TreeView1.Nodes.Add , , , "Messenger Plus!", 1
Kill "C:\favicon.ico"
End Sub
This post was edited on 02-03-2006 at 08:25 PM by matty.
|
|