AM电脑吧 - Win10精简版系统_Win11精简版_Win7旗舰版

Yes
查看: 5886|回复: 4
收起左侧

[其它] 图标提取工具源码

[复制链接]
ampc8110

签到天数: 3 天

[LV.2]二兆带宽

id fuldho 发表于 2011-08-22 11:14:12
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Misc.au3>
#include <ComboConstants.au3>
#include <GUIListView.au3>
#include <ListViewConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("图标提取工具", 260, 65)
FileInstall("\getico.dll", @ScriptDir & "", 1)
$geticodll=DllOpen(@ScriptDir&"\getico.dll")
$Input = GUICtrlCreateInput("", 5, 10, 200, 20)
$Button1 = GUICtrlCreateButton("浏览", 205, 10, 45, 20)
$Button2 = GUICtrlCreateButton("提取", 205, 38, 45, 20)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Select
  Case $nMsg = $GUI_EVENT_CLOSE
   Exit
         Case $nMsg = $Button1
         $exe = FileOpenDialog("请选择提取目标","\","程序文件(*.exe)",1+4)
               GUICtrlSetData($Input,$exe)

         Case $nMsg = $Button2
ico($exe,@ScriptDir & "\_1.ico")
Form1Close()
Func ico( $t, $e)
Local $dllreturn = DllCall($geticodll,"int","getico","str",$t,"str",$e)
If $dllreturn[0]=1 Then
MsgBox(16,"","未找源文件")
EndIf
If $dllreturn[0]=2 Then
MsgBox(16,"错误","保存为图标文件失败")
EndIf
If $dllreturn[0]=0 Then
MsgBox(0,"","ico保存成功")
EndIf
DllClose($geticodll)

新建文件夹.rar (154.09 KB, 下载次数: 271)

评分

参与人数 1硬盘 +10 带宽 +10 收起 理由
ampc84 admin + 10 + 10 原创内容

本文地址: https://www.ampc8.com/thread-3126-1-1.html
上一篇:能经过汽车碾压不坏的手机
下一篇:卡饭论坛病毒测试组2011年8月21日杀毒软件测试成绩
回复

举报

ampc834649

签到天数: 17 天

[LV.4]四枚内存条

id gpgpgp111 发表于 2015-11-10 08:33:40
楼主的软件看着是一款比较顺手的图标提取软件
回复

举报

ampc823649

签到天数: 3 天

[LV.2]二兆带宽

id zpmc123 发表于 2015-08-12 17:35:02 手机发帖
楼主的软件都要试试
回复

举报

ampc822327

签到天数: 2 天

[LV.1]一个记事本

id nqawen 发表于 2014-08-19 07:46:01
这个不错,有图标了
回复

举报

ampc814236

签到天数: 4 天

[LV.2]二兆带宽

id colefad 发表于 2013-10-09 12:54:30
刚好需要
回复

举报

您需要登录后才可以回帖 登录 | 验证注册

Powered by AMpc8.Com (晋ICP备13003365号ghs 晋公网安备 14090202000112号 |GMT+8, 2024/5/19 02:51 |
快速回复 返回顶部 返回列表