Jump to content

Significent

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Significent

  1. 'Object referenced outside a "With" statement' errors Is no one else getting this error with version 3 of adfunctions' _ADGetGroupMembers? Version 2 didn't have the same issue.
  2. How about just running ncpa.cpl from a command-prompt/batch file/or shortcut?
  3. Johny: Since I've downloaded the most current version of adfunctions.au3, I've started getting 'Object referenced outside a "With" statement' errors. I'm not sure if my implementation of your "_ADGetGroupMembers" UDF is flawed or if something else is going on. Any help would be appreciated. #include <Array.au3> #include <File.au3> #include <adfunctions.au3> $TextFile = "" $Members = "" While 1 $GroupName = InputBox("Group Name", "Enter the Active Directory Group name") If @error <> 0 Then Exit Else If $GroupName <> "" Then ExitLoop EndIf EndIf WEnd $TextFile = $GroupName & ".txt" If _ADGetGroupMembers($Members, $GroupName, 0) == 1 Then _FileWriteFromArray($TextFile, $members) Else MsgBox(4096,"Error", "The group specified doesn't exist.") EndIf
×
×
  • Create New...