Sign in to follow this  
Followers 0

icon index in dll files

11 posts in this topic

Posted

this is avi default icon : C:\PROGRA~1\WINDOW~2\wmplayer.exe,-120

what mean -120 ?

wmplayer.exe has not icon with index -120

wmplayer.exe has not icon with index 120

how i con access to avi defaulticon ?

i need to your help

Share this post


Link to post
Share on other sites



Posted

Does it have with name 120?

Please read more than once before you answer.

Share this post


Link to post
Share on other sites

Posted

If you use a negative number, it means the resource identifier. Positive - the zero based index of icon in the file.

Share this post


Link to post
Share on other sites

Posted

I don't understand what you are asking for. Are you trying to mask something other than an avi as a movie file?

Share this post


Link to post
Share on other sites

Posted

please more description about icon identifire ;

i want write program that extract icon of executable files ;

my idea is extract icon of executabble files than run file type

for example

i want to extract avi icon of wmplayer

i read registry for avi

step 1 => HKEY_CLASSES_ROOT\.avi

step 2 => HKEY_CLASSES_ROOT\AVIFile

step 3 => HKEY_CLASSES_ROOT\AVIFile\DefaultIcon

step 4 => HKEY_CLASSES_ROOT\AVIFile\DefaultIcon\Default = C:\PROGRA~1\WINDOW~2\wmplayer.exe,-120

i want extract avi icon of wmplayer.exe

please help me

Share this post


Link to post
Share on other sites

Posted

i want extract any filetype runner Icon

asa file icon = C:\Program Files\Microsoft Visual Studio\VIntDev98\bin\vidisws.dll,-307

BSC file icon = C:\PROGRA~1\MICROS~3\Common\MSDev98\Bin\msdev.exe,-20212

how i compute above numbers [ -307 , -20212 ] to access file type icon ; i'v problem with positive sign

i'm sorry for my bad english

Share this post


Link to post
Share on other sites

Posted

Have you read the first 2 replies which does contain the answer?

Share this post


Link to post
Share on other sites

Posted

i'm used of negative number, it means the resource identifier.

i have problem with negative number to access icon

Share this post


Link to post
Share on other sites

Posted

yes i read but i need to example script

Share this post


Link to post
Share on other sites

Posted

Firstly you are going to have to Search the Forum, but look for WinAPIEx.au3 and then _WinAPI_ShellExtractIcon() >> here you will see the Example!

Share this post


Link to post
Share on other sites

Posted (edited)

Firstly you are going to have to Search the Forum, but look for WinAPIEx.au3 and then _WinAPI_ShellExtractIcon() >> here you will see the Example!

Thanks Thanks Thanks

i found it

Edited by HAMID

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.