please dont rip this site

Installing procedures for using Microsoft's Mswinsock

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/21 09:25, owner: THOSEY-WORLDNET-,
TOP NEW HELP FIND: 
3.128.171.192: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://techref.massmind.org/techref/os/win/instMSwinsock.htm"> Installing procedures for using Microsoft's Mswinsock</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to techref.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .