Register ocx file in winxp
I am trying to register a .ocx file in windows xp (msinet.ocx this is a built in component of vb6). i developed a program in excel that requires a certain report to be ftp'd in the server.The users unfortunately dont have VB6 on their workstations. Upon installing the program, users must place a copy of the .ocx file to a specific directory. I am planning to create a batch program to do this but i don't know how to register the ocx. MS Excel cannot recognize the control even it is in the right directory unless it's registered.
do you have any suggestions pls?
Re: Register ocx file in winxp
Please read Installation Problems in my signature.
Re: Register ocx file in winxp
You'd better prepare an installation script with "Package and Deployment Wizard" for users to install the program.
If you want to register the ocx manually, you can use "regsvr32 msinet.ocx" and you must give full path of ocx in the line like "regsvr32 c:\Test\msinet.ocx"
Edit : Sorry for rpt..
Re: Register ocx file in winxp
I've made apps for people with WinXP and I just put the ocx's in the Win\Sys folder. I didn't have to register them, the apps work perfectly without.
Your msinet.ocx will need to be in the Win\Sys folder not App folder.
Don't forget you may need Admin rights on Win2k/XP machines. ;)
Re: Register ocx file in winxp
Moved to Application Deployment.
Re: Register ocx file in winxp