Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #4388 > unrolled thread

VO2Outlook under Win8, Outlook 2007

Started byJoe Bench <benchjoe@yahoo.de>
First post2012-11-22 14:29 +0100
Last post2013-01-17 01:02 -0800
Articles 20 — 9 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  VO2Outlook under Win8, Outlook 2007 Joe Bench <benchjoe@yahoo.de> - 2012-11-22 14:29 +0100
    Re: VO2Outlook under Win8, Outlook 2007 Joe Bench <benchjoe@yahoo.de> - 2012-12-06 13:02 +0100
      Re: VO2Outlook under Win8, Outlook 2007 "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2012-12-06 14:38 +0100
      Re: VO2Outlook under Win8, Outlook 2007 Willie Moore <williem@wmconsulting.com> - 2012-12-06 15:18 +0000
        Re: VO2Outlook under Win8, Outlook 2007 "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2012-12-07 17:18 +0100
          Re: VO2Outlook under Win8, Outlook 2007 Willie Moore <williem@wmconsulting.com> - 2012-12-07 23:19 +0000
        Re: VO2Outlook under Win8, Outlook 2007 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-12-09 16:03 +0000
          Re: VO2Outlook under Win8, Outlook 2007 "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2012-12-10 08:50 +0100
            Re: VO2Outlook under Win8, Outlook 2007 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-12-10 11:13 +0000
              Re: VO2Outlook under Win8, Outlook 2007 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-12-10 11:54 +0000
                Re: VO2Outlook under Win8, Outlook 2007 Carlos Rocha <jazzda1307@gmail.com> - 2012-12-10 08:47 -0800
              Re: VO2Outlook under Win8, Outlook 2007 Joe Bench <benchjoe@yahoo.de> - 2012-12-08 14:17 +0100
                Re: VO2Outlook under Win8, Outlook 2007 "Gerhard Bunzel" <g.bunzel@domonet.de> - 2012-12-10 14:42 +0100
                  Re: VO2Outlook under Win8, Outlook 2007 Joe Bench <benchjoe@yahoo.de> - 2012-12-10 14:45 +0100
              Re: VO2Outlook under Win8, Outlook 2007 "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2012-12-11 10:40 +0100
                Re: VO2Outlook under Win8, Outlook 2007 "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-12-11 10:15 +0000
                Re: VO2Outlook under Win8, Outlook 2007 "Jamal" <vodotnet_nospam@yahoo.com> - 2012-12-11 12:16 -0500
                  Re: VO2Outlook under Win8, Outlook 2007 "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2012-12-12 18:49 +0100
                    Re: VO2Outlook under Win8, Outlook 2007 Jesus Zertuche <jzertucherodriguez@gmail.com> - 2013-01-15 16:01 -0800
                    Re: VO2Outlook under Win8, Outlook 2007 Sherlock <sherlock@sherlock.com.au> - 2013-01-17 01:02 -0800

#4388 — VO2Outlook under Win8, Outlook 2007

FromJoe Bench <benchjoe@yahoo.de>
Date2012-11-22 14:29 +0100
SubjectVO2Outlook under Win8, Outlook 2007
Message-ID<50ae28cc$0$1578$91cee783@newsreader04.highway.telekom.at>
Hi!

Has anyone tried this combination?
Does it work?

Greetings,
Joe

[toc] | [next] | [standalone]


#4435

FromJoe Bench <benchjoe@yahoo.de>
Date2012-12-06 13:02 +0100
Message-ID<50c08957$0$18681$91cee783@newsreader03.highway.telekom.at>
In reply to#4388
_DLL FUNCTION SendMailDLL(cSubject AS PSZ,cText AS PSZ, aFiles AS 
ARRAY,aTo AS ARRAY) AS DWORD PASCAL:vo2outlook.SendMail

returns 4 - create Object oApplication failed

Any idea?

[toc] | [prev] | [next] | [standalone]


#4436

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2012-12-06 14:38 +0100
Message-ID<k9q73q$upn$1@dont-email.me>
In reply to#4435
Hello Joe,

I do not know what is inside VO2Outlook. But from the message it seems that 
the normal Outlook objects are used.
Some weeks ago I had also a customer PC under Windows 8 with Outlook 2007 
and it did not work open the objects. As I did not have the permission to 
spend time on it I do not know if it is something with Windows 8 or not. In 
Microsoft MSDN I have not found anything that something should not work 
under Windows 8. But there are still too few customer installations with 
Windows 8 outside around my company to say anything further.

Arne Ortlinghaus
ACS Data Systems

