PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming How do I store photos in Active Directory using VBscript

Reply

How do I store photos in Active Directory using VBscript

 
Thread Tools Rate Thread
Old 27-04-2004, 03:00 PM   #1
Erlend
Guest
 
Posts: n/a
Default How do I store photos in Active Directory using VBscript


I want to store a photo in the JpegPhoto property of user in Windows
Server 2003 using VBscript.

My problem is that JpegPhoto only stores binary values..

I have seen an example of a jpeg to binary conversion in Delphi, where
the jpeg file is read into memory, stored in a byte-array and then
passed as argument to a createBlob procedure. Are there any equivalent
functions in VBscript or VB? I would appreciate examples on how to
write a piece of code that does the conversion and puts it into the
JpegPhoto property

Regards
Erlend
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off