FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index All products support Chiusura di EXCEL dai task di WIndows
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Chiusura di EXCEL dai task di WIndows
Posted: Mon Jul 06, 2009 11:11 AM

Salve,

mi capita che dopo avere usato un programmino che opera su excel, nei task di windows trovo tante volte Excel aperto.

COme si fa a chiudere excel da questi task ?

A parte che pensavo utilizzando le istruzioni....:

oExcel:=TOleauto():New("Excel.Application")
..
..
..
oExcel:Qui()
oExcel:End()

mi si chiudesse anche Excel.
Ci mica magari un comando del tipo: oExcel:Scarica_Excel_dal_Task_di_Windows_?()

Grazie

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Chiusura di EXCEL dai task di WIndows
Posted: Mon Jul 06, 2009 12:17 PM

E' sufficiente oExcel:Quit(). Togli oExcel:End().

EMG

Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: Chiusura di EXCEL dai task di WIndows
Posted: Mon Jul 06, 2009 01:44 PM

ok grazie

Continue the discussion