|
|
||||||
|
#1
|
|
|
|
|
Hi, I'm using C# 2005 for a stand-alone win application supporting windows
2000 server and up(mmc 1.2 and up). I need to bring up the property window, you get this when you select property on either a user, computer or a group in Active Directory. Do I use pinvok (COM interop) for this? Can anyone point me to a sample that it's done? If no sample, then how do I know which dll I need to declare import on for mmc's IPropertySheetProvider, which brings up the property window. |
|
|
|
#2
|
|
|
|
|
"Pucca" <Pucca> wrote in message
news:dceb > Hi, I'm using C# 2005 for a stand-alone win application supporting windows > 2000 server and up(mmc 1.2 and up). I need to bring up the property > window, > you get this when you select property on either a user, computer or a > group > in Active Directory. > > Do I use pinvok (COM interop) for this? Can anyone point me to a sample > that it's done? If no sample, then how do I know which dll I need to > declare > import on for mmc's IPropertySheetProvider, which brings up the property > window. you would need the MMC SDK 3.0 which is available here. http://www.microsoft.com/downloads/d...displaylang=en However, the SDK is mainly for supporting MMC in global, not tuned for the AD MMC. |
|
#3
|
|
|
|
|
But, will MMC 3.0 install and run on Windows 2000 server? If yes, then which
file example should I look up in the SDK for bringing up the property window? Many thanks in adavance for your help. |
|
#4
|
|
|
|
|
"Pucca" <Pucca> wrote in message
news:6a2c > But, will MMC 3.0 install and run on Windows 2000 server? If yes, then > which > file example should I look up in the SDK for bringing up the property > window? > Many thanks in adavance for your help. Nope, the MMC 3.0 only will run on XP and windows 2003 and higher. If you want a propertysheet, you should have a look at C++ samples, here for instance PlatSDK\Samples\NetDS\ADSI\samples\DSUI\userext\us erproppage |
|
#5
|
|
|
|
|
Thank you for the reply. I'm not tryping to bring up just "1" property page.
I need to bring up the entire property window of a user, compute or group. Is that a URL that you gave me? Internet explorer wasn't able to locate it. |
|
#6
|
|
|
|
|
"Pucca" <Pucca> wrote in message
news:5731 > Thank you for the reply. I'm not tryping to bring up just "1" property > page. > I need to bring up the entire property window of a user, compute or group. > Is that a URL that you gave me? Internet explorer wasn't able to locate > it. I assumed that you were having the platform SDK on your harddisk. But here is exactly what you are looking for. http://technolog.nl/eprogrammer/arch...05/10/475.aspx Have fun! |
|
#7
|
|
|
|
|
"Pucca" <Pucca> wrote in message
news:5731 > Thank you for the reply. I'm not tryping to bring up just "1" property > page. > I need to bring up the entire property window of a user, compute or group. > Is that a URL that you gave me? Internet explorer wasn't able to locate > it. I forgot some thing. The code I gave was for new objects. But if you want existing objects, it is not possible to popup only that users propertysheet without any user action. You can however, customize a msc file through the mmc.exe and have it start at a certain path in your active directory, including a custom filter, that limits the msc to that user/object. |
|
#8
|
|
|
|
|
Hi Egbert,
Gees, I just noticed that you, are the author of the web site that you directed me to yesterday. No wonder, it was posted fresh yesterday. You mentioned here about the C++ sample you've enclosed? I don't see it on this posting. Can you post them or a url to them please. thank you. |
|
#9
|
|
|
|
|
"Pucca" <Pucca> wrote in message
news:06de > Hi Egbert, > > Gees, I just noticed that you, are the author of the web site that you > directed me to yesterday. No wonder, it was posted fresh yesterday. > > You mentioned here about the C++ sample you've enclosed? I don't see it > on > this posting. Can you post them or a url to them please. thank you. It is in the attachement. If you don't see attachments, then set the options in outlook express to allow to download attachments. (option is called: "Do not allow attachments that could possibly be a virus") I've attached a zip file 2 posts ago. Just disable that option for a moment ok? |
|
|
| Similar Threads | |
| ctypes: Problems using Windows-DLL from VB example code Hi I'm trying to use a DLL from Python using ctypes. The call to dso_lib.capture_hold_chk() does return 232. So it seem to work. The call to dso_lib.port_init(init_data)... |
|
| Error using httplib documentation example code Hi. I'm having some problems with code based directly on the following httplib documentation code: [..] I've included the code[1] and traceback[2] at the end of this... |
|
| Example Code To verify user name and password from table. Does anyone out there have some sample code that shows ho I could save usernames and passwords to a table and use the list to restrict access to certain forms in a database? |
|
| example of setting a user controls properties using code behind instead of script tags? hi all, I am looking for an example for setting/getting a user control's properties using a code behind page instead of <script></script> tags embedded in the ..aspx... |
|
|
All times are GMT. The time now is 06:23 PM. | Privacy Policy
|