If I change the RunMacro() by RunUIMacro() the error changes too. Now I got the following error message:
"Couldn't find the UI database" What about now? --- In [email protected], [email protected] wrote: > > Hi: > You should use RunUIMacro(), not RunMacro(). This lets you specify > exactly the UI in which the macro you want to run is located, in this > case "gis_ui". > Example: > objMaptitude.RunUIMacro("G30 new layer settings", "gis_ui") > Maptitude Mapping Software <http://www.caliper.com> Group Moderator > > --- In [email protected], "ivanmf_iimf" > <ivan.marcelo.ferreira@> wrote: > > > > I'm using Maptitude 6.0 Version 2012 Build 1120 32-bit > > > > --- In [email protected], [email protected] > wrote: > > > > > > Hi: > > > What version of Maptitude are you running? > > > Maptitude Mapping Software <http://www.caliper.com> Group > Moderator > > > > > > --- In [email protected], Ivan Marcelo Ferreira > > > <ivan.marcelo.ferreira@> wrote: > > > > > > > > Hi! > > > > > > > > We are trying to run a macro called 'G30 new layer default > settings' > > > via > > > > Delphi with DCOM. > > > > So when I run the following code, the program returns an error > > > "Function > > > > undefined". > > > > > > > > RemoteMapObject.RunMacro('G30 new layer default settings', > layerName); > > > > > > > > How can I solve the problem? > > > > > > > > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Maptitude/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/Maptitude/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
