[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Win32OLE doesn't work with Outlook Express?

baon

2/12/2007 6:17:00 AM

Hi there,

I am trying to retrieve some mails from my Outlook Express mail-box.

However, when using the 'WIN32OLE.connect('Outlook Express.Application')', I
will get the following error message:

WIN32OLERuntimeError: unknown OLE server: `Outlook Express.Application'
HRESULT error code:0x800401f3
Invalid class string
from (irb):23:in `initialize'
from (irb):23:in `new'
from (irb):23

I have tried 'Outlook', 'Outlookexpress' with upper/lower case as well. It
doesn't work anyway.

It seems to me that WIN32OLE could support Outlook, but not Outlook Express.
Is that true?


If so, would you guys please give me some ideas on how to accomplish my task
of retrieving data from Outlook Express (*.dbx formats) using Ruby?

Regards and Thanks,
Bob



12 Answers

Masaki Suketa

2/12/2007 7:49:00 AM

0

Hello,

In message "Win32OLE doesn't work with Outlook Express?"
on 07/02/12, "baon" <ning.bao@support.jinfonet.com> writes:

> I have tried 'Outlook', 'Outlookexpress' with upper/lower case as well. It
> doesn't work anyway.
>
> It seems to me that WIN32OLE could support Outlook, but not Outlook Express.
> Is that true?

Yes. because Outlook Express does not provide the OLE automation
interface, but Outlook does.
Win32OLE access the OLE automation interface.

Unfortunately, you can not control Outlook Express like Outlook
using any other Language (VBScript, Perl, Python, ... etc.) which
access the OLE automation interface.

> If so, would you guys please give me some ideas on how to accomplish my task
> of retrieving data from Outlook Express (*.dbx formats) using Ruby?

Sorry, the site is written by Japanese only, but I hope
the following URL help you.
http://d.hatena.ne.jp/j0hn/20070102/...

Regards,
Masaki Suketa

Dave Burt

2/12/2007 11:05:00 AM

0

Hi baon,

> I am trying to retrieve some mails from my Outlook Express mail-box.
>
> However, when using the 'WIN32OLE.connect('Outlook Express.Application')', I
> will get the following error message:

Outlook Express doesn't have a COM interface.

See here for some ways you can deal with .dbx files:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...

Cheers,
Dave

baon

2/13/2007 8:25:00 AM

0

Hi Masaki,

Your message is really helpful!
Thanks a great deal!

Regards,
Bob

----- Original Message -----
From: "Masaki Suketa" <masaki.suketa@nifty.ne.jp>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Monday, February 12, 2007 3:49 PM
Subject: Re: Win32OLE doesn't work with Outlook Express?


Hello,

In message "Win32OLE doesn't work with Outlook Express?"
on 07/02/12, "baon" <ning.bao@support.jinfonet.com> writes:

> I have tried 'Outlook', 'Outlookexpress' with upper/lower case as well. It
> doesn't work anyway.
>
> It seems to me that WIN32OLE could support Outlook, but not Outlook
Express.
> Is that true?

Yes. because Outlook Express does not provide the OLE automation
interface, but Outlook does.
Win32OLE access the OLE automation interface.

Unfortunately, you can not control Outlook Express like Outlook
using any other Language (VBScript, Perl, Python, ... etc.) which
access the OLE automation interface.

> If so, would you guys please give me some ideas on how to accomplish my
task
> of retrieving data from Outlook Express (*.dbx formats) using Ruby?

Sorry, the site is written by Japanese only, but I hope
the following URL help you.
http://d.hatena.ne.jp/j0hn/20070102/...

Regards,
Masaki Suketa



baon

2/13/2007 8:45:00 AM

0

Hi Dave,

Thanks for your link.

Anyway, I think I will try to find a Ruby parser or something like that. It
is not a easy task for me to integrate C++ with Ruby (using SWIG for some
wrapping work maybe).

Regards and Thanks,
Bob
----- Original Message -----
From: "Dave Burt" <dave@burt.id.au>
Newsgroups: comp.lang.ruby
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Monday, February 12, 2007 7:10 PM
Subject: Re: Win32OLE doesn't work with Outlook Express?


Hi baon,

> I am trying to retrieve some mails from my Outlook Express mail-box.
>
> However, when using the 'WIN32OLE.connect('Outlook Express.Application')',
I
> will get the following error message:

Outlook Express doesn't have a COM interface.

See here for some ways you can deal with .dbx files:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-t...

Cheers,
Dave



Martin Phipps

5/27/2012 10:53:00 AM

0

On May 27, 5:50 pm, wolfagain <w...@provide.net> wrote:
> original poster wasn't arguing ...just asked a question...like
> with ???!

> Martin Phipps wrote:
> > On May 27, 2:04 pm, Mark Mayfield <inva...@not-for-mail.invalid>
> > wrote:
> > > The country is broke.

Not a question.

> > > Obama hasn't created any jobs or instilled confidence in his ability to do
> > > so.

Not a question.

> > > Instead of focusing on the more important things like an economy or jobs,
> > > his priority was "gay marriage."

Not a question.

> > > Perhaps someone can explain how "gay marriage" is going to help Americans
> > > as a whole, because it doesn't really even seem to have a purpose.

Not a question.

> > If you think arguing about gay marriage is a waste of time then don't
> > argue.  Just let them be.

The original question did not ask any questions. He stated that
arguing about gay marriage does not serve a purpose and I agreed with
him.

Illiteracy is an unfortunate condition. You should do something about
that.

Martin

Wayne

5/27/2012 3:03:00 PM

0


"Martin Phipps" <martinphipps2@yahoo.com> wrote in message
news:a0ebb0f4-830f-440a-b038-54ed56859faf@n8g2000pbv.googlegroups.com...
On May 27, 2:04 pm, Mark Mayfield <inva...@not-for-mail.invalid>
wrote:
> The country is broke.
>
> Obama hasn't created any jobs or instilled confidence in his ability to do
> so.
>
> Instead of focusing on the more important things like an economy or jobs,
> his priority was "gay marriage."
>
> Perhaps someone can explain how "gay marriage" is going to help Americans
> as a whole, because it doesn't really even seem to have a purpose.

#If you think arguing about gay marriage is a waste of time then don't
#argue. Just let them be.
-
But they are the ones arguing. Otherwise the subject would take it's
rightful place...oblivion.


Lamont Cranston

5/27/2012 9:31:00 PM

0

On 5/27/2012 8:02 AM, Wayne wrote:
> "Martin Phipps"<martinphipps2@yahoo.com> wrote in message
> news:a0ebb0f4-830f-440a-b038-54ed56859faf@n8g2000pbv.googlegroups.com...
> On May 27, 2:04 pm, Mark Mayfield<inva...@not-for-mail.invalid>
> wrote:
>> The country is broke.
>>
>> Obama hasn't created any jobs or instilled confidence in his ability to do
>> so.
>>
>> Instead of focusing on the more important things like an economy or jobs,
>> his priority was "gay marriage."
>>
>> Perhaps someone can explain how "gay marriage" is going to help Americans
>> as a whole, because it doesn't really even seem to have a purpose.
>
> #If you think arguing about gay marriage is a waste of time then don't
> #argue. Just let them be.
> -
> But they are the ones arguing. Otherwise the subject would take it's
> rightful place...oblivion.
>
>

How unsurprising that you think civil rights belong in oblivion.

Wayne

5/28/2012 3:39:00 PM

0


"Lamont Cranston" <LC@TS.org> wrote in message
news:jpu6eo$ok8$3@news.datemas.de...
> On 5/27/2012 8:02 AM, Wayne wrote:
>> "Martin Phipps"<martinphipps2@yahoo.com> wrote in message
>> news:a0ebb0f4-830f-440a-b038-54ed56859faf@n8g2000pbv.googlegroups.com...
>> On May 27, 2:04 pm, Mark Mayfield<inva...@not-for-mail.invalid>
>> wrote:
>>> The country is broke.
>>>
>>> Obama hasn't created any jobs or instilled confidence in his ability to
>>> do
>>> so.
>>>
>>> Instead of focusing on the more important things like an economy or
>>> jobs,
>>> his priority was "gay marriage."
>>>
>>> Perhaps someone can explain how "gay marriage" is going to help
>>> Americans
>>> as a whole, because it doesn't really even seem to have a purpose.
>>
>> #If you think arguing about gay marriage is a waste of time then don't
>> #argue. Just let them be.
>> -
>> But they are the ones arguing. Otherwise the subject would take it's
>> rightful place...oblivion.
>>
>>
>
> How unsurprising that you think civil rights belong in oblivion.

Making up a civil right doesn't make it a civil right. The Loving vs
Virginia comparison is bullshit.


Lamont Cranston

5/29/2012 9:05:00 PM

0

On 5/28/2012 8:38 AM, Wayne wrote:
> "Lamont Cranston"<LC@TS.org> wrote in message
> news:jpu6eo$ok8$3@news.datemas.de...
>> On 5/27/2012 8:02 AM, Wayne wrote:
>>> "Martin Phipps"<martinphipps2@yahoo.com> wrote in message
>>> news:a0ebb0f4-830f-440a-b038-54ed56859faf@n8g2000pbv.googlegroups.com...
>>> On May 27, 2:04 pm, Mark Mayfield<inva...@not-for-mail.invalid>
>>> wrote:
>>>> The country is broke.
>>>>
>>>> Obama hasn't created any jobs or instilled confidence in his ability to
>>>> do
>>>> so.
>>>>
>>>> Instead of focusing on the more important things like an economy or
>>>> jobs,
>>>> his priority was "gay marriage."
>>>>
>>>> Perhaps someone can explain how "gay marriage" is going to help
>>>> Americans
>>>> as a whole, because it doesn't really even seem to have a purpose.
>>>
>>> #If you think arguing about gay marriage is a waste of time then don't
>>> #argue. Just let them be.
>>> -
>>> But they are the ones arguing. Otherwise the subject would take it's
>>> rightful place...oblivion.
>>>
>>>
>>
>> How unsurprising that you think civil rights belong in oblivion.
>
> Making up a civil right doesn't make it a civil right. The Loving vs
> Virginia comparison is bullshit.

Marriage confers a plethora of civil rights, moron.

ps56k

5/29/2012 9:57:00 PM

0


"Lamont Cranston" <LC@TS.org> wrote in message
news:jq3dkr$fs4$2@news.datemas.de...
> On 5/28/2012 8:38 AM, Wayne wrote:
>> "Lamont Cranston"<LC@TS.org> wrote in message
>> news:jpu6eo$ok8$3@news.datemas.de...
>>> On 5/27/2012 8:02 AM, Wayne wrote:
>>>> "Martin Phipps"<martinphipps2@yahoo.com> wrote in message
>>>> news:a0ebb0f4-830f-440a-b038-54ed56859faf@n8g2000pbv.googlegroups.com...
>>>> On May 27, 2:04 pm, Mark Mayfield<inva...@not-for-mail.invalid>
>>>> wrote:
>>>>> The country is broke.
>>>>>
>>>>> Obama hasn't created any jobs or instilled confidence in his ability
>>>>> to
>>>>> do
>>>>> so.
>>>>>
>>>>> Instead of focusing on the more important things like an economy or
>>>>> jobs,
>>>>> his priority was "gay marriage."
>>>>>
>>>>> Perhaps someone can explain how "gay marriage" is going to help
>>>>> Americans
>>>>> as a whole, because it doesn't really even seem to have a purpose.
>>>>
>>>> #If you think arguing about gay marriage is a waste of time then don't
>>>> #argue. Just let them be.
>>>> -
>>>> But they are the ones arguing. Otherwise the subject would take it's
>>>> rightful place...oblivion.
>>>>
>>>>
>>>
>>> How unsurprising that you think civil rights belong in oblivion.
>>
>> Making up a civil right doesn't make it a civil right. The Loving vs
>> Virginia comparison is bullshit.
>
> Marriage confers a plethora of civil rights, moron.
>

to say nothing about all the time and effort focused on a "constitutional
amendment"
while Rome was burning.....kids were dying in Iraq... banks were playing
casino,
and all our goodwill was wasted worldwide.

Yeah - it will be great to be number 2 or 3 in a few short years