|
|
Subject:
Programmatically Opening the Windows Folder Properties Dialog to the Sharing Tab
Category: Computers > Programming Asked by: iammrjvo-ga List Price: $10.00 |
Posted:
23 Sep 2004 06:40 PDT
Expires: 23 Oct 2004 06:40 PDT Question ID: 405228 |
|
There is no answer at this time. |
|
Subject:
Re: Programmatically Opening the Windows Folder Properties Dialog to the Sharing Tab
From: igorfrey-ga on 19 Oct 2004 16:54 PDT |
You can use this code to open the "Sharing" tab. SHELLEXECUTEINFO sei; ZeroMemory(&sei,sizeof(sei)); sei.cbSize = sizeof(sei); sei.lpFile = "C:\\TEMP"; sei.lpVerb = "properties"; sei.fMask = SEE_MASK_INVOKEIDLIST; ShellExecuteEx(&sei); Sleep(250); keybd_event(VK_CONTROL, 0, KEYEVENTF_EXTENDEDKEY, 0); keybd_event(VK_TAB, 0, KEYEVENTF_EXTENDEDKEY, 0); keybd_event(VK_CONTROL, 0, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0); |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |