Jump to content
Sign in to follow this  
Hellfire

Grab icon of process

Recommended Posts

Hellfire

I want to display the icon of a process with the GUICtrlCreateIcon function.

Say if iexplorer.exe is running, I want to display the internet explorer icon.

How can I do this?

Share this post


Link to post
Share on other sites
slightly_abnormal

i'd wouldn't be suprised if i'm the only one who can't find the function that shows the icon.. :D

Share this post


Link to post
Share on other sites
herewasplato

i'd wouldn't be suprised if i'm the only one who can't find the function that shows the icon.. :D

Look around this line:

$Icon = RegRead($regkey & '\' & $skey, 'DisplayIcon')

and note that the icon will be the default icon and may not be the one that the user is used to seeing...


[size="1"][font="Arial"].[u].[/u][/font][/size]

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.