Results 1 to 40 of 45

Thread: Lib private void socket.dataarrival(object sender[RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Rattlerr's Avatar
    Join Date
    Jul 2005
    Location
    FloralCity,Florida
    Posts
    269

    Resolved Lib private void socket.dataarrival(object sender[RESOLVED]

    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 here
    Code:
    // The C# Code....
    public Form1()
            {
                InitializeComponent();
    socket.dataarrival += new EventHandler(Socket_DataArrival);
    Now the problem i'm having is the AxMSWinsockLib.DMSWinsockControl_Events_DataArrivalEvent..I'm trying to convert that over into the C#..

    Code:
     private void socket.dataarrival(object sender,  // Then from here I just dont know what do put in here socket.dataarrival?? or AxMSWinsock??
    I have AxInterop.MSWinsockLib.dll,InteropMSWinsock.dll,AxWinsockArray.dll

    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...
    Last edited by Rattlerr; Feb 3rd, 2006 at 02:05 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width