Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Socket Programming in Visual Basic 6.0

Socket Programming in Visual Basic 6.0

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
7 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    Hello Everybody, We have an existing VB 6.0 application and we want to make this send and receive data using sockets instead of MSComm32 which it currently uses. Questions are: 1. Can it be done using VB 6.0 effectively or should I go VB.Net? 2. I guess I may be able to use Winsock Control but I'm worried about how good VB is in terms of socket programming when compared to VB.Net?

    S L F J 4 Replies Last reply
    0
    • A Anonymous

      Hello Everybody, We have an existing VB 6.0 application and we want to make this send and receive data using sockets instead of MSComm32 which it currently uses. Questions are: 1. Can it be done using VB 6.0 effectively or should I go VB.Net? 2. I guess I may be able to use Winsock Control but I'm worried about how good VB is in terms of socket programming when compared to VB.Net?

      S Offline
      S Offline
      Steven Campbell
      wrote on last edited by
      #2

      I think you are best off getting VB.NET. You can still interact with a .NET DLL from your VB6 code, using COM Interop. .NET has very good support for sockets. You could probably get a 3rd party component that makes it easy from VB6. VB.NET is so much more fun though ;)

      1 Reply Last reply
      0
      • A Anonymous

        Hello Everybody, We have an existing VB 6.0 application and we want to make this send and receive data using sockets instead of MSComm32 which it currently uses. Questions are: 1. Can it be done using VB 6.0 effectively or should I go VB.Net? 2. I guess I may be able to use Winsock Control but I'm worried about how good VB is in terms of socket programming when compared to VB.Net?

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        I have a code in VB of a control ActiveX that it abstracted all complexity of Windows DLL. Should I order where? (just the sources, without EXE ;P). Willian S. Rodrigues (VB, VC++, Qt, MFC, Cobol,Clipper, Pascal)

        K 1 Reply Last reply
        0
        • A Anonymous

          Hello Everybody, We have an existing VB 6.0 application and we want to make this send and receive data using sockets instead of MSComm32 which it currently uses. Questions are: 1. Can it be done using VB 6.0 effectively or should I go VB.Net? 2. I guess I may be able to use Winsock Control but I'm worried about how good VB is in terms of socket programming when compared to VB.Net?

          F Offline
          F Offline
          Fade Amit BS
          wrote on last edited by
          #4

          Hey, I am directing you to a project i wrote, Throughly uses sockets in VB6, vastly documented, multiple connections, error traping, buffering, queueing, the works. let me know what you think. http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=48338&lngWId=1[^] Fade (Amit BS)

          1 Reply Last reply
          0
          • A Anonymous

            Hello Everybody, We have an existing VB 6.0 application and we want to make this send and receive data using sockets instead of MSComm32 which it currently uses. Questions are: 1. Can it be done using VB 6.0 effectively or should I go VB.Net? 2. I guess I may be able to use Winsock Control but I'm worried about how good VB is in terms of socket programming when compared to VB.Net?

            J Offline
            J Offline
            jimpar
            wrote on last edited by
            #5

            winsocklib from here http://killervb.com/Libraries.aspx[^]

            K 1 Reply Last reply
            0
            • L Lost User

              I have a code in VB of a control ActiveX that it abstracted all complexity of Windows DLL. Should I order where? (just the sources, without EXE ;P). Willian S. Rodrigues (VB, VC++, Qt, MFC, Cobol,Clipper, Pascal)

              K Offline
              K Offline
              kishore007sai
              wrote on last edited by
              #6

              :(

              1 Reply Last reply
              0
              • J jimpar

                winsocklib from here http://killervb.com/Libraries.aspx[^]

                K Offline
                K Offline
                kishore007sai
                wrote on last edited by
                #7

                :doh:

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups