🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Lettere e Numeri

#3967
From: gino
Date: Tue, 04 Dec 2001 20:19
32 lines
1802 bytes
potresti provare cos�

Private Sub Text1_KeyPress(KeyAscii As Integer)

    Select Case KeyAscii
        Case 48 To 57
            ' per tasti numerici da 0 a 9
        Case 8
            ' per il tasto Canc
        Case Else
            ' per tutti gli altri tasti
            Beep
            KeyAscii = 0
    End Select

End Sub

buon lavoro
"Paolo" <paomal@libero.it> ha scritto nel messaggio
news:hsfJ7.109421$sq5.5213750@news.infostrada.it...
> Sono un neofita di VB6, lo sto' praticando da poco tempo e ho
> bisogno di una mano da qualcuno piu' esperto di me.
> Vorrei fare in modo che in una o piu' textbox possa solo digitare
> numeri e non lettere e che quando sbaglio mi appaia un messaggio
> di errore.
> Vi Ringrazio anticipatamente
> Paolo
>
>
>
>
>
Technical Details
Message-ID: <bdaP7.960$1o4.49041@twister2.libero.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!nntp.infostrada.it!cyclone2.libero.it!twister2.libero.it.POSTED!not-for-mail
References: <hsfJ7.109421$sq5.5213750@news.infostrada.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,7489f85d3f50b932
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2001-12-04 12:19:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!nntp.infostrada.it!cyclone2.libero.it!twister2.libero.it.POSTED!not-for-mail
From: "gino" <ugino@libero.it>
Newsgroups: free.it.visual-basic
References: <hsfJ7.109421$sq5.5213750@news.infostrada.it>
Subject: Re: Lettere e Numeri
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <bdaP7.960$1o4.49041@twister2.libero.it>
Date: Tue, 04 Dec 2001 20:19:19 GMT
NNTP-Posting-Host: 151.25.103.134
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1007497159 151.25.103.134 (Tue, 04 Dec 2001 21:19:19 MET)
NNTP-Posting-Date: Tue, 04 Dec 2001 21:19:19 MET
Organization: [Infostrada]