IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
-Collapse +Expand Paradox To/From
To/FromCODEGuides
-Collapse +Expand Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

October Edition
Subscribe now! It's Free!
Enter your email:

   ► KBDesktop Data...Paradox & Ob...ObjectPAL Co...OPAL: Wicked...   Print This     
  From the November 2014 Issue of Prestwood eMag
 
Paradox OPAL: Wicked Coding Tasks:
OLEAuto Paradox to Outlook
 
Posted 11 years ago on 2/18/2010
Paradox Code Snippet:
 A flashcard from our Paradox Flashcards Library
 A code snippet from our Paradox Code Snippets Page

KB102122

The following code snippet adds an appointment to your Outlook calendar. Tested with Paradox 9 and Outlook 2003 but should work with later versions of both programs.

Note, you will get a Error opening server 'Outlook.Application' error if your antivirus program is blocking Outlook access.

Syntax Example:
var
 oleOutlook oleAuto
 oleAppointment oleAuto
endVar
  
;The open will fail if your AntiVirus program is blocking access.
oleOutlook.open("Outlook.Application")
oleAppointment=oleOutlook.CreateItem(1)
  
oleAppointment.Subject = "Test From ObjectPAL"
oleAppointment.Body="You can add appointments from ObjectPAL."
oleAppointment.Start=dateTime() ;Adds an appointment now.
oleAppointment.Duration=60
oleAppointment.ReminderSet=True
oleAppointment.Location="My Office"
oleAppointment.BusyStatus = 2
  
oleAppointment.save()

Comments

1 Comments.
Share a thought or comment...
First Comment
Comment 1 of 4

Hello,

Is There a way to create un appointment item in another folder then the default foler. Thanks

Posted 10 years ago

Comment 2 of 4

I have tried this code in my write my essay review blogs before and got successful in making a clear output to it. It really worked well when i have tried this snippet.

Posted 20 months ago

Comment 3 of 4

Want to find a reliable essay writing service? Click here, and you’ll be able to order all kinds of academic papers on this website.

Posted 19 months ago

Latest Comment
Comment 4 of 4

What can you say about assignment writing services now? Are they good? Are they worth using?

Posted 16 months ago
 
Write a Comment...
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1182A1
Enter key:
Code Contributed By Mike Prestwood:

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Visit Profile

 KB Article #102122 Counter
9361
Since 2/18/2010
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2021 Prestwood IT Solutions.   [Security & Privacy]