Altova MapForce 2024 Professional Edition

Method: Exec (nCmdID as long) as boolean


Dispatch Id: 8



Exec calls the MapForce command with the ID nCmdID. If the command can be executed, the method returns true. This method should be called only if there is currently an active document available in the application.


To get commands organized according to their menu structure, use the MainMenu property of MapForceControl. To get toolbar commands, use the Toolbars property of the MapForceControl.


© 2018-2024 Altova GmbH