In <[EMAIL PROTECTED]>, on 01/01/00 at
12:00 AM,
   Christopher Ulrich <[EMAIL PROTECTED]> said:

>Mike - I am looking to do the same thing.  Can you tell me where I would 
>find this script?

>And what do you mean by ORs the value?   (A programming "or" / 
>"OverwRite"  / ... ?)

  I could send you the script, but it won't be useful unless you have
IBM's Object REXX.  "OR"ing a value is done in VBScript something like

     Flags = 
ReadRegValue("HKEY_LOCAL_MACHINE\SOFTWARE\Ipswitch\IMail\domains\" &
domainName & "\Flags")

    Flags = Flags OR &h20  ' Set External database flag
    WriteRegValue(Flags, 
"HKEY_LOCAL_MACHINE\SOFTWARE\Ipswitch\IMail\domains\" & domainName &
"\Flags")

  Note that I haven't actually done this in VBScript, so you'd need to
find how to do the ReadRegValue and WriteRegValue functions.

-- 
-----------------------------------------------------------
Mike Nice <[EMAIL PROTECTED]>
-----------------------------------------------------------

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to