|
Posted by lblr33 on May 8, 2006, 5:23 pm
Please log in for more thread options
I want to start the RPC server from the project startup script so I can
add themes from an aml using the IAC commands.
This is in the startup script:
RPCServer.Start (0x4FFF0001, 1)
This is in the aml:
&s svrId [IACCONNECT localhost 0x4FFF0001 1 status]
If I open the project using arcview proj1.apr and then run the aml -
the IACCONNECT command returns a status of 109.
If I open the project using arcview proj1.apr, manually run the startup
script and then run the aml it works fine.
If I start arcview and then open an existing project it works fine.
The problem is that this is an application so we don't want to have the
user manually run a script every time they open their project.
I found a 2002 post on this exact topic but without any resolutions
unfortunatly...
http://groups.google.com/group/comp.soft-sys.gis.esri/browse_thread/thread/da68d35a04697b49/f91263bbda25b653?q=rpcserver&rnum=1#f91263bbda25b653
I am running ArcView 3.3 on Windows 2000 Professional.
Thanks.
|