Microsoft ships a license key with Visual Basic for the mswinsck.ocx so that a programmer using VB is able to easily use this ActiveX in his or her own program. So in other words there is a licensing key so that a programmer can develop with this product under a full version of Visual Basic. Once that programmer writes a program with VB they produce a setup file for distribution. Once this program is installed on a users computer it dose not need the license file since the user is not registered or has not paid money to big brother Bill at Microsoft. This really causes a problem when you could be developing with this ActiveX control and using it in VBScript or JavaScript. So I am going to show you how to install a license on your computer and register the ActiveX file along with the supporting files. This will allow you to try out the demos that I have supplied called Lessons 1, Lesson 2, & Lesson 3.
Note: This has only been tried on a Win98 machine. If you have any questions please contact me at thosey@worldnet.att.net .
Okay first you need to download the UDP.zip file. Once you have done this you will want to unzip it to a folder. All you have to do is execute the WINSCK.BAT file and it should self install everything as long as your directory structure is the same. If your directory structure is not the same then you will need to make appropriate changes to the file. Here is a listing of the file.
COPY MSWINSCK.OCX, C:WINDOWSSYSTEM
COPY COMCAT.DLL, C:WINDOWSSYTEM
COPY MSWINSCK.OCA, C:WINDOWSSYSTEM
COPY WINSOCK.REG, C:WINDOWSSYSTEM
CD C:WINDOWSSYSTEM
REGSVR32 MSWINSCK.OCX
REGSVR32 COMCAT.DLL
COPY should be self explanatory, it copies the files from the folder you are executing from to the c:windowssystem directory. You may need to make changes to this if say your windows directory is called winsystem or your hard drives name is j:.
REGSVR32 XXXXX.OCX OR XXXXX.DLL
This simply registers your files in the correct place in the windows registry.
After this file executes and the confirmation dialog box's come up and you close them then you want to install the license to be able to develop with the winsock.ocx by double clicking winsock.reg file. You will get a dialog box that asks if you want to add this to the registry, simply press yes. Then you should see a dialog box that says it has been successfully added to the registry.
You are now ready to try the next lesson of using the ActiveX Winsock and VBScript to send UDP to and from the SX Stack.
Hope you all enjoy.
Timothy Hosey
See also:
See:
Comments:
Questions:
Code:
file: /Techref/os/win/instMSwinsock.htm, 5KB, , updated: 2013/4/10 07:22, local time: 2024/11/17 06:33,
owner: THOSEY-WORLDNET-,
18.224.57.86:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/os/win/instMSwinsock.htm"> Installing procedures for using Microsoft's Mswinsock</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.