"Joe Bench" <benchjoe@yahoo.de> schrieb im Newsbeitrag 
news:50c08957$0$18681$91cee783@newsreader03.highway.telekom.at...
> _DLL FUNCTION SendMailDLL(cSubject AS PSZ,cText AS PSZ, aFiles AS 
> ARRAY,aTo AS ARRAY) AS DWORD PASCAL:vo2outlook.SendMail
>
> returns 4 - create Object oApplication failed
>
> Any idea? 

[toc] | [prev] | [next] | [standalone]


#4437

FromWillie Moore <williem@wmconsulting.com>
Date2012-12-06 15:18 +0000
Message-ID<2003272561376499798.400922williem-wmconsulting.com@news.aioe.org>
In reply to#4435
Hey,

I looks like you are trying to use outlook x64 from a 32 bit program. 

Regards,
Willie
Vulcan VIP

[toc] | [prev] | [next] | [standalone]


#4440

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2012-12-07 17:18 +0100
Message-ID<k9t4t0$gbj$1@dont-email.me>
In reply to#4437
Hi Willie,

in my case it is possible but I think that I had checked it. So in your 
opinion Windows 8 cannot be the guilty one when trying to use Com objects?

Arne

"Willie Moore" <williem@wmconsulting.com> schrieb im Newsbeitrag 
news:2003272561376499798.400922williem-wmconsulting.com@news.aioe.org...
> Hey,
>
> I looks like you are trying to use outlook x64 from a 32 bit program.
>
> Regards,
> Willie
> Vulcan VIP 

[toc] | [prev] | [next] | [standalone]


#4441

FromWillie Moore <williem@wmconsulting.com>
Date2012-12-07 23:19 +0000
Message-ID<436038960376614941.197088williem-wmconsulting.com@news.aioe.org>
In reply to#4440
Arne,

I don't think that windows 8 is the issue. I had the same thing on win7
when I went to office 2010 x64. 

Regards.
Willie
Vulcan VIP


"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> wrote:
> Hi Willie,
> 
> in my case it is possible but I think that I had checked it. So in your
> opinion Windows 8 cannot be the guilty one when trying to use Com objects?
> 
> Arne
> 
> "Willie Moore" <williem@wmconsulting.com> schrieb im Newsbeitrag
> news:2003272561376499798.400922williem-wmconsulting.com@news.aioe.org...
>> Hey,
>> 
>> I looks like you are trying to use outlook x64 from a 32 bit program.
>> 
>> Regards,
>> Willie
>> Vulcan VIP

[toc] | [prev] | [next] | [standalone]


#4443

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2012-12-09 16:03 +0000
Message-ID<aijr25Fmq9fU1@mid.individual.net>
In reply to#4437
Hi Willie,

> I looks like you are trying to use outlook x64 from a 32 bit program. 

the only possibility to access Outlook x64 from a 32 Bit program is
using the OLE interface to Outlook.
This works on both Win7 and Win8.

For the access to Outlook there are no differences between Windows 7
and Windows 8. I have a customer that is moving all his Vista machines
to Windows 8 (theses machines are much faster than before), and I had
absolutely no issues.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#4444

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2012-12-10 08:50 +0100
Message-ID<ka447c$rid$1@dont-email.me>
In reply to#4443
Hi Wolfgang,

can you give some examples?

Arne

"Wolfgang Riedmann" <wriedmann@gmail.com> schrieb im Newsbeitrag 
news:aijr25Fmq9fU1@mid.individual.net...
> Hi Willie,
>
>> I looks like you are trying to use outlook x64 from a 32 bit program.
>
> the only possibility to access Outlook x64 from a 32 Bit program is
> using the OLE interface to Outlook.
> This works on both Win7 and Win8.
>
> For the access to Outlook there are no differences between Windows 7
> and Windows 8. I have a customer that is moving all his Vista machines
> to Windows 8 (theses machines are much faster than before), and I had
> absolutely no issues.
>
> Wolfgang
>
>
> -- 
> 

[toc] | [prev] | [next] | [standalone]


#4446

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2012-12-10 11:13 +0000
Message-ID<ailuemF6n3mU1@mid.individual.net>
In reply to#4444
Hi Arne,

> can you give some examples?

very simple:

local oOutlook as object
local oEMail as object
local oRecipient as object

oOutlook := OleAutoObject{ "Outlook.Application" }
oEmail   := oOutlook:CreateItem( 0 )
oEMail:Subject := cSubject
oEMail:Body := cText
oRecipient := oEmail:Recipients:Add( cRecipient )
oEmail:Recipients:ResolveAll()
oEmail:Display()

Works from a 32 bit VO app to all Outlook versions - 32 and 64 bit.

HTH

Wolfgang

