Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VO2Outlook under Win8, Outlook 2007

290 views
Skip to first unread message

Joe Bench

unread,
Nov 22, 2012, 8:29:47 AM11/22/12
to
Hi!

Has anyone tried this combination?
Does it work?

Greetings,
Joe

Joe Bench

unread,
Dec 6, 2012, 7:02:31 AM12/6/12
to
_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?

Arne Ortlinghaus

unread,
Dec 6, 2012, 8:38:01 AM12/6/12
to
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" <benc...@yahoo.de> schrieb im Newsbeitrag
news:50c08957$0$18681$91ce...@newsreader03.highway.telekom.at...

Willie Moore

unread,
Dec 6, 2012, 10:18:42 AM12/6/12
to
Hey,

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

Regards,
Willie
Vulcan VIP

Arne Ortlinghaus

unread,
Dec 7, 2012, 11:18:40 AM12/7/12
to
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" <wil...@wmconsulting.com> schrieb im Newsbeitrag
news:2003272561376499798.40092...@news.aioe.org...

Willie Moore

unread,
Dec 7, 2012, 6:19:08 PM12/7/12
to
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

Wolfgang Riedmann

unread,
Dec 9, 2012, 11:03:17 AM12/9/12
to
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


--

Arne Ortlinghaus

unread,
Dec 10, 2012, 2:50:02 AM12/10/12
to
Hi Wolfgang,

can you give some examples?

Arne

"Wolfgang Riedmann" <wrie...@gmail.com> schrieb im Newsbeitrag
news:aijr25...@mid.individual.net...

Wolfgang Riedmann

unread,
Dec 10, 2012, 6:13:26 AM12/10/12
to
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

--

Wolfgang Riedmann

unread,
Dec 10, 2012, 6:54:50 AM12/10/12
to
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


--

Joe Bench

unread,
Dec 8, 2012, 8:17:41 AM12/8/12
to
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

Gerhard Bunzel

unread,
Dec 10, 2012, 8:42:33 AM12/10/12
to
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" <benc...@yahoo.de> schrieb im Newsbeitrag
news:50c5e0f8$0$1579$91ce...@newsreader04.highway.telekom.at...

Joe Bench

unread,
Dec 10, 2012, 8:45:08 AM12/10/12
to
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

Carlos Rocha

unread,
Dec 10, 2012, 11:47:14 AM12/10/12
to
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/

Arne Ortlinghaus

unread,
Dec 11, 2012, 4:40:24 AM12/11/12
to
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" <wrie...@gmail.com> schrieb im Newsbeitrag
news:ailuem...@mid.individual.net...

Wolfgang Riedmann

unread,
Dec 11, 2012, 5:15:51 AM12/11/12
to
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


--

Jamal

unread,
Dec 11, 2012, 12:16:40 PM12/11/12
to
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...

Arne Ortlinghaus

unread,
Dec 12, 2012, 12:49:19 PM12/12/12
to
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" <vodotne...@yahoo.com> schrieb im Newsbeitrag
news:ka7prj$p88$1...@dont-email.me...

Jesus Zertuche

unread,
Jan 15, 2013, 7:01:19 PM1/15/13
to
How I can set the account from which I will send my email ?

Thanks in advance.

Sherlock

unread,
Jan 17, 2013, 4:02:02 AM1/17/13
to
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
0 new messages