|
-
Oct 9th, 2001, 12:21 PM
#1
Thread Starter
Fanatic Member
Winsock
Can you add a winsock control to an Active X dll?
-
Oct 11th, 2001, 08:48 AM
#2
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|