-- 

[toc] | [prev] | [next] | [standalone]


#4447

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2012-12-10 11:54 +0000
Message-ID<aim0s9F78lfU1@mid.individual.net>
In reply to#4446
Hi Arne,

> Works from a 32 bit VO app to all Outlook versions - 32 and 64 bit.

sorry: of course all Office Outlook versions, not Outlook Express,
because Outlook Express (and Windows Mail) does not have the OLE
interface.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#4454

FromCarlos Rocha <jazzda1307@gmail.com>
Date2012-12-10 08:47 -0800
Message-ID<833c9215-4c0a-45f4-aaf2-55f3e485504e@googlegroups.com>
In reply to#4447
Here is the OLE interface for OE and Windows Mail. The Standard Version if free.

http://www.nektra.com/products/oeapi-windows-mail-outlook-express-plugin/download/


On Monday, December 10, 2012 11:54:50 AM UTC, Wolfgang Riedmann wrote:
> Hi Arne,
> 
> 
> 
> > Works from a 32 bit VO app to all Outlook versions - 32 and 64 bit.
> 
> 
> 
> sorry: of course all Office Outlook versions, not Outlook Express,
> 
> because Outlook Express (and Windows Mail) does not have the OLE
> 
> interface.
> 
> 
> 
> Wolfgang
> 
> 
> 
> 
> 
> --

[toc] | [prev] | [next] | [standalone]


#4449

FromJoe Bench <benchjoe@yahoo.de>
Date2012-12-08 14:17 +0100
Message-ID<50c5e0f8$0$1579$91cee783@newsreader04.highway.telekom.at>
In reply to#4446
Hi!

> very simple:
>
> local oOutlook as object
> local oEMail as object
> local oRecipient as object
>
> oOutlook := OleAutoObject{ "Outlook.Application" }
> oEmail   := oOutlook:CreateItem( 0 )
> oEMail:Subject := cSubject
> oEMail:Body := cText
> oRecipient := oEmail:Recipients:Add( cRecipient )
> oEmail:Recipients:ResolveAll()
> oEmail:Display()

How can i add an attachment ?

Greetings,
Joe

[toc] | [prev] | [next] | [standalone]


#4451

From"Gerhard Bunzel" <g.bunzel@domonet.de>
Date2012-12-10 14:42 +0100
Message-ID<ka4oof$6ku$1@news.m-online.net>
In reply to#4449
Joe,

try this:

>>
>> local oOutlook as object
>> local oEMail as object
>> local oRecipient as object
     local oAttachment as object

>> oOutlook := OleAutoObject{ "Outlook.Application" }
>> oEmail   := oOutlook:CreateItem( 0 )
>> oEMail:Subject := cSubject
>> oEMail:Body := cText
>> oRecipient := oEmail:Recipients:Add( cRecipient )
>> oEmail:Recipients:ResolveAll()
    ....
    IF nFiles > 0
        // Attach file(s)
        oAttachment := oEMail:Attachments
        FOR n := 1 UPTO nFiles
            oAttachment:Add(aFiles[n])
        NEXT
    ENDIF

>> oEmail:Display()
>

HTH

Gerhard



"Joe Bench" <benchjoe@yahoo.de> schrieb im Newsbeitrag 
news:50c5e0f8$0$1579$91cee783@newsreader04.highway.telekom.at...
> Hi!
>
>> very simple:
>>
>> local oOutlook as object
>> local oEMail as object
>> local oRecipient as object
>>
>> oOutlook := OleAutoObject{ "Outlook.Application" }
>> oEmail   := oOutlook:CreateItem( 0 )
>> oEMail:Subject := cSubject
>> oEMail:Body := cText
>> oRecipient := oEmail:Recipients:Add( cRecipient )
>> oEmail:Recipients:ResolveAll()
>> oEmail:Display()
>
> How can i add an attachment ?
>
> Greetings,
> Joe 

[toc] | [prev] | [next] | [standalone]


#4452

FromJoe Bench <benchjoe@yahoo.de>
Date2012-12-10 14:45 +0100
Message-ID<50c5e767$0$1576$91cee783@newsreader04.highway.telekom.at>
In reply to#4451
Gerhard Bunzel schrieb:
> IF nFiles > 0
>          // Attach file(s)
>          oAttachment := oEMail:Attachments
>          FOR n := 1 UPTO nFiles
>              oAttachment:Add(aFiles[n])
>          NEXT
>      ENDIF

Works great!
Thank you!

Joe

[toc] | [prev] | [next] | [standalone]


#4458

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2012-12-11 10:40 +0100
Message-ID<ka6v28$lb4$1@dont-email.me>
In reply to#4446
Hi Wolfgang,

