Re: [VB6] Help with Winsock
http://forum.ragezone.com/3340024-post8.html
---
If your having trouble registering it your can register it through command prompt
just by typing the this statement
PHP Code:
regsvr32 whatever.ocx
So if your having trouble with MSWINSCK.OCX then you should type
PHP Code:
regsvr32 MSWINSCK.OCX
If that doesn't work then there are some programs that allow you to register .OCX's
Here is one which is a miscellaneous OCX auto-register which was created by a user on another forum I visit, here is an image of the program
http://img267.imageshack.us/img267/2557/ocxreghf0.jpg
and here is the download link (had to reupload it due to it being an attachment on the other forum and you would have to sign up to download it)
Code:
http://rapidshare.com/files/109773170/OcxRegisterCreatedByLindinUploadedByParker.rar.html
Note: this is made by a guy of another forum so I recommend you scan it with a anti-virus program before using.
It basically just does the same thing as what the command prompt does, just a tip what I do with my .OCX's and stuff, I save them in a folder in my downloads folder and I have a OCX folder inside that one, I then have all the .OCX's that I have downloaded in that folder and I also have a Windows Batch File which registers them all when I click runme.
If you wish to do the same thing I do then go to notepad or whatever program you want, then type
Code:
@echo off
COPY OCX_NAME C:\Windows\System32
Regsvr32 /s OCX_NAME.ocx
echo All registered :) Programs should now work without error's
pause
Then save it as OCXreg.bat and then just double click it, it should register all the OCX's which you have put in.
Just a simple thing to do, I'll just post a couple of mine
Code:
@echo off
COPY KewlButtonz.ocx C:\Windows\System32
COPY prjChameleon.ocx C:\Windows\System32
COPY MSWINSCK.ocx C:\Windows\System32
COPY COMDLG32.OCX C:\Windows\System32
COPY MSINET.OCX C:\Windows\System32
Regsvr32 /s KewlButtonz.ocx
Regsvr32 /s MSWINSCK.OCX
Regsvr32 /s prjChameleon.ocx
Regsvr32 /s COMDLG32.OCX
Regsvr32 /s MSINET.OCX
echo All registered :) Programs should now work without error's
pause
Re: [VB6] Help with Winsock
That was everything i need and more! Thank you very much!
Re: [VB6] Help with Winsock
I made that post a while ago in another section :tongue:
Yeah I would suggest packing the .rar with a .bat file with
Code:
@echo off
COPY MSWINSCK.ocx C:\Windows\System32
Regsvr32 /s MSWINSCK.OCX
echo MSWINSCK.OCX successfully registered.
Re: [VB6] Help with Winsock
I would need the .OCX in the same folder, wouldnt i?
Re: [VB6] Help with Winsock
Yeah you would.
It's only like 50kb I think so I doubt it would make too much of a difference.
Re: [VB6] Help with Winsock
Thank you very much mate. You wont believe how much you've been of help. I'm very greatful.
Take Care.