Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. context menu for CD drive

context menu for CD drive

Scheduled Pinned Locked Moved Visual Basic
helpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    phowarso
    wrote on last edited by
    #1

    hello! i wanna add a context menu as "Close CD Tray" in CD drive's context menu. but i can't only CD drive's context menu. my context menu is working on all drives as C:, D:, E: so on. i wanna show it just only on CD drive's context menu. could u help me pls? i'll thz u very much.... :laugh: :laugh: :laugh:

    J J J 3 Replies Last reply
    0
    • P phowarso

      hello! i wanna add a context menu as "Close CD Tray" in CD drive's context menu. but i can't only CD drive's context menu. my context menu is working on all drives as C:, D:, E: so on. i wanna show it just only on CD drive's context menu. could u help me pls? i'll thz u very much.... :laugh: :laugh: :laugh:

      J Offline
      J Offline
      Johnny J
      wrote on last edited by
      #2

      I don't know off hand how to extend a particular context menu, but I know that it can be done. You should be aware that this can become a problem, though: http://www.codeproject.com/Messages/3227491/Do-not-write-shell-extensions-in-Csharp-Is-this-st.aspx[^] Good luck.

      1 Reply Last reply
      0
      • P phowarso

        hello! i wanna add a context menu as "Close CD Tray" in CD drive's context menu. but i can't only CD drive's context menu. my context menu is working on all drives as C:, D:, E: so on. i wanna show it just only on CD drive's context menu. could u help me pls? i'll thz u very much.... :laugh: :laugh: :laugh:

        J Offline
        J Offline
        Johan Hakkesteegt
        wrote on last edited by
        #3

        You will have to check which drive is selected before you create the context menu. Then when the user clicks the cd drive you show your menu, otherwise you just show the default one.

        My advice is free, and you may get what you paid for.

        1 Reply Last reply
        0
        • P phowarso

          hello! i wanna add a context menu as "Close CD Tray" in CD drive's context menu. but i can't only CD drive's context menu. my context menu is working on all drives as C:, D:, E: so on. i wanna show it just only on CD drive's context menu. could u help me pls? i'll thz u very much.... :laugh: :laugh: :laugh:

          J Offline
          J Offline
          JR212
          wrote on last edited by
          #4

          If you work with a 32bit Windows take loo at this[^] On a 64b windows it won't work.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups