CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    Is it possible to add a Winsock control at run time?

    Im creating an array of winsock controls, I can place the first instance at design time and then create and kill more instances programmatically, however, I want to be able to create the 1st instance programmatically, is it possible???


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Is it possible to add a Winsock control at run time?

    yes, it is possible.
    use the Add method of the Controls collectÃ*on.


  3. #3
    Join Date
    May 1999
    Posts
    3,332

    Re: Is it possible to add a Winsock control at run time?

    sample

    Licenses.Add "MSWinsock.winsock.1"

    me.Controls.Add "MSWinsock.winsock.1", "s1"





  4. #4
    Join Date
    Feb 2000
    Posts
    149

    Re: Is it possible to add a Winsock control at run time?

    Thank you very much Lothar


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

Featured