Results 1 to 7 of 7
  1. #1
    Lounger
    Join Date
    Mar 2003
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Editing the Outlook .fav file (Outlook 2000)

    This is a general query to see if it is possible to programmattically edit the .fav file?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Editing the Outlook .fav file (Outlook 2000)

    Is that the file that stores the shortcuts on the "Outlook bar"? If so, my object model chart shows a Pane object named OutlookBarPane which has a lot of stuff under it including OutlookBarStorage, OutlookBarGroups (collection of OutlookBarGroup objects), OutlookBarShortcuts (collection of OutlookBarShortcut objects that belongs to a particular OutlookBarGroup). But... I've never tried manipulating any of this stuff. Post back and let us know whether it works or not.

  3. #3
    Lounger
    Join Date
    Mar 2003
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Editing the Outlook .fav file (Outlook 2000)

    Thanks for this. I actually posted this on behalf of a work colleague and not sure if this will help or not but I will certainly pass on.

  4. #4
    5 Star Lounger
    Join Date
    May 2001
    Location
    Washington, USA
    Posts
    750
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Editing the Outlook .fav file (Outlook 2000)

    I had the impression that Outlook shared this with IE. At least the two instances are the same on my systems. If that's the case then you'd be working with a system folder called favorites. (Depending on your OS it's either under the Windows folder or under Documents and Settings.) I don't think VBScript can do much at the system level. You'd have to use VBA.

  5. #5
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Editing the Outlook .fav file (Outlook 2000)

    <hr>I don't think VBScript can do much at the system level<hr>
    That depends on how you run it - I've got a script that will check your BIOS if you run it using cscript.exe! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Regards,
    Rory

    Microsoft MVP - Excel

  6. #6
    5 Star Lounger
    Join Date
    May 2001
    Location
    Washington, USA
    Posts
    750
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Editing the Outlook .fav file (Outlook 2000)

    That's pretty cool! Do you know how that compares with the windows scripting engine? I haven't used either one, but sometimes the need pops up...

  7. #7
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Editing the Outlook .fav file (Outlook 2000)

    AFAIK, cscript and wscript both use the Windows Scripting Host - the only difference is that one is command line based, the other windows based and their outputs likewise. With the WMI that is part of any NT based Windows OS, you can now do pretty much anything with VBScript - find all the Domain Controllers in a domain, get the hard drive partition information from a remote computer, etc. Whether that's a blessing or a curse or both I guess depends on your point of view! <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    Regards,
    Rory

    Microsoft MVP - Excel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •