
Possibly a stupid question about winsock control
I am working on an NT/95/98 login script (using
VBScript) that will be
run from a netlogon share whenever a user logs in to our NT domain. I
need to have access to the machine's IP address, and have been trying
to use the Winsock control's LocalIP property. Unfortunately, the
majority of the users' machines do not have the file mswinsck.ocx on
them, and even when I put this file into the winnt\system32 or
windows\system directory, I get an error when my script tries to
create an object of type MSWinsock.Winsock. I have the mswinsck.ocx
in the netlogon share where my .vbs script is run from, too. What do
I need to do in order to use the control? I'm not opposed to writing
a program to copy the .ocx file down onto the local machine and
registering it, but I don't know what needs to be done. Can anyone
help me? What do I have to do to get this stupid thing working!!??!!
Thanks!!!
Carla Gaskins