🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1129

Re: Aiutino per favore

#1129
From: William
Date: Mon, 18 Oct 2004 19:47
17 lines
1573 bytes
Dimenticavo il codice scritto cos� � un p� meglio:

    Dim var1 As Double, var2 as Double, var3 as Double
    var1 = CDbl(Text1.Text) * CDbl(Text2.Text)
    Label1.Caption = CStr(var1)

    var2 = CDbl(Text3.Text) * CDbl(Text4.Text)
    Label2.Caption = CStr(var2)

    var3 = CDbl(Text5.Text) * CDbl(Text6.Text)
    Label3.Caption = CStr(var3)

    Label4.Caption = CStr(var1+var2+var3)

Poi usando un array di textbox e uno di label si poteva fare anche un ciclo.

William.
Technical Details
Message-ID: <F5Vcd.159473$35.7799686@news4.tin.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp-server.pubsub.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail
References: <5HKcd.46310$H11.1620580@twister1.libero.it> <zVUcd.159396$35.7796312@news4.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,bcfeea5931d06bee
X-Google-Attributes: gidf94ee,public
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp-server.pubsub.com!news-out.tin.it!news-in.tin.it!news4.tin.it.POSTED!not-for-mail
From: "William" <willy78@libero.it>
Newsgroups: free.it.visual-basic
References: <5HKcd.46310$H11.1620580@twister1.libero.it> <zVUcd.159396$35.7796312@news4.tin.it>
Subject: Re: Aiutino per favore
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <F5Vcd.159473$35.7799686@news4.tin.it>
Date: Mon, 18 Oct 2004 19:47:49 GMT
NNTP-Posting-Host: 80.182.36.113
X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it"
X-Trace: news4.tin.it 1098128869 80.182.36.113 (Mon, 18 Oct 2004 21:47:49 MET DST)
NNTP-Posting-Date: Mon, 18 Oct 2004 21:47:49 MET DST
Organization: TIN