線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1378
推到 Plurk!
推到 Facebook!

在程式中啟動控制台的的各項週邊設備設定畫面

 
領航天使
站長


發表:12216
回覆:4186
積分:4084
註冊:2001-07-25

發送簡訊給我
#1 引用回覆 回覆 發表時間:2002-07-08 21:47:10 IP:192.168.xxx.xxx 未訂閱
在程式中啟動控制台的的各項週邊設備設定畫面: var x:cardinal; begin {啟動控制台} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL',9); {輔助選項 屬性-鍵盤} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1',9); {輔助選項 屬性-音效} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2',9); {輔助選項 屬性-顯示器} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3',9); {輔助選項 屬性-滑鼠} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4',9); {輔助選項 屬性-一般} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5',9); {新增/移除程式 屬性-安裝/移除} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,1',9); {新增/移除程式 屬性-Windows安裝程式} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,2',9); {新增/移除程式 屬性-啟動} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Appwiz.cpl,,3',9); {顯示 屬性-背景} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0',9); {顯示 屬性-螢幕保護程式} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1',9); {顯示 屬性-外觀} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2',9); {顯示 屬性-設定值} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3',9); {Internet 屬性-一般} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,0',9); {Internet 屬性-安全} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,1',9); {Internet 屬性-內容} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,2',9); {Internet 屬性-連接} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,3',9); {Internet 屬性-程式} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,4',9); {Internet 屬性-進階} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Inetcpl.cpl,,5',9); {地區設定 屬性-地區設定} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,0',9); {地區設定 屬性-數字} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,1',9); {地區設定 屬性-貨幣} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,2',9); {地區設定 屬性-時間} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,3',9); {地區設定 屬性-日期} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Intl.cpl,,4',9); {遊戲控制器-一般} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Joy.cpl,,0',9); {遊戲控制器-進階} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Joy.cpl,,1',9); {滑鼠 屬性} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Main.cpl',9); {多媒體 屬性-音效} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,0',9); {多媒體 屬性-音訊} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,1',9); {多媒體 屬性-MIDI} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,2',9); {多媒體 屬性-CD音樂} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,3',9); {多媒體 屬性-設備} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Mmsys.cpl,,4',9); {數據機 屬性} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Modem.cpl',9); {網路} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Netcpl.cpl',9); {密碼 屬性} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Password.cpl',9); {掃瞄器與數位相機 屬性} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sticpl.cpl',9); {系統 內容-一般} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,0',9); {系統 內容-網路識別} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,1',9); {系統 內容-硬體} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,2',9); {系統 內容-使用者設定} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Sysdm.cpl,,3',9); {日期/時間 屬性} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL timedate.cpl',9); {電源管理 屬性} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Powercfg.cpl',9); {撥號網路內容} x:=winexec('rundll32.exe shell32.dll,Control_RunDLL Telephon.cpl',9); if x=0 then messagebox(0,'程式超過容量','錯誤',0); if x=ERROR_BAD_FORMAT then messagebox(0,'該程式非一個合法的Win32.EXE程式).','錯誤',0); if x=ERROR_FILE_NOT_FOUND then messagebox(0,'指定文件找不到','錯誤',0); if x=ERROR_PATH_NOT_FOUND then messagebox(0,'指定路徑找不到','錯誤',0); end; ~~~Delphi K.Top討論區站長~~~
------
~~~Delphi K.Top討論區站長~~~
系統時間:2024-07-18 9:38:43
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!