I'm trying to convert an .mxd file from an older version to ArcMap 10. The old version had two simple VBA scripts attached to toolbar buttons. I am trying to convert this .mxd to ArcMap 10. For deployment reasons I would like to maintain everything in a single file. I would also like to continue using toolbar buttons to run the scripts.
I thought all I would have to do is convert the VBA code to Python. It's apparently not that simple. Can someone please explain whether the following is possible in ArcMap 10 (seems like it should be since it was simple in previous versions):
- single .mxd (no extra .tbx or .py files)
- two custom toolbar buttons
- click button1 and it runs some_python_function_1
- click button2 and it runs some_python_function_2