ok i'm working on trying to convert my project into C# all is going pretty good and i'm stuck at this one area...
Code:// This is the .NET Code Private Sub Socket_DataArrival(ByVal eventSender As System.Object, ByVal eventArgs As AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent) Handles Socket.DataArrival // I know about the "Handles Socket.DataArrival already i'll list that in hereNow the problem i'm having is the AxMSWinsockLib.DMSWinsockControl_Events_DataArrivalEvent..I'm trying to convert that over into the C#..Code:// The C# Code.... public Form1() { InitializeComponent(); socket.dataarrival += new EventHandler(Socket_DataArrival);
I have AxInterop.MSWinsockLib.dll,InteropMSWinsock.dll,AxWinsockArray.dllCode:private void socket.dataarrival(object sender, // Then from here I just dont know what do put in here socket.dataarrival?? or AxMSWinsock??
I'm kinda confused at this point...dont know if i'm understanding this correctly but i dont think i need to include the Ax or Interop into the Code since it is C#.NET...





Reply With Quote