That is correct, and the map.Open line is no longer needed. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Creating-batch-process-to-produce-DWF-s-code-bombing-out-tp7102657p7113392.html Sent from the MapGuide Users mailing list archive at Nabble.com.