Article View: free.it.visual-basic
Article #829Winsock
From: VitoManu
Date: Wed, 17 Aug 2005 14:05
Date: Wed, 17 Aug 2005 14:05
20 lines
1692 bytes
1692 bytes
Ciao a tutti.
Ho un problemino e ve lo espongo.
Un programma con due form, nella prima un controllo WS che accetta e passa
la connessione al WS della form2 su evento di connectionrequest, nella form
2 faccio quello che devo fare ma... all'evento Error del WS in form 2 se
eseguo un Unload Form2, anzich� chiudersi la Form 2 si pianta tutto, il
programma si chiude ed esce la finetra di windows che invita a spedire
l'errore.
Chi per cortesia mi spiega il perch� ?
Private Sub WS_Error(ByVal Number As Integer, Description As String, ByVal
Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal
HelpContext As Long, CancelDisplay As Boolean)
'errore generato � il 11053
WS.Close
Unload me
End Sub
Technical Details
Message-ID:
<FuHMe.19390$F23.236626@twister2.libero.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f94ee,7ec62fd2cd8b8374,start X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail From: "VitoManu" <vittoriolu@hotmail.com> Newsgroups: free.it.visual-basic Subject: Winsock Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: <FuHMe.19390$F23.236626@twister2.libero.it> Date: Wed, 17 Aug 2005 14:05:25 GMT NNTP-Posting-Host: 151.42.178.155 X-Complaints-To: abuse@net24.it X-Trace: twister2.libero.it 1124287525 151.42.178.155 (Wed, 17 Aug 2005 16:05:25 MET DST) NNTP-Posting-Date: Wed, 17 Aug 2005 16:05:25 MET DST Organization: [Infostrada]