All,
I have been using Fivewin to bring up Outlook from 2010 using either of the following functions:
Function GetOutlookObject()
Local oOutlook := Win_OleGetActiveObject( "Outlook.application" )
If oOutlook == nil
oOutlook := Win_OleCreateObject( "Outlook.application" )
Endif
If oOutlook == nil
oOutlook := CreateObject( "Outlook.Application" )
Endif
If oOutlook == nil
MsgStop( "Unable to retrieve the Outlook Application Object...","GetOutlookObject()" )
Endif
Return oOutlook
Function GetOutlookObjectNew()
Local oOutlook := nil
Try
oOutlook := FwGetOleObject( "Outlook.application" )
MsgWait( "Outlook was open by FwGetOleObject!","Info",2 )
Catch
Try
oOutlook := CreateObject( "Outlook.application" )
MsgWait( "Outlook is open now by CreateObject!","Info",2 )
Catch
MsgAlert( "Cannot open outlook" )
End
End
If oOutlook == nil
MsgAlert( "oOutlook is nil" )
Endif
Return oOutlook
Both seem to work great, however when using Outlook from Office 2016 oOutlook is always nil weather attempting to get the active object, or attempting to launch it and then get the object. Anybody know any magic to make the newer one work? Also the print preview in FWH does not seem to launch the new version as well ("@" button).
Thanks in advance,
Byron ...
Fivewin OLE with Outlook
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Fivewin OLE with Outlook
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Fivewin OLE with Outlook
It's been long. My outlook is 32 bit running on 63 bit os.
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
Re: Fivewin OLE with Outlook
hey Jimmy
Sorry if I bother you ,
I see that you use List&Label , do you use it with Harbour ?
Maurizio
www.nipeservice
Sorry if I bother you ,
I see that you use List&Label , do you use it with Harbour ?
Maurizio
www.nipeservice
Re: Fivewin OLE with Outlook
Check this out:
As a best practice, you should only have one version of Office installed on a computer. For migration scenarios, we realized that there may be a need to have multiple versions of Office on the same computer for a short period of time. We recommend that you uninstall the previous version of Office shortly after you have migrated to the latest version of Office. Uninstall the previous version of Office using the Control Panel Programs and Features by following these steps.
Open the Control Panel.
Under Programs, select Uninstall a program.
In the Programs and Features window, select the previous version of Office, and then click Uninstall.
Follow the instructions provided in the Office installer interface to remove Office.
Regards, saludos.
As a best practice, you should only have one version of Office installed on a computer. For migration scenarios, we realized that there may be a need to have multiple versions of Office on the same computer for a short period of time. We recommend that you uninstall the previous version of Office shortly after you have migrated to the latest version of Office. Uninstall the previous version of Office using the Control Panel Programs and Features by following these steps.
Open the Control Panel.
Under Programs, select Uninstall a program.
In the Programs and Features window, select the previous version of Office, and then click Uninstall.
Follow the instructions provided in the Office installer interface to remove Office.
Regards, saludos.
João Santos - São Paulo - Brasil
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Fivewin OLE with Outlook
Looking under "Programs and Features" -
I only have one version of Office on my desktop:
Microsoft Office Professional Plus 2016 - en - us
It is a 32 bit version, my OS is 64 bit (not 63 :->).
Is this the problem, or should it work 32 bit running on 64 bit OS?
I only have one version of Office on my desktop:
Microsoft Office Professional Plus 2016 - en - us
It is a 32 bit version, my OS is 64 bit (not 63 :->).
Is this the problem, or should it work 32 bit running on 64 bit OS?
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Fivewin OLE with Outlook
What is List&Label? How could you tell he was using it?
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Fivewin OLE with Outlook
What is List&Label? How could you tell he was using it?
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services