Results 1 to 4 of 4

Thread: [RESOLVED] change icon of another exe, resource API

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    330

    Resolved [RESOLVED] change icon of another exe, resource API

    Hello there , I know that changing icon of another exe needs some resource editting API , but anybody know how? I searched and got 2 results and they asked same question but the reply was like "there are icon changers " w/e , please I need really help in here.

  2. #2
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,834

    Re: change icon of another exe, resource API

    I found this module a while ago on a French website.
    Attached Files Attached Files

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    330

    Re: change icon of another exe, resource API

    Thanks , I LOVE YOU OLOLOLOL <3.

  4. #4
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: [RESOLVED] change icon of another exe, resource API

    Did you get it to work?

    I tried it but it failed in the below function
    Code:
    Public Function OpenIconFile(FileName As String) As Ico
     Dim t As Ico    'structure temporaire
     Dim X As Long  'compteur
    
     
     ' on ouvre le fichier
     Open FileName For Binary As #1
        
     ' on récupère l'entete du fichier
     Get #1, , t.IcoDir
        
     'redimensionne au nombre d'icones
     ReDim t.Entries(0 To t.IcoDir.idCount - 1)  '<----- Subscript out of range
     ReDim t.IcoData(0 To t.IcoDir.idCount - 1)
      '
      '
      '
      '
      '
      '
    End Function

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width