After the book, I found the best thing to do is work with the objects at the
command prompt. The trick with that last one was finding out about the
GetNameSpace method. After that, I let Intellisense do its thing.
The code snippet I posted does not bring up any security warnings; at least on
my system. I wrote a number of little VFP automation utilities to create
folders and update contacts when I was forced by the corporate environment to
start using Outlook. None of these things caused any security prompts. Security
comes into play when you try to send email via MAPI through Outlook.
If you want to use MAPI to send mail ("MAPI bad, SMTP Good" - Ted Roche (c)
1998?) , I don't think you will be able to work around Outlook's security in a
standalone environment without using third party tools/hacks. If you are
working with Exchange 2003 and Outlook 2003, there was a registry hack that
allowed "simple" MAPI calls to be invoked without Outlook whinging at the user.
Unfortunately, I figured all that out quite a while ago and don't have the
details handy.
rk
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Sytze de Boer
Sent: Tuesday, August 25, 2009 6:58 PM
To: [email protected]
Subject: Re: VFP9-Word/Excel licence
Hi Richard
Yes, I bought the book some time ago but couldn't find the reference
to CurrentUser.Name
Of course, this brings up the Security issues, and I need to avoid this
So, I'm still looking for a solution
S
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/df1eef11e586a64fb54a97f22a8bd04406588a4...@ackbwddqh1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.