Solved

Winsock in ACtiveX DLL

Posted on 2004-08-19
3
417 Views
Last Modified: 2013-11-13
Experts,

I am writing an ActiveX DLL and want to use Winsock Control in this DLL. How can I go about doing this. If not possible what do you suggest.
Using VB6.


Thanks
0
Comment
Question by:hkaraman
3 Comments
 
LVL 3

Expert Comment

by:realrael
ID: 11849188

if i understand your query right, wouldn't that be as simple as adding the winsock control component in your activex dll project?

project -> components -> check the microsoft winsock control.

then use the component in code...

dim w as Winsock

- rael
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 11852000
In order you use the Winsock control in a DLL, you will have to add a form to the project and drop a winsock control onto it.  Then just call its methods as you would normaly.
0
 
LVL 8

Accepted Solution

by:
mladenovicz earned 500 total points
ID: 11858223
I am using class module that replaces Winsock control. Check this:

http://www.vbip.com/winsock-api/csocket-class/csocket-class-01.asp
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now