Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start outlook calendar in vfp ?

Status
Not open for further replies.

Johnweida

MIS
Apr 29, 2003
91
CN
experts,

How can I start MS outlook calendar in my vfp application and detect if Ms outlook has been installed in computer ?
Thanks.

John Satellite
 
John

Take a look at faq184-3894 "Display Outlook's calendar"


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Dear Mike,

I cannot find Display Outlook's calendar at FAQ184-3894.Would you help me please ? Thanks.

John Satellite
 
John

I cannot find Display Outlook's calendar

Really? The first one after the #DEFINE
Code:
Display Outlook's calendar
LOCAL oOutlook,oNameSpace,oDefaultFolder
oOutlook = CREATEOBJECT("outlook.application") 
oNameSpace = oOutlook.getnamespace("MAPI")
oDefaultFolder=oNameSpace.GetDefaultFolder(olFolderCalendar) &&Calendar
oDefaultFolder.display()

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Dear Mike,

I start Outlook calendar in VFP with the code you show me.
But How to start it with maximized style like form property "WindowState" ? Help me,Great Mike!

John Satellite
 
John

Just manually open your Outlook and maximize it, close it and see if it then opens maximized via automation.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top