What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » Permission To Capture A Screenie

Permission To Capture A Screenie
Author: Message:
Chestah
Veteran Member
*****

Avatar

Posts: 1658
Reputation: 34
35 / Male / –
Joined: Jun 2004
RE: Permission To Capture A Screenie
quote:
Originally posted by Matty

   
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



You might want to add some error trapping in there as well just incase one of the servers you're accessing are down.. infact why not just download the .ico images and add them into the application resources?

Error Trapping code:

Try
<<insert code here that you would like to happen>>

Catch ex As Exception
<<insert code here that happens when an error occurs>>
<< ex.message = string of the error that occured>>

End Try
Segosa is newb.
02-04-2006 12:48 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Permission To Capture A Screenie - by LipoToid on 01-26-2006 at 03:56 AM
RE: Permission To Capture A Screenie - by Menthix on 01-26-2006 at 12:08 PM
RE: RE: Permission To Capture A Screenie - by CookieRevised on 01-31-2006 at 10:08 AM
RE: Permission To Capture A Screenie - by LipoToid on 01-26-2006 at 03:13 PM
RE: Permission To Capture A Screenie - by Idium on 01-26-2006 at 04:32 PM
RE: Permission To Capture A Screenie - by LipoToid on 01-26-2006 at 04:45 PM
RE: Permission To Capture A Screenie - by Kryptonate on 01-26-2006 at 04:51 PM
RE: RE: Permission To Capture A Screenie - by LipoToid on 01-26-2006 at 05:02 PM
RE: Permission To Capture A Screenie - by Menthix on 01-26-2006 at 05:06 PM
RE: Permission To Capture A Screenie - by Kryptonate on 01-26-2006 at 05:06 PM
RE: RE: Permission To Capture A Screenie - by LipoToid on 01-26-2006 at 05:17 PM
RE: Permission To Capture A Screenie - by Kryptonate on 01-26-2006 at 05:21 PM
RE: Permission To Capture A Screenie - by LipoToid on 01-26-2006 at 10:23 PM
RE: Permission To Capture A Screenie - by LipoToid on 01-31-2006 at 03:50 AM
RE: Permission To Capture A Screenie - by LipoToid on 01-31-2006 at 02:56 PM
RE: RE: Permission To Capture A Screenie - by CookieRevised on 01-31-2006 at 06:25 PM
RE: Permission To Capture A Screenie - by Dempsey on 01-31-2006 at 06:28 PM
RE: RE: Permission To Capture A Screenie - by CookieRevised on 01-31-2006 at 06:32 PM
RE: RE: RE: Permission To Capture A Screenie - by LipoToid on 01-31-2006 at 07:06 PM
RE: Permission To Capture A Screenie - by CookieRevised on 01-31-2006 at 07:21 PM
RE: RE: Permission To Capture A Screenie - by LipoToid on 01-31-2006 at 07:35 PM
RE: Permission To Capture A Screenie - by LipoToid on 02-03-2006 at 05:14 PM
RE: Permission To Capture A Screenie - by matty on 02-03-2006 at 08:14 PM
RE: Permission To Capture A Screenie - by LipoToid on 02-03-2006 at 10:01 PM
RE: RE: Permission To Capture A Screenie - by CookieRevised on 02-04-2006 at 01:53 AM
RE: Permission To Capture A Screenie - by Chestah on 02-04-2006 at 12:48 AM
RE: Permission To Capture A Screenie - by matty on 02-04-2006 at 01:00 AM
RE: Permission To Capture A Screenie - by Chestah on 02-04-2006 at 01:43 AM
RE: Permission To Capture A Screenie - by LipoToid on 02-04-2006 at 01:59 AM
RE: RE: Permission To Capture A Screenie - by CookieRevised on 02-04-2006 at 02:25 AM
RE: Permission To Capture A Screenie - by surfichris on 02-04-2006 at 02:35 AM
RE: Permission To Capture A Screenie - by LipoToid on 02-04-2006 at 03:01 AM
RE: Permission To Capture A Screenie - by LittleK on 02-04-2006 at 10:19 AM
RE: Permission To Capture A Screenie - by CookieRevised on 02-05-2006 at 01:42 AM
RE: Permission To Capture A Screenie - by LipoToid on 02-05-2006 at 03:38 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On