Results 1 to 2 of 2

Thread: Winsock

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954

    Winsock

    Can you add a winsock control to an Active X dll?

  2. #2
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    Orlando
    Posts
    392
    In fact it is possible to use any ActiveX Control to an ActivexDLL project.

    You add a form, and then add the control to the form. Now when you need to use the control, load the form using Load statement. But don't show it. Now you may refer to the control as: Form.Control

    Another way is to add the control dynamically to any of the forms of the project.

    It is not a good idea to use activex controls in your activex Dll project. There are COM components available that will work like the Winsock Control, you may consider using one of them.
    Abu Haider
    ____________________________
    100% Data Validation for the MS DataGrid Control. Plus Support for Custom and Foreign Lists, DatePicker and much more...
    The DataGridEnhancer


    I often point to a place where the problem has been discussed, instead of giving you the code that solves it. This is for good, may be you will understand some day...

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