🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problema vb6

#140
From: Pepe
Date: Wed, 16 Mar 2011 09:04
39 lines
1819 bytes
Ciao a tutti, vi posto un pezzo di codice che mi da errore:

errore di run-time '-2147217904(80040e10)':
Nessun valore specificato per alcuni parametri necessari.

Potreste dirmi dove sbaglio? Premesso che non sono un esperto.
Ecco il codice

aricerca = Val(txtCognome1.Text)
txtCognome1.Text  =  aricerca

cn.Open stringa

rs.Open "SELECT * FROM EE WHERE Cognome  =  aricerca ", cn, 1      'qui mi 
da l'errore citato sopra



       While rs.EOF = False

        txtData.Text = rs("Data")

        txtCognome.Text = rs("Cognome")

        txtNome.Text = rs("Nome")

        txtTipo.Text = rs("Tipo")

        txtNumDoc.Text = rs("Numero")

        txtPas.Text = rs("Pas")

        txtVisitato.Text = rs("Visitato")

       Wend



Grazie Ciao
Technical Details
Message-ID: <4d807d08$0$38646$4fafbaef@reader1.news.tin.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!newsfeed.x-privat.org!feeder.news.tin.it!spool.news.tin.it!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,d2a8e9b436d9695a,start
X-Google-NewGroupId: yes
X-Google-Attributes: gid3de4ef2fba,domainid0,public,usenet
X-Google-Language: ITALIAN,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!newsfeed.x-privat.org!feeder.news.tin.it!spool.news.tin.it!not-for-mail
From: "Pepe" <beppemonticelli@alice.it>
Newsgroups: free.it.visual-basic
Subject: Problema vb6
Date: Wed, 16 Mar 2011 10:04:11 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
Lines: 42
Message-ID: <4d807d08$0$38646$4fafbaef@reader1.news.tin.it>
Organization: TIN.IT (http://www.tin.it)
X-Comments: Please send technical notifications to newsmaster@tin.it
NNTP-Posting-Host: 79.11.132.244
X-Trace: 1300266249 reader1.news.tin.it 38646 79.11.132.244:11663
X-Complaints-To: Please send abuse reports to abuse@retail.telecomitalia.it