I have been able to get my mail program to work finally using Mswinsck.ocx as a reference file. This works great on the machine I am developing on because this has already been registered. When I go to a WinNT computer the Mswinsck.ocx is not registered so I can not create the winsock object.

How do I register this object using the package deployment wizard or can't I?

Is there a way to include a form in a class so that I can add the Winsock control to the form and reference that in the class?

Is there a way to send a very simple mail message using straight APIs from Wsock32.dll?


Again I am trying to package this all in a class to be used in other projects as well.

I can provide the class code if you need it.

Thanks