thank you. It was what I tried and what did not work. But perhaps it is 
because of an installation issue of installing Microsoft Office. I did not 
install it so I do not know exactly what happened. There were some valid 
entries in the registry for accessing the Outlook objects and nevertheless 
the first object "Outlook.Application" could not be instantiated.

Arne

"Wolfgang Riedmann" <wriedmann@gmail.com> schrieb im Newsbeitrag 
news:ailuemF6n3mU1@mid.individual.net...
> Hi Arne,
>
>> can you give some examples?
>
> very simple:
>
> local oOutlook as object
> local oEMail as object
> local oRecipient as object
>
> oOutlook := OleAutoObject{ "Outlook.Application" }
> oEmail   := oOutlook:CreateItem( 0 )
> oEMail:Subject := cSubject
> oEMail:Body := cText
> oRecipient := oEmail:Recipients:Add( cRecipient )
> oEmail:Recipients:ResolveAll()
> oEmail:Display()
>
> Works from a 32 bit VO app to all Outlook versions - 32 and 64 bit.
>
> HTH
>
> Wolfgang
>
> -- 
> 

[toc] | [prev] | [next] | [standalone]


#4459

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2012-12-11 10:15 +0000
Message-ID<aiofenFo9leU1@mid.individual.net>
In reply to#4458
Hi Arne,

> thank you. It was what I tried and what did not work. But perhaps it
> is because of an installation issue of installing Microsoft Office. I
> did not install it so I do not know exactly what happened. There were
> some valid entries in the registry for accessing the Outlook objects
> and nevertheless the first object "Outlook.Application" could not be
> instantiated.

strange.... I know my code works with Outlook 2003, Outlook 2007 and
Outlook 2010 (both 32 and 64 bit version).

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#4463

From"Jamal" <vodotnet_nospam@yahoo.com>
Date2012-12-11 12:16 -0500
Message-ID<ka7prj$p88$1@dont-email.me>
In reply to#4458
Arne,

I've seen this when there is a firewall preventing scripting or the Windows 
user is corrupt (create a new one and test).

Jamal

"Arne Ortlinghaus"  wrote in message news:ka6v28$lb4$1@dont-email.me...

Hi Wolfgang,

thank you. It was what I tried and what did not work. But perhaps it is
because of an installation issue of installing Microsoft Office. I did not
install it so I do not know exactly what happened. There were some valid
entries in the registry for accessing the Outlook objects and nevertheless
the first object "Outlook.Application" could not be instantiated.

Arne

"Wolfgang Riedmann" <wriedmann@gmail.com> schrieb im Newsbeitrag
news:ailuemF6n3mU1@mid.individual.net...
> Hi Arne,
>
>> can you give some examples?
>
> very simple:
>
> local oOutlook as object
> local oEMail as object
> local oRecipient as object
>
> oOutlook := OleAutoObject{ "Outlook.Application" }
> oEmail   := oOutlook:CreateItem( 0 )
> oEMail:Subject := cSubject
> oEMail:Body := cText
> oRecipient := oEmail:Recipients:Add( cRecipient )
> oEmail:Recipients:ResolveAll()
> oEmail:Display()
>
> Works from a 32 bit VO app to all Outlook versions - 32 and 64 bit.
>
> HTH
>
> Wolfgang
>
> -- 
> 

[toc] | [prev] | [next] | [standalone]


#4465

From"Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it>
Date2012-12-12 18:49 +0100
Message-ID<kaag30$uer$1@dont-email.me>
In reply to#4463
Thank you. These are good ideas do be verified.

(Firewalls and Antivirus programs have become a serious risk for our 
programs, some weeks ago there was a new antivirus program that deleted one 
of our dlls, a dll which contained only icons :-))

Arne

"Jamal" <vodotnet_nospam@yahoo.com> schrieb im Newsbeitrag 
news:ka7prj$p88$1@dont-email.me...
> Arne,
>
> I've seen this when there is a firewall preventing scripting or the 
> Windows user is corrupt (create a new one and test).
>
> Jamal
>
> "Arne Ortlinghaus"  wrote in message news:ka6v28$lb4$1@dont-email.me...
>
> Hi Wolfgang,
>
> thank you. It was what I tried and what did not work. But perhaps it is
> because of an installation issue of installing Microsoft Office. I did not
> install it so I do not know exactly what happened. There were some valid
> entries in the registry for accessing the Outlook objects and nevertheless
> the first object "Outlook.Application" could not be instantiated.
>
> Arne
>
> "Wolfgang Riedmann" <wriedmann@gmail.com> schrieb im Newsbeitrag
> news:ailuemF6n3mU1@mid.individual.net...
>> Hi Arne,
>>
>>> can you give some examples?
>>
>> very simple:
>>
>> local oOutlook as object
>> local oEMail as object
>> local oRecipient as object
>>
>> oOutlook := OleAutoObject{ "Outlook.Application" }
>> oEmail   := oOutlook:CreateItem( 0 )
>> oEMail:Subject := cSubject
>> oEMail:Body := cText
>> oRecipient := oEmail:Recipients:Add( cRecipient )
>> oEmail:Recipients:ResolveAll()
>> oEmail:Display()
>>
>> Works from a 32 bit VO app to all Outlook versions - 32 and 64 bit.
>>
>> HTH
>>
>> Wolfgang
>>
>> -- 
>> 

