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 On Wed, Aug 26, 2009 at 10:55 AM, Richard Kaye<[email protected]> wrote: > Not sure if Outlook munged the wrapping on that so let's try again. > > oOutlook = CREATEOBJECT("Outlook.Application") > > oNameSpace = oOutlook.GetNameSpace("MAPI") > > ?onamespace.CurrentUser.Name > > ?onamespace.Folders(1).Name > > > > rk > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Sytze de Boer > Sent: Tuesday, August 25, 2009 4:58 PM > To: [email protected] > Subject: Re: VFP9-Word/Excel licence > > Hi Richard > > <snip> > > I have tried various bits of code but there doesn't seem to be an > equivalent without poking inside mailboxes and then have security > warnings pop up > > > [excessive quoting removed by server] _______________________________________________ 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/[email protected] ** 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.

