Announcement

Collapse
No announcement yet.

A somewhat exotic problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Paul Dwyer
    replied
    Getting the user list is not too much of a problem, it's creating all the shortcuts and renaming them. made one and was hoping to inport the binary data and just modify a few bits and save it as a new short cut but I keep getting "Mailbox Object Not found" errors.

    Anyone know the format of an XNK shortcut file?

    ------------------
    Paul Dwyer
    Network Engineer
    Aussie in Tokyo

    Leave a comment:


  • Scott Turchin
    replied
    Wow...that is exotic.

    One thought, and I don't think I'm on track here for #1.

    Does Outlook maintain a separate folder for each user? that would be easy to recursively read all folders in a given folder:

    ie mailbox\user1
    mailbox\user2


    Otherwise, dont' people have to be in a group for Exhange/Outlook? If so I have VB Code to enum users.....should be easy to port or just use Vb..


    Scott

    ------------------
    Scott

    Leave a comment:


  • Paul Dwyer
    started a topic A somewhat exotic problem

    A somewhat exotic problem

    In microsoft outlook 2000 you can create a shortcut to someones calender and put it on the outlook bar, from there you can in a couple of steps copy the shortcut to a folder or your desktop. I have created a couple and sent them to people and they can open my calendar easily with the shortcut.

    In our company's web based phone list we want to have a lint to the shortcut of their calendar, this will be a link to the .xnk file. All of this works fine except that now I have to go throught the nightmare process of creating a calendar shortcut for 600 staff named "EmployeeID.xnk" by opening each calendar, copying it to my outlook bar, copying it to a folder, changing the name to the ID from the lookup table etc. about a weeks work.

    What I want to do is from an export of data (directory name, EmpID, display name) from the exchange server, batch create the shortcuts. The shortcuts are quite special, they hold a lot of binary data pointing to a DLL file with the Exchange Directory name, the mailbox display name and a lot of binary data.

    Does anyone know the structure of this kind of shortcut? I have tried using a quick program to replace the unicode mailbox names etc in the shortcut and make a new one with input data but Outlook reports "unknown mailbox". It's possible that other data (like exchange unique ID) is held in the short cut too and needs to be updated but I can't find any info about it.

    Anyone have any suggestions?

    Cheers

    ------------------
    Paul Dwyer
    Network Engineer
    Aussie in Tokyo
Working...
X