Connecting event handlers by hand - WeOnlyDo Discussion board

Connecting event handlers by hand (wodSFTP / wodSFTP.NET / wodSFTPdll)

by sucrerey, Thursday, January 20, 2005, 21:22 (7248 days ago)

I have switched from the ActiveX SFTP component to the COM. Since I am no longer using a form, I need to connect the vent handlers back up by hand. The following code worked under the ActiceX comp but does not work for the COM. Can I be shown what I need to send in when reconnecting these?

this.axwodSFTP1.Connected += new wodSFTPLib._IwodSFTPEvents_ConnectedEventHandler(this.axwodSFTP1_Connected);
this.axwodSFTP1.Disconnected += new System.EventHandler(this.axwodSFTP1_Disconnected);
this.axwodSFTP1.Done += new wodSFTPLib._IwodSFTPEvents_DoneEventHandler(this.axwodSFTP1_Done);
this.axwodSFTP1.AttributesData += new wodSFTPLib._IwodSFTPEvents_AttributesDataEventHandler(this.axwodSFTP1_AttributesData);
this.axwodSFTP1.Progress += new wodSFTPLib._IwodSFTPEvents_ProgressEventHandler(this.axwodSFTP1_Progress);
this.axwodSFTP1.ListItems += new wodSFTPLib._IwodSFTPEvents_ListItemsEventHandler(this.axwodSFTP1_ListItems);


Thanks in advance.
sucrerey


Complete thread: