Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    lofcarlos
    Guest

    errore nel codice [vb6]

    --> Private Sub WS1_ConnectionRequest(Index As Integer, ByVal requestID As Long)
    On Error Resume Next
    Dim X As Long

    If Index = 0 Then
    For X = 1 To intMax
    If ws1(X).State = sckClosed Then
    ws1(X).LocalPort = 0
    ws1(X).Accept requestID
    Exit Sub
    End If
    Next X
    intMax = intMax + 1
    Load ws1(intMax)
    ws1(intMax).LocalPort = 0
    ws1(intMax).Accept requestID
    End If
    End Sub


    alle prima righe mi da questo errore: procedure declaration does not match description of event or procedure having the same name

    cosa devo cambiare?

    grazie delle risposte

  2. #2
    Utente di HTML.it L'avatar di affo20
    Registrato dal
    May 2003
    Messaggi
    47

    e allora cambia

    Prova a cambiare il nome della procedura e vedi se ti funziona!!!!Se si è perchè hai usato quel nome anche da un'altra parte!!!!Quindi o ne cambi uno o l'altro!!!!!!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.