A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Redemption possibility



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 20th 06, 07:56 PM posted to microsoft.public.outlook.program_vba
Johnny E Jensen
external usenet poster
 
Posts: 7
Default Redemption possibility

Hello

I've made a group calendar control to view all recipients appointments. I
created the control on a machine with the program ClickYes installed. But
many Administrators don't like the idea to have ClickYes installed - (i
don't either).

So i saw the Redemption component - would it be possible to loop though all
reciepients calendar items. I tryed the Set objSafeRC =
objNS.CreateRecipient("name") but no lock.

Anyone with an example?

Kind regards
Johnny E. Jensen



Ads
  #2  
Old June 20th 06, 09:27 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Redemption possibility

You can call Namespace.GetSharedDefaultFolder in OOM *without* causing a
security prompt if you do *not* call Recipient.Resolve after calling
Namespace.CreateRecipient.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Johnny E Jensen" wrote in message
...
Hello

I've made a group calendar control to view all recipients appointments. I
created the control on a machine with the program ClickYes installed. But
many Administrators don't like the idea to have ClickYes installed - (i
don't either).

So i saw the Redemption component - would it be possible to loop though
all reciepients calendar items. I tryed the Set objSafeRC =
objNS.CreateRecipient("name") but no lock.

Anyone with an example?

Kind regards
Johnny E. Jensen





  #3  
Old June 21st 06, 09:06 AM posted to microsoft.public.outlook.program_vba
Johnny E Jensen
external usenet poster
 
Posts: 7
Default Redemption possibility

Hello Dmitry

Thanks for your time.

As far as getting SharedDefaultFolder OK
Then I do this

Dim objItems as Object
Dim objAppointment as Outlook.AppointmentItem
Dim objSafeAppointment as Redemption.SafeAppointmentItem

Set objItems = oSharedDefFolder.Items
objItems.Sort "[Start]"
..... some code to make filtering string
Set objAppointment = objItems.Find(strFilter)
While TypeName(objAppointment) "Nothing" And TypeName(objAppointment)
"Empty"
DoEvents
Set objSafeAppointment As New Redemption.SafeAppointmentItem
Set objSafeAppointment.Item = objAppointment === ERROR: Object not
set
Set objAppointment = objItems.FindNext
Wend

How to copy the OOM object (AppointmentItem) to SafeAppointmentItem ?

Kind regards
Johnny E Jensen


"Dmitry Streblechenko" wrote in message
...
You can call Namespace.GetSharedDefaultFolder in OOM *without* causing a
security prompt if you do *not* call Recipient.Resolve after calling
Namespace.CreateRecipient.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Johnny E Jensen" wrote in message
...
Hello

I've made a group calendar control to view all recipients appointments. I
created the control on a machine with the program ClickYes installed. But
many Administrators don't like the idea to have ClickYes installed - (i
don't either).

So i saw the Redemption component - would it be possible to loop though
all reciepients calendar items. I tryed the Set objSafeRC =
objNS.CreateRecipient("name") but no lock.

Anyone with an example?

Kind regards
Johnny E. Jensen







  #4  
Old June 21st 06, 02:33 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Redemption possibility

objSafeAppointment.Item = objAppointment

Not

Set objSafeAppointment.Item = objAppointment

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Johnny E Jensen" wrote in message
...
Hello Dmitry

Thanks for your time.

As far as getting SharedDefaultFolder OK
Then I do this

Dim objItems as Object
Dim objAppointment as Outlook.AppointmentItem
Dim objSafeAppointment as Redemption.SafeAppointmentItem

Set objItems = oSharedDefFolder.Items
objItems.Sort "[Start]"
.... some code to make filtering string
Set objAppointment = objItems.Find(strFilter)
While TypeName(objAppointment) "Nothing" And TypeName(objAppointment)
"Empty"
DoEvents
Set objSafeAppointment As New Redemption.SafeAppointmentItem
Set objSafeAppointment.Item = objAppointment === ERROR: Object not
set
Set objAppointment = objItems.FindNext
Wend

How to copy the OOM object (AppointmentItem) to SafeAppointmentItem ?

Kind regards
Johnny E Jensen


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redemption not working :( [email protected] Add-ins for Outlook 6 June 22nd 06 03:12 PM
inconsistent in Redemption Vadivel Outlook and VBA 10 April 25th 06 06:12 PM
strong name and Redemption Rog Add-ins for Outlook 3 April 5th 06 05:03 PM
Redemption Christoph Add-ins for Outlook 5 March 6th 06 03:26 PM
Redemption MAPITable Dmitry Streblechenko Add-ins for Outlook 1 January 12th 06 04:09 AM


All times are GMT +1. The time now is 12:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.