Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Importing a jpeg into an AD attribute with Win32::OLE

by bingos (Vicar)
on Jul 12, 2011 at 15:53 UTC ( #913943=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      }
    }
    exit 0;
    
  2. or download this
    use strict;
    use warnings;
    ...
      $user->SetInfo;
    }
    exit 0;
    
  3. or download this
    Function ReadBinaryFile(FileName)
    Const adTypeBinary = 1
    ...
    objNewUser.GetInfo
    objNewUser.Put "thumbnailPhoto", ReadBinaryFile("image.jpg")
    objNewUser.SetInfo
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://913943]
Approved by Corion
Front-paged by MidLifeXis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (16)
As of 2014-07-25 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (172 votes), past polls