AccessTr.neT
butonda olay yordamı - Baskı Önizleme

+- AccessTr.neT (https://accesstr.net)
+-- Forum: Microsoft Access (https://accesstr.net/forum-microsoft-access.html)
+--- Forum: Access Cevaplanmış Soruları (https://accesstr.net/forum-access-cevaplanmis-sorulari.html)
+--- Konu Başlığı: butonda olay yordamı (/konu-butonda-olay-yordami.html)



butonda olay yordamı - altangüven - 11/06/2010

herkese selamlar. daha önce gördüğüm bir örneği şu anda bulamaıyorum bu nedenle sizden yardım istiyorum. formumda bulanan botonumun tıklandığında yordamına "bilgisayarım" penceresinin açılmasını istiyorum. Yani tam ekranda çalışırken dosya konumlarına ulaşmak istiyorum.


Cvp: butonda olay yordamı - Kur@l - 11/06/2010

Bilmiyorum bu örnekmidir ama bunda da var o aradığınız özellik, kolay gelsin...
https://accesstr.net/konu-trafik-tescil-programi-final.html


Cvp: butonda olay yordamı - altangüven - 14/06/2010

ilginize teşekkür ederim evet burada dosya konumlarını gösteren bir form var ama benim istediğim windows penceresinde bilgisayarım konumuna ulaşmak.


Cvp: butonda olay yordamı - Seruz - 14/06/2010

Kod:
Call Shell("Explorer.exe  /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 1)
komutu ile yapabilirsiniz.

Aslında sadece aşağıdaki şekilde bile yazmanız yeterli.
Kod:
Call Shell("Explorer.exe")
Ancak Explorer.exe 'nin kullanılabilecek bir çok parametresi var.
Google'da "explorer.exe parameters" yazıp aratırsanız bir çok seçenek bulabilirsiniz.

Örneğin:
Kod:
Since the first days Windows Explorer appeared, the list of switches reproduced below has been floating around the internet. I'm not sure who was the first to assemble the list but here it is in its entirety. Play around with it and see if one of the views is what you're seeking. Just copy and paste the bold text into the Target line on the Property Sheet of Windows Explorer. If it's not what you expected you can always switch back to the default view by using  C:\WINDOWS\explorer.exe in the Target line.

    *

      "My Computer" highlighted in left side with all drives visible but not expanded and C: highlighted in right side: %SystemRoot%\explorer.exe /e,/select,c:
    *

      Desktop highlighted and nothing expanded: %SystemRoot%\explorer.exe /e,/n,/select,/root,c:
    *

      All drives visible and the system drive highlighted and expanded in full screen: %SystemRoot%\explorer.exe /e,/select
    *

      All drives visible and the system drive expanded in small screen: %SystemRoot%\explorer.exe /e,/select,%systemroot%
    *

      Only Windows Directory visible highlighted and expanded: %SystemRoot%\explorer.exe /e,/root,%systemroot%
    *

      All drives visible but only C: highlighted and expanded: %SystemRoot%\explorer.exe /e,c:
    *

      Nothing expanded and My Computer highlighted in right side: %SystemRoot%\explorer.exe /n,/e,/select,
    *

      Opens the Windows folder as a folder: %SystemRoot%\explorer.exe %systemroot%
    *

      Opens as "My Computer": %SystemRoot%\explorer.exe %systemroot%,
    *

      This opens the Desktop folder with "My Computer" highlighted: %SystemRoot%\explorer.exe %systemroot%,/select,
    *

      "Desktop" highlighted in the left side and no drives visible:
      %systemroot%\explorer.exe /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D},/select
    *

      "My Computer" highlighted in left side and all drives visible but none expanded:
      %systemroot%\explorer.exe /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
    *

      "Desktop" in left side highlighted and "My Computer" highlighted in right side and no drives visible:
      %systemroot%\explorer.exe /e,/select,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}




Cvp: butonda olay yordamı - altangüven - 14/06/2010

evet aradığım buydu teşekkür ederim ben
Kod:
Call Shell("Explorer.exe /e,/select,c:")
kullandım. bu cevap biz amatörlere bir ufuk daha açmıştır.


Cvp: butonda olay yordamı - assenucler - 14/06/2010

Teşekkürler sayın Seruz hocam...

Selam ve sevgiler..