Macro deployment
Macro deployment
(OP)
Hi:
Im trying to deploy some catvba macros (with userforms) with a catalog according to Mike Berry's deployment instructions. By this moment I've tried every workaround possible without success. The best result so far is when the catscript is opened with the catalog, then the attached error appears, click ok, and the macros window opens allowing to select the catvba macro. Is there someone here that can call a catvba macro with a catalog without errors.
The macros and catalog are placed in a server that every user can access. When I open the catalog and call the macro there's no problem, the problem comes when any other user try to do it.
Any help is welcome and appreciated.
Im trying to deploy some catvba macros (with userforms) with a catalog according to Mike Berry's deployment instructions. By this moment I've tried every workaround possible without success. The best result so far is when the catscript is opened with the catalog, then the attached error appears, click ok, and the macros window opens allowing to select the catvba macro. Is there someone here that can call a catvba macro with a catalog without errors.
The macros and catalog are placed in a server that every user can access. When I open the catalog and call the macro there's no problem, the problem comes when any other user try to do it.
Any help is welcome and appreciated.





RE: Macro deployment
They have to set same path for macro libraries like yours.
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Macro deployment
RE: Macro deployment
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Macro deployment
RE: Macro deployment
Looks like something is not define properly in Line 29... Can you share some part of the code?
indocti discant et ament meminisse periti
RE: Macro deployment
CODE -->
Also, I dont know if having all the code in the form has something to do with the error (all the code is within the form instead of in individual modules).
Thanks again for your excellent support!!!
RE: Macro deployment
If you are using Win7 with 64bit, catvba won't work.
Ask your IT to install Catia with 32bit.
Regards,
Sundeep
RE: Macro deployment
I dont know if you're refering to the fact that the deployment doesnt work because Im programming in Windows 7 64 bit and then copying the code in Windows vista is working perfect.
RE: Macro deployment
In my case, I saw users which had defined in same way like me the path to a certain location/server and for others in a different way (for example they don't have E drive...).
This depends on how your IT guys did the network connections. I saw also some other cases when they didn't install vba at all...or registration for CATScript and catvbs was done by default to DELMIA and not CATIA...
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Macro deployment