Hi,<br>
<br>
No this doesn't work. The MS Winsock control cannot be used like this.<br>
<br>
To confirm try it and you get errors about the object no being initialised when trying to access its methods/properties.<br>
<br>
However, I have a Class module that does this now and I'll mail to...
Try something like:<br>
<br>
USING_CONVERSION;<br>
TCHAR* myStr = W2A(yourBSTR);<br>
<br>
Look up W2A and other ATL "string conversion macros" under the MSDN.
Hmmm. Not entirely sure whether there is something more specific but heres a couple of ways I can think of:<br>
<br>
1. Ensure the SQL7 database uses TCP/IP and create a DSN entry on the machine with the Access database. Then simply use ADO to perform the synchronisation from your VB app (make...
If you want to restrict access to parts of the same website there are several ways to do it depending on some factors:<br>
<br>
1. NT Challenge / Response:<br>
If potential viewers will use NT machines only, implement standard NTFS security on the directory (or even specific files), go to the...
Hi,<br>
<br>
Can the winsock control be used in a Class module? If not, can I still (somehow) use it in an ActiveX DLL? And if not can someone tell me where / how / what I can use to make TCP/IP connections to a server from an ActiveX DLL.<br>
<br>
TIA.<br>
<br>
Seyed.
Hi,<br>
<br>
Can the winsock control be used in a Class module? If not, can I still (somehow) use it in an ActiveX DLL? And if not can someone tell me where / how / what I can use to make TCP/IP connections to a server from an ActiveX DLL.<br>
<br>
TIA.<br>
<br>
Seyed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.