Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 To: Matin Aziz
  Where is Matin Aziz?
 New York
 New York - United States
 Matin Aziz
 Tags
Subject: RE: Version of Microsoft Office installed
Thread ID: 345351 Message ID: 345356 # Views: 40 # Ratings: 0
Version: Visual FoxPro 8 Category: Microsoft Office Automation
Date: Tuesday, May 22, 2012 9:01:10 PM         
   


> >
> > On top of my ghead
> >
> >
> > LOCAL bClose
> > bClose = .f.
> > TRY
> >   o = getobject(,'Outlook.application')
> > CATCH
> >   o = createobject('Outlook.application')
> >   bClose = .t.
> > ENDTRY
> > IF bClose
> >    o.Close()
> >    o = NULL
> >    RELEASE o
> > ENDIF
> > ....
> > 

> > -----------------
> > Borislav Borissov
> >
> > Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
> > The only thing normal about database guys is their tables.
>
>
>
> Thanks a lot. I'll run it and let you know.

Change Outlook.application to Word.application (or Excel.application).
I hate outlook so when I install Office this application will be never installed.
99% have word and/or Excel installed though.


-----------------
Borislav Borissov

Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.

ENTIRE THREAD

Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 8:28:03 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 8:39:14 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 8:45:00 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 8:50:13 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 8:57:56 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 9:01:10 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 9:19:14 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 9:34:20 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 10:23:22 PM
RE: Version of Microsoft Office installed Posted by Tamar Granor @ 5/22/2012 10:29:34 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 10:52:11 PM
RE: Version of Microsoft Office installed Posted by Borislav Borissov @ 5/22/2012 10:59:33 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/22/2012 11:10:52 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/23/2012 8:57:06 PM
RE: Version of Microsoft Office installed Posted by Tamar Granor @ 5/23/2012 11:04:34 PM
RE: Version of Microsoft Office installed Posted by Matin Aziz @ 5/23/2012 11:19:29 PM
RE: Version of Microsoft Office installed Posted by Tamar Granor @ 5/24/2012 10:27:38 PM