Title: RE: [ActiveDir] a bit OT: vbscript to vb.net

Yes System.DirecotryServices does accomplish some of the ADSI tasks in  "managed code", but remember it is only a very thing wrapper around the ADSI Com component, there are many instances where you will need to invoke underlying ADSI COM components to do some somewhat simple tasks (for example SetPasswords..)

There is only so much that System.DirectoryServices can do, and it's not with out its hiccups either.

There is a thread on another Active Directory Programming group on these bugs/memory leaks if you are interested mail me offline.

Carlos Magalhaes
Active directory Programming MVP
Active directory programming? - http://groups.yahoo.com/group/adsianddirectoryservices


-----Original Message-----
From: Lou Vega [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 12, 2003 5:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [ActiveDir] a bit OT: vbscript to vb.net

One thing to consider is by using VB.NET you can take advantage of the
System.DirectoryServices namespace and that will make some of your coding
much easier - of course VB.NET will happily work with ADSI code as well.
I've noticed some things that took a lot more code under ADSI can be
accomplished with a few lines of code using System.DirectoryServices. Of
course the trade-off there is you're re-writing some code and not just
re-using it.

I've worked with .NET programming for the past year now with Active
Directory . If you've got more specific questions, let me know.

r/
Lou Vega


----- Original Message -----
From: "Mike Baudino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 9:34 AM
Subject: [ActiveDir] a bit OT: vbscript to vb.net


>
>
>
>
> All,
>
> How difficult is it to take vbscript code and convert it to compiled
vb.net
> code?  We're discussing automating many functions and would prefer to use
> compiled code in order to eliminate improper/unexpected modification to
the
> code.
>
>
> Thanks,
> Mike Baudino
>
>
>
> ******************* PLEASE NOTE *******************
> This E-Mail/telefax message and any documents accompanying this
> transmission may contain privileged and/or confidential information and is
> intended solely for the addressee(s) named above.  If you are not the
> intended addressee/recipient, you are hereby notified that any use of,
> disclosure, copying, distribution, or reliance on the contents of this
> E-Mail/telefax information is strictly prohibited and may result in legal
> action against you. Please reply to the sender advising of the error in
> transmission and immediately delete/destroy the message and any
> accompanying documents.  Thank you.
>
> List info   : http://www.activedir.org/mail_list.htm
> List FAQ    : http://www.activedir.org/list_faq.htm
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
>

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

-------------------------------------------------------------
This email and any files transmitted are
confidential and intended solely for the
use of the individual or entity to which
they are addressed, whose privacy
should be respected.  Any views or
opinions are solely those of the author
and do not necessarily represent those
of the Trencor Group, or any of its
representatives, unless specifically
stated.  

Email transmission cannot be guaranteed
to be secure, error free or without virus
contamination.  The sender therefore
accepts no liability for any errors or
omissions in the contents of this message,
nor for any virus infection that might result
from opening this message.  Trencor is not
responsible in the event of any third party
interception of this email.   

If you have received this email in error please notify
[EMAIL PROTECTED]   For more information about
Trencor, visit www.trencor.net <http://www.trencor.net>

Reply via email to