Hi Which method in System.DirectoryServices.DirectoryEntry, you want to access 
from

I tried this 
<cfobject
type = "dotnet"
name = "MDBDTable"
class = "System.DirectoryServices.DirectoryEntry"
assembly  
"C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/System.DirectoryServices.dll">

<cfdump var="#MDBDTable#">

I am able to see the list of methods of 
System.DirectoryServices.DirectoryEntry. Please let me know which method you 
are try to call , and what is the parameter???

Vishnuprasad
wrvishnu(at)gmail(dot)(com)



>No problem.  Your blog is very helpful!
>
>Here is one for you...
>
>Show us how to call a .NET method that expects an object.
>
>Specifically, how to create an Active Directory account using the
>DirectoryServices assembly.
>
><cfset parent = createObject("dotnet",
>"System.DirectoryServices.DirectoryEntry",
>"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.directoryservices.
>dll")>
>
>I can get about this far, but I can't call the methods that require
>object parameters.
>
>I can also do this in VB.NET inside a SQL 2005 SSIS package, but I can't
>figure out how to convert it to CF8.
>
>If you can figure this out, you will the hero of many, many people.
>
>M!ke 
>
>Hi Dawson 
>
>Its nice and gr8 to see some one is refering my blog . Your post
>encourage me to write more stuff on coldfusion and .net part also more
>CF 8 concepts 
>
>W.R.Vishnuprasad 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288521
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to