Brothers Posted June 21, 2005 Report Posted June 21, 2005 ho provato sia cosiPrivate Sub Combo1_Change() Winsock1.RemoteHost = Combo1.Textche cosi Winsock1.RemoteHost = "Combo1.Text"End Subma non fungePS. spero di non fare troppe domande tutte insieme
omabra Posted July 17, 2005 Report Posted July 17, 2005 Winsock1.RemoteHost = "Combo1.Text" Questa riga assegna la stringa Cobo1.text all'oggetto winsock1 proprietà remotehost Winsock1.RemoteHost = Combo1.Text questa assegna il valore del testo della combo al winsock.Se il combo.text non è vuoto ne assegna il valore.se poi il winsock non cambia prova prima a chiudere il canale e poi assegnare la proprietàWinsock1.closeWinsock1.Remotehost= combo1.text'se usi connessioni udpwinsock1.bind'se usi connessioni tcpwinsock1.listennaturalemente devi specificare anche le porte sul quale parli.
Brothers Posted July 18, 2005 Author Report Posted July 18, 2005 non cambiava perche non chiudevo il canale ma con Winsock1.close adesso funzionaGrazie ciao
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now