Results 1 to 5 of 5

Thread: Enable / Disable Autorun

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    5

    Post

    Hi,

    Can anyone help me with a method to disable and enable the autorun of CD-Rom's via code?

    I would also like to be able to check what
    the user's current setting of Autorun is, and be able to restore it when exiting my prog.

    Thanks

  2. #2
    New Member
    Join Date
    Jun 1999
    Location
    Stafford, England
    Posts
    6

    Post


    Hi,

    I dont know any function that can do that...maybe u can check the registry...it should be inside there, then u can use the API to fetch from registry...hope it help

  3. #3
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    Registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Under Value: NoDriveTypeAutoRun

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    5

    Post

    Thanks for the Info.

  5. #5
    Junior Member
    Join Date
    Sep 1999
    Posts
    23

    Post

    ok this may be a stupid question I found that registry entry, but how do I go about disabling autorun now?

    Matt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width