🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

R: aiutino :o)

#2713
From: Franco Veneziano
Date: Sun, 23 Feb 2003 06:05
63 lines
3026 bytes
Ciao,
dovresti dirci cosa vedi in Textbox2.

Ciao Franco

Franco Mario <ilgrandeblek@tin.it> wrote in message
yzN7a.251403$0v.6984791@news1.tin.it...
> Ciao a tutti avrei bisogno di un favore, ho trovato su internet un foglio
di
> excel per magazzino ed e molto bello, ma mi chiede nome utente e pasword
per
> cambiare alcune cose, dal codice di visula basic (che io non conosco per
> nulla) si puo sapere che nome mettere? il codice e questo
> Grazie a tutti
>
> Dim frase(20) As String, a As Integer, pass As String
> Private Sub CommandButton1_Click()
>     On Error Resume Next
>     Application.EnableCancelKey = xlDisabled
>     Application.ScreenUpdating = False
>     pass = TextBox1.Text
>     a = Len(pass)
>     Select Case a
>         Case Is < 6
>             MsgBox "Nome non valido, immetti almeno sei lettere",
> vbExclamation
>             Exit Sub
>         Case Is > 10
>             pass = Mid(pass, 1, 10)
>         Case Is < 10
>             pass = pass + "dtlw"
>             pass = Mid(pass, 1, 10)
>     End Select
>     For i = 1 To 10
>         a = Asc(Mid(pass, i, 1)) + i
>         If a > 122 Then a = a - 122 + 60
>         frase(i) = Chr$(a)
>     Next
>     If TextBox2 = frase(5) + frase(1) + "/5" + frase(7) + frase(1) +
> frase(3) + frase(2) + frase(8) + "3" + frase(4) + "\5" + frase(10) +
> frase(9) Then
>         With Sheets("Copertina")
>             .Select
>             .Unprotect ("�=@���[]125.;:448973%&$�~|)0hgdtstYFAJJH")
>             .Range("e10").Value = True
>             .Range("e11").Value = TextBox1.Text
>         End With
>         Sheets("Copertina").Protect
> ("�=@���[]125.;:448973%&$�~|)0hgdtstYFAJJH")
>     Else: MsgBox "Password errata", vbExclamation
>     End If
>     Application.ScreenUpdating = True
>     Unload Me
> End Sub
> Private Sub CommandButton2_Click()
>     Unload Me
> End Sub
>
> Private Sub TextBox2_Change()
>
> End Sub
>
>
Technical Details
Message-ID: <b3qb2f$upl$1@lacerta.tiscalinet.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!draco.tiscalinet.it!not-for-mail
References: <yzN7a.251403$0v.6984791@news1.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f94ee,850395a2b531aa3f
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2003-03-01 05:16:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!draco.tiscalinet.it!not-for-mail
From: "Franco Veneziano" <franco72.veneziano@tiscali.it>
Newsgroups: free.it.visual-basic
Subject: R: aiutino :o)
Date: Sun, 23 Feb 2003 06:05:25 -0000
Organization: Tiscali Spa
Lines: 65
Message-ID: <b3qb2f$upl$1@lacerta.tiscalinet.it>
References: <yzN7a.251403$0v.6984791@news1.tin.it>
NNTP-Posting-Host: ppp-62-10-76-2.dialup.tiscali.it
X-Trace: lacerta.tiscalinet.it 1046523791 31541 62.10.76.2 (1 Mar 2003 13:03:11 GMT)
X-Complaints-To: newsadmin@it.tiscali.com
NNTP-Posting-Date: 1 Mar 2003 13:03:11 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300