Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #19638

Re: Errore 6 overflow

Newsgroups it.comp.lang.visual-basic
Date 2019-06-22 11:34 -0700
References <qejnis$1dtu$1@gioia.aioe.org>
Message-ID <dcea9048-ac52-4088-8228-3796c6da757d@googlegroups.com> (permalink)
Subject Re: Errore 6 overflow
From Luca D <antaniserse@yahoo.it>

Show all headers | View raw


On Saturday, June 22, 2019 at 1:00:57 AM UTC+2, Gulp® wrote:

> possibile che una variabile long non possa contenere il valore?

Decisamente.... un Long in VB6 è un intero a 32bit con segno, quindi al massimo 2.147.483.647; considerato che .AvailableSpace esprime il valore in byte, il calcolo è presto fatto.

Fortunatamente .AvailableSpace di FileSystemObject non è tipizzato/è un Variant, per cui cambia la tua variabile di conseguenza.

Back to it.comp.lang.visual-basic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Errore 6 overflow Gulp® <gulp@hotmail.it> - 2019-06-22 01:00 +0200
  Re: Errore 6 overflow Luca D <antaniserse@yahoo.it> - 2019-06-22 11:34 -0700
    Re: Errore 6 overflow Gulp® <gulp@hotmail.it> - 2019-06-23 12:18 +0200

csiph-web