Sure, you definitely can. I thought you mentioned ASP.NET in your previous
post which is why I replied with .NET advice. Sorry if I didn't catch
what
you were asking.
Integer8 is a little clumsy in VBScript, primarily because it doesn't
sup****t 64 bit integers or unsigned 32 bit integers, but there are
numerous
well-do***ented workarounds out there that overcome most of these issues.
Richard's resources would be a good place to start on that.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Janette" <jtowell@[EMAIL PROTECTED]
> wrote in message
news:uZsiXdG6IHA.1200@[EMAIL PROTECTED]
> Hi Joe,
>
> Thanks for this information. Last resort I will go down the .NET path,
but
> as I am not very proficient in .NET, and the existing application that I
> am extending is already written in classic ASP, I was still wondering is
> it in fact possible to perform an update to Integer8 attributes in AD
> using vbscript?
>
> Regards
> Janette
>
> "Joe Kaplan" <joseph.e.kaplan@[EMAIL PROTECTED]
> wrote in message
> news:eiXvTzB6IHA.2260@[EMAIL PROTECTED]
>> We have some nice samples on writing all different types of AD
attributes
>> in .NET in ch 6 of our book (including LargeInteger). If you go to the
>> website in my signature, you can download all the code samples.
>>
>> The book chapter contains all the details, but the free sample code may
>> be enough.
>>
>> The bottom line with large integer is that you have more options in
.NET
>> because .NET has full sup****t for 64 bit integer types and also has a
>> bunch of sup****t for converting date/time into 64 bit integers which
>> makes many of the VBScript hacks somewhat obsolete.
>>
>> I hope that helps,
>>
>> Joe K.
>>
>> --
>> Joe Kaplan-MS MVP Directory Services Programming
>> Co-author of "The .NET Developer's Guide to Directory Services
>> Programming"
>> http://www.directoryprogramming.net
>> --
>> "Janette" <jtowell@[EMAIL PROTECTED]
> wrote in message
>> news:eLEYCe75IHA.3784@[EMAIL PROTECTED]
>>> Hi,
>>>
>>> I have read Richard Muellers website about treatment of Integer8
>>> attributes in AD (http://rlmueller.net/Integer8Attributes.htm)
it is
>>> really useful. I am aware that vbscript doesn't sup****t integer8
unless
>>> using the IADsLargeInteger interface, which as far as I can gather can
>>> only be invoked when "getting" a value from AD. Is there any way using
>>> vbscript that one can update an integer8 value in AD 2003 by making
use
>>> of this interface? More specifically I want to be able to update
>>> maxPwdAge and minPwdAge via an ASP page, and therefore was going to be
>>> using vbscript.
>>>
>>> If the answer is no this can't be done in any way using vbcript, is
>>> there any other way of scripting this kind of update? Would it be any
>>> different if I was using ASP.NET?
>>>
>>> Regards
>>> Janette
>>>
>>
>>
>
>


|