Winsock 6 control in VB.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kimiraikkonen

    Winsock 6 control in VB.NET

    Hi,
    As you know there's no mswinsck.ocx ActiveX control in VB.NET 2005 or
    08 by default, but it exists in VB6. However i can add this old
    control to my VB 2005 toolbox with no problem by extracting from VB6's
    cabinets, but when using inside my project, i get some syntax problems
    which runs fine in VB6. I do not want to go back VB6.

    Is it healthy and supported using mswinsck.ocx Winsock control in
    VB.NET projects?

    And is System.Net.Sock ets the unique alternative for this Winsock
    control and is it completely equilavent?

    Thanks
  • Tom Shelton

    #2
    Re: Winsock 6 control in VB.NET

    On 2008-03-24, kimiraikkonen <kimiraikkonen8 5@gmail.comwrot e:
    Hi,
    As you know there's no mswinsck.ocx ActiveX control in VB.NET 2005 or
    08 by default, but it exists in VB6. However i can add this old
    control to my VB 2005 toolbox with no problem by extracting from VB6's
    cabinets, but when using inside my project, i get some syntax problems
    which runs fine in VB6. I do not want to go back VB6.
    >
    Is it healthy and supported using mswinsck.ocx Winsock control in
    VB.NET projects?
    >
    And is System.Net.Sock ets the unique alternative for this Winsock
    control and is it completely equilavent?
    >
    Thanks
    You want to use System.Net.Sock ets. The winsock control sucked in VB6,
    and it sucks even worse in .NET ;)

    --
    Tom Shelton

    Comment

    Working...