Catia V5 Macro - Register VBA References

Catia V5 Macro - Register VBA References

Please read Liability Disclaimer and License Agreement CAREFULLY

This is a small bat file that is copying the references stored in current folder to specific Windows folders an then register the files in Windows OS.

Register VBA References

You can access then all these tools in you VBA project by going in to Tools, References and check the boxes for the ones you need

@echo off
echo Hello, this bat file was created by Grozea Ion for in order to add more
echo functionality to catia V5 VBA
echo Press Enter to install end register MSCOMCTL.OCX and MSCOMCTL.OCX
echo in C:\Windows\SysWOW64\

pause
COPY %~dp0MSCOMCTL.OCX C:\Windows\SysWOW64
C:\Windows\SysWOW64\regsvr32.exe MSCOMCTL.OCX
COPY %~dp0Comctl32.ocx C:\Windows\SysWOW64
C:\Windows\SysWOW64\regsvr32.exe Comctl32.ocx
COPY %~dp0webvw.dll C:\Windows\SysWOW64
C:\Windows\SysWOW64\regsvr32.exe webvw.dll
COPY %~dp0picclp32.ocx C:\Windows\SysWOW64
C:\Windows\SysWOW64\regsvr32.exe picclp32.ocx

You can download the tool as well some references controls from here

Comments powered by CComment