« 投資一個大未來-如何投資越南基金?? | 回到主頁面 | links for 2007-08-29 »

August 29, 2007

How to change and find Autoplay setting?


將此網頁加入【百度收藏】... 加入此網頁到【del.icio.us 書籤】 technorati

AppPicker.JPG
(Application Picker dialog from XP)

Application Picker is a dialog which will show-up when you insert DVD title or new medium in your computer. It show all playable application and let you to choose one from the list.

One day, I just woundering where can I find the setting? How could I change the autoplay icon?  How could change the autoplay string?

Here is the detail document from MSDN: Preparing Hardware and Software for Use with AutoPlay

In follows steps, I will show you how to use "REGEDIT.EXE" to find out the setting and how it work.

  1. In Windows XP command line run "regedit"
  2. Find the Event handler in:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers]
  3. The Event handler show the all kind event which come from Windows, find out "PlayDVDMovieOnArrival". This is all application picker list when you insert DVD movie title into your computer.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\PlayDVDMovieOnArrival]
    "MSOpenFolder"=""                           // For Open folder
    "RPPlayDVDMovieOnArrival"=""         //Use Real play to playback movie
    "MPCPlayDVDMovieOnArrival"=""      //Use media player to playback movie.
  4. Ok this is the first step.Then we will go to "Handlers" to figure out how it work and what application it used.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers]
  5. Every item in "Handlers" is presented a application. Let me show Media Player for your reference:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MSPlayDVDMovieOnArrival]
    "Action"="@wmploc.dll,-6504"                //Will show in dialog "Play DVD Movie"
    "Provider"="@wmploc.dll,-6502"             //Provider name "Using Windows Media Player"
    "InvokeProgID"="WMP.DVD"                   //Application ID which you can find in GUID.
    "InvokeVerb"="play"                               //Playback command
    "DefaultIcon"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
      00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,\
      20,00,4d,00,65,00,64,00,69,00,61,00,20,00,50,00,6c,00,61,00,79,00,65,00,72,\
      00,5c,00,77,00,6d,00,70,00,6c,00,61,00,79,00,65,00,72,00,2e,00,65,00,78,00,\
      65,00,2c,00,30,00,00,00
  6. If you want to change any of it, just do it. Before you change anything, please remember to backup your registry setting.


VC6相關問題 / 下一代微軟視窗系統的相關問題 / VS2005 (俗稱的VC8)相關問題

由 Evan 發表於 August 29, 2007 將此網頁加入【百度收藏】... 加入此網頁到【del.icio.us 書籤】 technorati
引用
本文的引用網址:


以下是前來引用的連結 'How to change and find Autoplay setting?' 來自 Blog E
迴響
發表迴響









記住我的資訊?




(請輸入以下的驗證碼)