Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

OleObject for Outlook Express

sudendrasudendra Member Posts: 17
I wanted to create an OleObject for Outlook Express the same way we do
for MS Outlook eg. MSOutlook := CreateOleObject('Outlook.Application');
I wanted to know what we have to pass for Outlook Express.

When I pass OutlookExpress then it says its a invalid Class String.

I want to fetch the address book of Outlook Express in my application.

Pointers to the same will be appreciated.

Thanks in advance.

Comments

  • zibadianzibadian Member Posts: 6,349
    : I wanted to create an OleObject for Outlook Express the same way we do
    : for MS Outlook eg. MSOutlook := CreateOleObject('Outlook.Application');
    : I wanted to know what we have to pass for Outlook Express.
    :
    : When I pass OutlookExpress then it says its a invalid Class String.
    :
    : I want to fetch the address book of Outlook Express in my application.
    :
    : Pointers to the same will be appreciated.
    :
    : Thanks in advance.
    :
    :
    Here is a link to the MSDN, which might be helpful:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaol10/html/olobjAddressEntries.asp

  • PerranPerran Member Posts: 241
    : I wanted to create an OleObject for Outlook Express the same way we do
    : for MS Outlook eg. MSOutlook := CreateOleObject('Outlook.Application');
    : I wanted to know what we have to pass for Outlook Express.
    :
    : When I pass OutlookExpress then it says its a invalid Class String.
    :
    : I want to fetch the address book of Outlook Express in my application.
    :
    : Pointers to the same will be appreciated.
    :
    : Thanks in advance.
    :
    :
    I'm at the office using a Win98SE box with Office 2000. I doesn't look to me like Express even exposes an interface. I looked for a type library and don't see one. I wonder if it uses the Outlook interface somehow ??
  • sudendrasudendra Member Posts: 17
    : : I wanted to create an OleObject for Outlook Express the same way we do
    : : for MS Outlook eg. MSOutlook := CreateOleObject('Outlook.Application');
    : : I wanted to know what we have to pass for Outlook Express.
    : :
    : : When I pass OutlookExpress then it says its a invalid Class String.
    : :
    : : I want to fetch the address book of Outlook Express in my application.
    : :
    : : Pointers to the same will be appreciated.
    : :
    : : Thanks in advance.
    : :
    : :
    : I'm at the office using a Win98SE box with Office 2000. I doesn't look to me like Express even exposes an interface. I looked for a type library and don't see one. I wonder if it uses the Outlook interface somehow ??
    :

    ************************************
    Hi Perran,
    I too share the same though.But still I feel there is some other way as well to access the folders for Outlook Express.If uget one to know then please do let me know of the same as well.I will too post a message if I get a break thru.
    Cheers,
    Sudendra.


  • PerranPerran Member Posts: 241
    : : : I wanted to create an OleObject for Outlook Express the same way we do
    : : : for MS Outlook eg. MSOutlook := CreateOleObject('Outlook.Application');
    : : : I wanted to know what we have to pass for Outlook Express.
    : : :
    : : : When I pass OutlookExpress then it says its a invalid Class String.
    : : :
    : : : I want to fetch the address book of Outlook Express in my application.
    : : :
    : : : Pointers to the same will be appreciated.
    : : :
    : : : Thanks in advance.
    : : :
    : : :
    : : I'm at the office using a Win98SE box with Office 2000. I doesn't look to me like Express even exposes an interface. I looked for a type library and don't see one. I wonder if it uses the Outlook interface somehow ??
    : :
    :
    : ************************************
    : Hi Perran,
    : I too share the same though.But still I feel there is some other way as well to access the folders for Outlook Express.If uget one to know then please do let me know of the same as well.I will too post a message if I get a break thru.
    : Cheers,
    : Sudendra.
    :
    :
    :
    Sudendra
    --I just spent some time on Google and code central at Borland. The consensus is that, just as we suspected, OE does not expose any interfaces thru which it can be automated.
    Perran
  • PerranPerran Member Posts: 241
    : : : I wanted to create an OleObject for Outlook Express the same way we do
    : : : for MS Outlook eg. MSOutlook := CreateOleObject('Outlook.Application');
    : : : I wanted to know what we have to pass for Outlook Express.
    : : :
    : : : When I pass OutlookExpress then it says its a invalid Class String.
    : : :
    : : : I want to fetch the address book of Outlook Express in my application.
    : : :
    : : : Pointers to the same will be appreciated.
    : : :
    : : : Thanks in advance.
    : : :
    : : :
    : : I'm at the office using a Win98SE box with Office 2000. I doesn't look to me like Express even exposes an interface. I looked for a type library and don't see one. I wonder if it uses the Outlook interface somehow ??
    : :
    :
    : ************************************
    : Hi Perran,
    : I too share the same though.But still I feel there is some other way as well to access the folders for Outlook Express.If uget one to know then please do let me know of the same as well.I will too post a message if I get a break thru.
    : Cheers,
    : Sudendra.
    :
    :
    :
    Sudendra--Check out: http://www.djpate.freeserve.co.uk/AutoOE.htm
    She says too that you can't automate it, but there is some code available to run simple commands thru the Windoze shell.
    HTH - Perran
Sign In or Register to comment.