[toc] | [prev] | [next] | [standalone]


#4588

FromJesus Zertuche <jzertucherodriguez@gmail.com>
Date2013-01-15 16:01 -0800
Message-ID<3c4fc913-8168-495d-a920-8a88f19eb5d9@googlegroups.com>
In reply to#4465
How I can set the account from which I will send my email ?

Thanks in advance.


El miércoles, 12 de diciembre de 2012 11:49:19 UTC-6, Arne Ortlinghaus  escribió:
> Thank you. These are good ideas do be verified.
> 
> 
> 
> (Firewalls and Antivirus programs have become a serious risk for our 
> 
> programs, some weeks ago there was a new antivirus program that deleted one 
> 
> of our dlls, a dll which contained only icons :-))
> 
> 
> 
> Arne
> 
> 
> 
> "Jamal" <vodotnet_nospam@yahoo.com> schrieb im Newsbeitrag 
> 
> news:ka7prj$p88$1@dont-email.me...
> 
> > Arne,
> 
> >
> 
> > I've seen this when there is a firewall preventing scripting or the 
> 
> > Windows user is corrupt (create a new one and test).
> 
> >
> 
> > Jamal
> 
> >
> 
> > "Arne Ortlinghaus"  wrote in message news:ka6v28$lb4$1@dont-email.me...
> 
> >
> 
> > Hi Wolfgang,
> 
> >
> 
> > thank you. It was what I tried and what did not work. But perhaps it is
> 
> > because of an installation issue of installing Microsoft Office. I did not
> 
> > install it so I do not know exactly what happened. There were some valid
> 
> > entries in the registry for accessing the Outlook objects and nevertheless
> 
> > the first object "Outlook.Application" could not be instantiated.
> 
> >
> 
> > Arne
> 
> >
> 
> > "Wolfgang Riedmann" <wriedmann@gmail.com> schrieb im Newsbeitrag
> 
> > news:ailuemF6n3mU1@mid.individual.net...
> 
> >> Hi Arne,
> 
> >>
> 
> >>> can you give some examples?
> 
> >>
> 
> >> very simple:
> 
> >>
> 
> >> local oOutlook as object
> 
> >> local oEMail as object
> 
> >> local oRecipient as object
> 
> >>
> 
> >> oOutlook := OleAutoObject{ "Outlook.Application" }
> 
> >> oEmail   := oOutlook:CreateItem( 0 )
> 
> >> oEMail:Subject := cSubject
> 
> >> oEMail:Body := cText
> 
> >> oRecipient := oEmail:Recipients:Add( cRecipient )
> 
> >> oEmail:Recipients:ResolveAll()
> 
> >> oEmail:Display()
> 
> >>
> 
> >> Works from a 32 bit VO app to all Outlook versions - 32 and 64 bit.
> 
> >>
> 
> >> HTH
> 
> >>
> 
> >> Wolfgang
> 
> >>
> 
> >> -- 
> 
> >>

[toc] | [prev] | [next] | [standalone]


#4597

FromSherlock <sherlock@sherlock.com.au>
Date2013-01-17 01:02 -0800
Message-ID<7ae7b94b-193c-44c1-ba68-0c4bae151518@googlegroups.com>
In reply to#4465
Arne

snip[ (Firewalls and Antivirus programs have become a serious risk for our programs, some weeks ago there was a new antivirus program that deleted one > of our dlls, a dll which contained only icons [

This has happened to us some many times..  AVG. KASPERSKY, TREND, MCAFEE .. the list grows. We have folders with history deleted, EXE. DLLS, DBF, IA , CDX, FPT.. you name it DELETED.  Cost us a fortune.

The move to cloud cannot some quick enough for us.  The IT in-house can at times be a complete nightmare.  Teamviewer has been our best friend.

Also the SMB2 issue is a nightmare at times.  

Phil McGuinness

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web