Novità

come sapere se un oggetto Output è ancora presente o meno?

lotto_tom75

Advanced Premium Member
Dato il comando...

Codice:
Set Out = CreateObject("ScreenOutput.ClsScreenOutput")

Se lo chiudo precedentemente in una chiusura ciclo così ad es.

Codice:
If ScriptInterrotto Or FileEsistente(filestop) Then Call Out.chiudi : Set Out = Nothing : Exit For

Next ' x es

come faccio a sapere nel successivo ciclo se è presente o meno per poterlo chiudere nel primo caso e nel secondo non avere l'errore bloccante "necessario oggetto Out"

Codice:
If ScriptInterrotto Then Call Out.chiudi : Set Out = Nothing : Exit Do
Loop

In sostanza c'è un modo analogo alla funzione

if filesesistente(file)

per sapere se un oggetto Out di questo tipo... è presente o meno? :unsure:

Buona giornata e good sunday a tutti/e

☀️👋:)
 
Ultima modifica:

Ultima estrazione Lotto

  • Estrazione del lotto
    giovedì 26 marzo 2026
    Bari
    69
    58
    26
    05
    22
    Cagliari
    59
    33
    73
    02
    69
    Firenze
    44
    49
    83
    75
    50
    Genova
    35
    77
    61
    40
    86
    Milano
    48
    52
    12
    19
    62
    Napoli
    60
    21
    47
    15
    58
    Palermo
    16
    27
    28
    83
    25
    Roma
    35
    19
    85
    81
    24
    Torino
    29
    44
    15
    70
    31
    Venezia
    69
    20
    48
    55
    02
    Nazionale
    56
    61
    40
    27
    81
    Estrazione Simbolotto
    Firenze
    27
    22
    31
    16
    13
Indietro
Alto