[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.
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