Case:
i use the res Hacker and create a file with 2 png inside. This 2 png i like to show on my gui.
Here is the code:
Code: Select all
#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
msgbox %A_ScriptDir%
Gui Font, s9, Segoe UI
Gui, Add, Picture,w30 h40 x10 y150 vc1 gclick1 icon1, png.dll ; Try 1
Gui, Add, Picture, x10 y10 icon1, png.dll ; Try 2
Gui, Add, Picture, , png.dll,2 ; Try 3
Gui, Add, Picture,, "C:\Users\zak\Desktop\Testing\png.dll" ; Try 4
; Nothings works
; with ico Files everything is fine, but how does it work with png, or mp3, or a docx.
; i know mp3 and docx are no graphics, but there should be a way to use resources from a own DLL File......
Gui Show, w620 h420, Window
Return
GuiEscape:
GuiClose:
ExitApp
click1:
Return
1. Have someone a short sample for png, mp3 or docx?
Best regards
Zak...