SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    active x for outlook express

    this ones for flawless,

    can you give me a list of active x controls for

    microsoft outlook 2000 and the methods it has

    cheers

  2. #2
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ummm - which do you want?

    Outlook 2000 or Outlook express ?!?!
    ( Title and content of your post contradicted )

    It's best to use the MAPI connection to scale and control the
    client - and using that you can do pretty much anything you want - from deleting emails, writing emails, creating folders
    and so on ...

    let me know which you want and i'll point you in the right direction ( which as in - which client )

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---

  3. #3
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sry about that, I was thinking about using outlook express, but from what you mentioned before i changed my mind as to using outlook 2000 lol. As you saw the conflict

    Now pretty much I would like to be able to do all what you said and more

    including adding items to the calender deleting, editing etc,

    as well as adding to the contacts, etc

  4. #4
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok - the model for it:

    http://msdn.microsoft.com/library/de...pplication.asp

    There you'll find the Events, methods and objects in the
    left hand contents frame.

    For most of this you'll find you need a handle reference to
    the Application object.

    You can get this by loading the Outlook.Application and then
    requestion a NameSpace like this:

    App = new ActiveXObject( "Outlook.Application" );
    NS = App.GetNameSpace('MAPI');

    Then you can use the methods on the namespace as required:

    ie find the default contacts folder - and add to it:

    cont=NS.GetDefaultFolder(10);
    BSP=NS.GetDefaultFolder(10).Folders.Add('New Folder',10);
    The reason why i use 10 is because that's the reference for the contacts type of folder:

    DeletedItems ( 3)
    Outbox ( 4)
    SentMail ( 5)
    Inbox ( 6)
    Calendar ( 9)
    Contacts (10)
    Journal (11)
    Notes (12)
    Tasks (13)
    Drafts (16)

    Ok?

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---


Bookmarks

Posting Permissions

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