﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Manifold Community Site Area: Scripting</title><link>http://forum.manifold.net/forum/a2</link><description>Writing scripts, web sites and programming external applications.</description><image><url>http://forum.manifold.net/forum/images/img-feedhead.png</url><title>Manifold Community Site Area: Scripting</title><link>http://forum.manifold.net/forum/a2</link></image><item><title>IMS development resources</title><link>http://forum.manifold.net/forum/t76363</link><description>&lt;P&gt;I have a working IMS up and running, but I want to develop more features. http://maps.clearview.ca&lt;/P&gt;&lt;P&gt;Can anyone suggest some books or resources to help with development of tools for the IMS?&lt;/P&gt;&lt;P&gt;I was thinking of a good ASP, HTML and Java Script book. &lt;/P&gt;&lt;P&gt;I have almost no programming experience except in SQL and VBA, so I feel like I should start from the beginning and work my way up.&lt;/P&gt;&lt;P&gt;Let me know.&lt;/P&gt;</description><dc:creator>clearviewgis</dc:creator><comments>http://forum.manifold.net/forum/t76363</comments><guid>http://forum.manifold.net/forum/t76363</guid><pubDate>Mon, 05 Jan 2009 07:41:31 GMT</pubDate></item><item><title>IMS Map Fade in effect</title><link>http://forum.manifold.net/forum/t73524</link><description>&lt;P&gt;&lt;SPAN&gt;Attached is a default IMS export with some additional code inserted to nicely fade in the IMS map image on loading (attachment if 450k). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enjoy!&lt;/SPAN&gt;&lt;/P&gt;&lt;p class='file'&gt;Attachments:&lt;br&gt;&lt;a href='http://forum.manifold.net/Attachments/35/73525/IMS FADE MAP EFFECT.zip'&gt;&lt;img src='images/dwn-http.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;a href='ftp://forum.manifold.net/attachments/35/73525/IMS FADE MAP EFFECT.zip'&gt;&lt;img src='images/dwn-ftp.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;span&gt;IMS FADE MAP EFFECT.zip&lt;/span&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator>danb</dc:creator><comments>http://forum.manifold.net/forum/t73524</comments><guid>http://forum.manifold.net/forum/t73524</guid><pubDate>Tue, 04 Nov 2008 14:52:46 GMT</pubDate></item><item><title>IMS Background color change</title><link>http://forum.manifold.net/forum/t76325</link><description>&lt;P&gt;Hello all and Happy new year!&lt;/P&gt;&lt;P&gt;Is there way to change the background color in the IMS?&lt;/P&gt;&lt;P&gt;I know you can do it via the Manifold professional program settings, however, if you want the background color to chage in a IMS is there a line of script that you can change or write that will create the desire effect?&lt;/P&gt;</description><dc:creator>Donmap</dc:creator><comments>http://forum.manifold.net/forum/t76325</comments><guid>http://forum.manifold.net/forum/t76325</guid><pubDate>Sun, 04 Jan 2009 03:35:04 GMT</pubDate></item><item><title>loading a form</title><link>http://forum.manifold.net/forum/t76250</link><description>&lt;P&gt;i am trying to load a form when i click on a drawing , well as far as i have studied we can load an object with a script using &lt;/P&gt;&lt;P&gt;Create a VBScript script named OnClick and enter the following script:&lt;/P&gt;&lt;P&gt;Sub Main&lt;/P&gt;&lt;P&gt;If EventArgs.HasObject Then&lt;/P&gt;&lt;P&gt;Application.MessageBox EventArgs.Object.ID, &amp;quot;Clicked Object&amp;quot;&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;this code opend an message with the object Id selected.&lt;/P&gt;&lt;P&gt;i am able to load the drawing table into form and view the record... &lt;/P&gt;&lt;P&gt;but the only thing which i am unable to do is that load the form when i click the drawing anywhere...&lt;/P&gt;&lt;P&gt;waiting for your help...&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;P&gt;&lt;IMG SRC='images/emo-smile.gif'&gt;&lt;/P&gt;</description><dc:creator>MohsinQasim</dc:creator><comments>http://forum.manifold.net/forum/t76250</comments><guid>http://forum.manifold.net/forum/t76250</guid><pubDate>Tue, 30 Dec 2008 04:17:07 GMT</pubDate></item><item><title>Problem connecting to postgres from .HTA application</title><link>http://forum.manifold.net/forum/t75942</link><description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i'm at it again with more questions for the ready and willing.&lt;/P&gt;&lt;P&gt;okay, so i have this script which connects to postgreSQL database and imports drawings at multiple points during its execution. it was working perfectly.&lt;/P&gt;&lt;P&gt;i thought it would be neat to add a UI for it as there are some choices to be made before it can be run, so i wrapped it in an HTML Application (HTA). &lt;/P&gt;&lt;P&gt;now, for some reason, it doesn't want to connect to the database anymore. i have researched the issue to the fullest extent of my abilities and now must call out to the tech savvy. &lt;/P&gt;&lt;P&gt;when run from the HTA wrapper, the following code throws this: &lt;STRONG&gt;ERROR: Cannot connect to the data source&lt;/STRONG&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;SET&lt;/span&gt;&amp;#160;ds&amp;#160;=&amp;#160;doc.NewDataSource()&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ds.ConnectionType&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;PostgreSQL&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ds.ConnectionString&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;host='myHost'&amp;#160;port='5433'&amp;#160;user='tcrow'&amp;#160;password='myPwd'&amp;#160;dbname='myDB'&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ds.importDrawing(&lt;span class=s&gt;&amp;quot;public.tableName.geometry&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P&gt;if i change the above code to the following it throws this: &lt;STRONG&gt;ERROR: relation &amp;quot;GDB_GeomColumns&amp;quot; does not exist; Error while executing the query&lt;/STRONG&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;SET&lt;/span&gt;&amp;#160;ds&amp;#160;=&amp;#160;doc.NewDataSource()&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ds.ConnectionType&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;ODBC&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ds.ConnectionString&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;Dsn=PostgreSQL30;database=myDB;server=myServer;port=5433;uid=tcrow;pwd=myPwd&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;ds.probe&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;ds.importDrawing(&lt;span class=s&gt;&amp;quot;public.tableName.geometry&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P&gt;the server logs confirmed that with the latter code, i was connected. also, i noticed and confirmed that this error &lt;STRONG&gt;&amp;quot;GDB_GeomColumns&amp;quot;&lt;/STRONG&gt; is thrown regardless of a successful import, for reference see this thread &lt;A HREF='http://69.17.46.171/forum/t68848.7'&gt;http://69.17.46.171/forum/t68848.7&lt;/A&gt;. i dunno. the script worked great as a standalone .vbs, the &lt;STRONG&gt;&lt;U&gt;ONLY &lt;/U&gt;&lt;/STRONG&gt;thing that has changed is that the code is now executed on button's on_click event in the HTA application.&lt;/P&gt;&lt;P&gt;HTA leverages IE to provide a graphical user interface but runs in a seperate process called mshta.exe&lt;/P&gt;&lt;P&gt;i also get the same result when having the .hta launch a .bat file which in turn launches the original vbs file&lt;/P&gt;&lt;P&gt;so question 1 is: regarding the first code, what would keep me from connecting to the database? &lt;/P&gt;&lt;P&gt;question 2: regarding the second code, once connected, what would keep me from importing the drawing? &lt;/P&gt;&lt;P&gt;question 3: is the problems with the hta, what about the hta would prevent this?&lt;/P&gt;</description><dc:creator>t-crow</dc:creator><comments>http://forum.manifold.net/forum/t75942</comments><guid>http://forum.manifold.net/forum/t75942</guid><pubDate>Fri, 19 Dec 2008 14:06:50 GMT</pubDate></item><item><title>Is there a way to use Geom in memory to construct a SQL query?</title><link>http://forum.manifold.net/forum/t76253</link><description>&lt;P&gt;When we select GEOMS by using Geom from other drawing, it will work.  Now, we want to use a Geom in memory to do the query.  How to construct such a SQL query?  We would like to provide the users with a selection function by using a window.  Thanks, SW&lt;/P&gt;</description><dc:creator>sqwang</dc:creator><comments>http://forum.manifold.net/forum/t76253</comments><guid>http://forum.manifold.net/forum/t76253</guid><pubDate>Tue, 30 Dec 2008 05:21:06 GMT</pubDate></item><item><title>Active column creating a text string from 2 other columns</title><link>http://forum.manifold.net/forum/t76167</link><description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;How can I write a vbscript in an active column that takes the value of 2 columns in a table ( one colum is text, the second is integer ), and merge them as a single text string in the active column.&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Chris Lang&lt;/P&gt;</description><dc:creator>chris lang</dc:creator><comments>http://forum.manifold.net/forum/t76167</comments><guid>http://forum.manifold.net/forum/t76167</guid><pubDate>Fri, 26 Dec 2008 08:44:04 GMT</pubDate></item><item><title>Import component by script without Copy method or UI scripting</title><link>http://forum.manifold.net/forum/t76116</link><description>&lt;P&gt;Is it possible to import a manifold component from another .map file using VB script without using the Copy method or UI scripting?&lt;/P&gt;&lt;P&gt;i.e. is there a method of the importer object to import a specified component from a manifold project?&lt;/P&gt;</description><dc:creator>firsttube</dc:creator><comments>http://forum.manifold.net/forum/t76116</comments><guid>http://forum.manifold.net/forum/t76116</guid><pubDate>Tue, 23 Dec 2008 11:12:19 GMT</pubDate></item><item><title>SQL Linked Drawing Query woes</title><link>http://forum.manifold.net/forum/t76129</link><description>&lt;P&gt;Hi, I am having trouble running a query set up in Manifold from within my web application. The setup in Manifold is a linked drawing ('Accidents') to an external SQL database. A query is set up called 'SelectAccidents' which interrogates this drawing for matches. A second linked drawing is created that is linked to the result of the query and is a layer within my map.&lt;/P&gt;&lt;P&gt;In Manifold, I can run the query and then refresh drawing2 to see the results in the map. When I try and run this in my web application, I get nothing returned. The Accidents drawing used to be a static table and this worked fine. It is only since I have been trying to use 'Accidents' as a linked table to SQL that I have been having problems. The Below is the snippet of code I am using and I would appreciate any thoughts or ideas anyone has:&lt;/P&gt;&lt;P class='code'&gt;[code]&lt;/P&gt;&lt;P&gt;else if (command == &amp;quot;query&amp;quot;) {&lt;/P&gt;&lt;P&gt;var TempDataset1 = mapserver.Document.ComponentSet(&amp;quot;Drawing2&amp;quot;);&lt;/P&gt;&lt;P&gt;mapserver.Query(&amp;quot;SelectAccidents&amp;quot;, queryPars, true, true);&lt;/P&gt;&lt;P&gt;TempDataset1.Refresh();&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;</description><dc:creator>Ross</dc:creator><comments>http://forum.manifold.net/forum/t76129</comments><guid>http://forum.manifold.net/forum/t76129</guid><pubDate>Wed, 24 Dec 2008 02:21:36 GMT</pubDate></item><item><title>CoInitialize Error in VBS when trying to copy component</title><link>http://forum.manifold.net/forum/t76114</link><description>&lt;P&gt;I am getting a CoInitialize error on the Copy line when I run this VB script from Windows Explorer:&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=c&gt;'vbscript&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;app&amp;#160;=&amp;#160;CreateObject(&lt;span class=s&gt;&amp;quot;Manifold.Application&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;doc1&amp;#160;=&amp;#160;app.NewDocument(&lt;span class=s&gt;&amp;quot;C:\map1.map&amp;quot;&lt;/span&gt;,&amp;#160;&lt;span class=k&gt;False&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;doc2&amp;#160;=&amp;#160;app.NewDocument(&lt;span class=s&gt;&amp;quot;c:\map2.map&amp;quot;&lt;/span&gt;,&amp;#160;&lt;span class=k&gt;False&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;comps1&amp;#160;=&amp;#160;doc1.Componentset&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;comps2&amp;#160;=&amp;#160;doc2.Componentset&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;for&lt;/span&gt;&amp;#160;&lt;span class=k&gt;each&lt;/span&gt;&amp;#160;comp1&amp;#160;&lt;span class=k&gt;in&lt;/span&gt;&amp;#160;comps1&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;comp1.Type&amp;#160;=&amp;#160;3&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;for&lt;/span&gt;&amp;#160;&lt;span class=k&gt;each&lt;/span&gt;&amp;#160;comp2&amp;#160;&lt;span class=k&gt;in&lt;/span&gt;&amp;#160;comps2&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;comps1.Remove(comp1.Name)&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;comp2.Copy&amp;#160;&lt;span class=k&gt;False&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;doc1.Paste&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;next&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;next&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;msgbox&amp;#160;&lt;span class=s&gt;&amp;quot;Done&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P&gt;There are a few threads on the board about this regarding the windows clipboard, but I can't find a solution that works in VBS.  Any help is appreciated.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description><dc:creator>firsttube</dc:creator><comments>http://forum.manifold.net/forum/t76114</comments><guid>http://forum.manifold.net/forum/t76114</guid><pubDate>Tue, 23 Dec 2008 10:09:31 GMT</pubDate></item><item><title>Can't create forms in 64bit mode</title><link>http://forum.manifold.net/forum/t75965</link><description>&lt;P&gt;I seem to be unable to create any forms when running Manifold 8.0.11.0 Ultimate in 64-bit mode. I can create the form component, but I am unable to draw any widgets on the form, itself. Selecting the widget drawing tools works, and I can drag the mouse to &amp;quot;draw&amp;quot; where the widget should go, but then nothing happens: the widget does not appear and no code shows up in the form's script window. If I restart in 32-bit mode, it all works perfectly. I can add widgets to the form until my heart is content..&lt;/P&gt;&lt;P&gt;Has anyone else experienced this? Or have any clues into what might be going on?&lt;/P&gt;&lt;P&gt;It's been a while since I've created a form in Manifold, so I don't know if this is new to my 8.0.11.0 install, or if it started earlier.&lt;/P&gt;&lt;P&gt;In case it matters, I'm on Vista Business, 64 bit, Core 2 Quad, 8 GB RAM.&lt;/P&gt;</description><dc:creator>mechalas</dc:creator><comments>http://forum.manifold.net/forum/t75965</comments><guid>http://forum.manifold.net/forum/t75965</guid><pubDate>Sat, 20 Dec 2008 08:43:50 GMT</pubDate></item><item><title>Dissolve query odd result</title><link>http://forum.manifold.net/forum/t75915</link><description>&lt;P&gt;I have the following query that effectively dissolves areas by a specified field.  I then link a drawing to this query.  The Parks drawing is linked from SQL Server using WKB geometry.  It does not seem to matter if this drawing is linked or not.&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=c&gt;--SQL&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;options&lt;/span&gt;&amp;#160;&lt;span class=k&gt;coordsys&lt;/span&gt;(&lt;span class=s&gt;&amp;quot;Parks&amp;quot;&lt;/span&gt;&amp;#160;&lt;span class=k&gt;as&lt;/span&gt;&amp;#160;&lt;span class=k&gt;component&lt;/span&gt;);&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;select&lt;/span&gt;&amp;#160;&lt;span class=i&gt;[ParkName]&lt;/span&gt;,&lt;/P&gt;&lt;P class='code'&gt;Normalize(AllBranches(assigncoordsys(&lt;span class=i&gt;[Geom&amp;#160;(I)]&lt;/span&gt;,&lt;span class=k&gt;coordsys&lt;/span&gt;(&lt;span class=s&gt;&amp;quot;Parks&amp;quot;&lt;/span&gt;&amp;#160;&lt;span class=k&gt;as&lt;/span&gt;&amp;#160;&lt;span class=k&gt;component&lt;/span&gt;))))&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;from&lt;/span&gt;&amp;#160;&lt;span class=i&gt;[Parks]&lt;/span&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;group&lt;/span&gt;&amp;#160;&lt;span class=k&gt;by&lt;/span&gt;&amp;#160;&lt;span class=i&gt;[ParkName]&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I notice that in the query results table, some of the records have no Geom.  I cannot see anything in the original &amp;quot;Parks&amp;quot; drawing that would indicate why this is happening for these records.  Does anyone have any ideas why some of the Geoms do not appear?&lt;/P&gt;</description><dc:creator>firsttube</dc:creator><comments>http://forum.manifold.net/forum/t75915</comments><guid>http://forum.manifold.net/forum/t75915</guid><pubDate>Fri, 19 Dec 2008 06:36:58 GMT</pubDate></item><item><title>script to export all shapefiles</title><link>http://forum.manifold.net/forum/t75860</link><description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I tried to write a quick script that would export all of my drawings to shape files. But an error pops up that says &amp;quot;Nothing to Import&amp;quot;. &lt;/P&gt;&lt;P&gt;The manifold map has many layers including Labels, Maps, Images, Drawings, Tables, Queries... There are approximentale 60 drawings that I would like to export with this script.. And when I run the script it exports 5 and then stops and gives that error. Does anyone have any ideas of what is happening or what I can do to avoid that error and let it continue and export all the drawings?&lt;/P&gt;&lt;P&gt;Thanks.. here is the script.&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Sub&lt;/span&gt;&amp;#160;Main&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;theActiveDoc&amp;#160;=&amp;#160;Application.ActiveDocument&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;Comps&amp;#160;=&amp;#160;theActiveDoc.ComponentSet&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;for&lt;/span&gt;&amp;#160;&lt;span class=k&gt;each&lt;/span&gt;&amp;#160;drawing&amp;#160;in&amp;#160;Comps&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;drawing.TypeName&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;Drawing&amp;quot;&lt;/span&gt;&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;exporter&amp;#160;drawing.Name&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;next&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;End&lt;/span&gt;&amp;#160;&lt;span class=k&gt;Sub&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Function&lt;/span&gt;&amp;#160;exporter(drawingName)&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;theActiveDoc&amp;#160;=&amp;#160;Application.ActiveDocument&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;Comps&amp;#160;=&amp;#160;theActiveDoc.ComponentSet&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;ExportSHP&amp;#160;=&amp;#160;Application.ActiveDocument.NewExport(&lt;span class=s&gt;&amp;quot;SHP&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;file&amp;#160;=&amp;#160;Comps.item(drawingName)&lt;/P&gt;&lt;P class='code'&gt;ExportSHP.Convertpolicy&amp;#160;=&amp;#160;ConvertAll&lt;/P&gt;&lt;P class='code'&gt;ExportSHP.export&amp;#160;file,&amp;#160;&lt;span class=s&gt;&amp;quot;C:\&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;file.name&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;.shp&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;Function&lt;/span&gt;&lt;/P&gt;</description><dc:creator>hailes</dc:creator><comments>http://forum.manifold.net/forum/t75860</comments><guid>http://forum.manifold.net/forum/t75860</guid><pubDate>Thu, 18 Dec 2008 09:57:15 GMT</pubDate></item><item><title>Creating a manifold class library</title><link>http://forum.manifold.net/forum/t75789</link><description>&lt;P&gt;Hi. I'm doing a manifold class library, that can convert geom to geom WKT. I have this code:&lt;/P&gt;&lt;P&gt;Dim app As Manifold.Interop.Application = &lt;B&gt;?????&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Dim geom As Manifold.Interop.Geom&lt;/P&gt;&lt;P&gt;geom = app.NewGeomFromBinary(GeomI)&lt;/P&gt;&lt;P&gt;Dim geomWKT as string = geom.ToTextWKT&lt;/P&gt;&lt;P&gt;Please tell me, how to create instance of application. Since it is a class library does not need any user interface. I know how to do it with mapserver, but then I need to build it in a web page, which is not an option, and I know how to do it in a manifold plug-in, and this is again not an option.&lt;/P&gt;&lt;P&gt;Which else options are avaliable?&lt;/P&gt;&lt;P&gt;Thank you all very much in advance.&lt;/P&gt;&lt;P&gt;Matej Cerk&lt;/P&gt;</description><dc:creator>mcerk</dc:creator><comments>http://forum.manifold.net/forum/t75789</comments><guid>http://forum.manifold.net/forum/t75789</guid><pubDate>Wed, 17 Dec 2008 02:49:33 GMT</pubDate></item><item><title>Creating a Linked Drawing as readonly from external app</title><link>http://forum.manifold.net/forum/t75754</link><description>&lt;P&gt;Background info:&lt;/P&gt;&lt;P&gt;Manifold 8.0 Professional edition&lt;/P&gt;&lt;P&gt;VS 2005&lt;/P&gt;&lt;P&gt;.NET COM add-in, which (in this case) creates a linked drawing in Manifold from an existing local source.(access table)&lt;/P&gt;&lt;P&gt;The question:&lt;/P&gt;&lt;P&gt;Can I somehow set the linked drawing as read only from code?&lt;/P&gt;&lt;P&gt;What I have so far:&lt;/P&gt;&lt;P&gt;Dim tempapp,tempdoc,tempsource&lt;/P&gt;&lt;P&gt;tempapp = New Manifold.Interop.Application&lt;/P&gt;&lt;P&gt;tempdoc = tempapp.ActiveDocument&lt;/P&gt;&lt;P&gt;tempsource = tempdoc.NewDataSource()&lt;/P&gt;&lt;P&gt;tempsource.ConnectionString = &amp;quot;C:/manifoldexample/Help/world_cities.mdb&amp;quot;&lt;/P&gt;&lt;P&gt;tempsource.ConnectionType = &amp;quot;MDB&amp;quot;&lt;/P&gt;&lt;P&gt;tempsource.LinkDrawingFromTableCoordinates(&amp;quot;Cities&amp;quot;, &amp;quot;Longitude&amp;quot;, &amp;quot;Latitude&amp;quot;, True) &lt;/P&gt;&lt;P&gt;&lt;P&gt;This works ok, but I want the drawing to be read only. I've found in the documentation that there is a property &amp;quot;LinkEditMode&amp;quot; available, but no info or examples on what and how to apply it.&lt;/P&gt;&lt;P&gt;Side-question: I've tried linking a drawing from inside Manifold, created a new data source, set it to read only via the dialog, but the drawing still appeared editable. Is this somehow related to my main question?&lt;/P&gt;If I'm missing some obvious documentation on the subject, I'd be grateful if you could point me to it.&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;</description><dc:creator>Executron</dc:creator><comments>http://forum.manifold.net/forum/t75754</comments><guid>http://forum.manifold.net/forum/t75754</guid><pubDate>Tue, 16 Dec 2008 06:48:02 GMT</pubDate></item><item><title>IE Javascript error preventing map requests</title><link>http://forum.manifold.net/forum/t75620</link><description>&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;I have a mutant webpage comprised of many javascript functions at &lt;A HREF='http://www.chamberocity.com/maps/cpfri/mainpage.asp'&gt;http://www.chamberocity.com/maps/cpfri/mainpage.asp&lt;/A&gt; which works fine in FF but returns a Object Expected Error in IE 6 &amp;amp; 7 - Thus keeping the mapserver from recieving a request for a new render. None of the tools or the scale well will successfully return a new map render in IE. Java Console in FF tells me &lt;/P&gt;&lt;P&gt;Warning: function modifyHidden does not always return a value&lt;/P&gt;&lt;P&gt;Source File: &lt;A HREF='http://www.chamberocity.com/maps/cpfri/mainpage.asp'&gt;http://www.chamberocity.com/maps/cpfri/mainpage.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Line: 429, Column: 21&lt;/P&gt;&lt;P&gt;Source Code:&lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;P&gt;and also reports:&lt;/P&gt;&lt;P&gt;Warning: reference to undefined property Stroke.DASHED&lt;/P&gt;&lt;P&gt;Source File: &lt;A HREF='http://www.chamberocity.com/maps/cpfri/mainpage.asp'&gt;http://www.chamberocity.com/maps/cpfri/mainpage.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Line: 150&lt;/P&gt;&lt;P&gt;as well as some CSS issues that I don't think are related.&lt;/P&gt;&lt;P&gt;I am NOT a script expect and despite alot of staring, research and attempts to pinpoint the error causing code I fail. I am at the mercy of those much smarter than me - Can you help?&lt;/P&gt;</description><dc:creator>bigbrain28</dc:creator><comments>http://forum.manifold.net/forum/t75620</comments><guid>http://forum.manifold.net/forum/t75620</guid><pubDate>Fri, 12 Dec 2008 09:41:13 GMT</pubDate></item><item><title>Export table to XML</title><link>http://forum.manifold.net/forum/t75479</link><description>&lt;P&gt;Are there any scripts to export an attribute table to an .XML file? It seems bizarre that with ALL of Manifold's export options that this doesn't exist. Ideas? Thanks.&lt;/P&gt;</description><dc:creator>jrgarrity</dc:creator><comments>http://forum.manifold.net/forum/t75479</comments><guid>http://forum.manifold.net/forum/t75479</guid><pubDate>Tue, 09 Dec 2008 13:12:08 GMT</pubDate></item><item><title>theme ui scripting</title><link>http://forum.manifold.net/forum/t69077</link><description>&lt;P&gt;is someone could explain why this not work . it must be the same error than the post . A &amp;quot;deep&amp;quot; explanation about thread focus gui ll be helpful . perhaps the same error than this &lt;A HREF='http://forum.manifold.net/forum/t68987.10'&gt;post&lt;/A&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=c&gt;'--vbscript&amp;#160;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Sub&lt;/span&gt;&amp;#160;Main()&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;T&amp;#160;=&amp;#160;Document.ComponentSet.Item(&lt;span class=s&gt;&amp;quot;Table&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;S&amp;#160;=&amp;#160;Document.ComponentSet.Item(&lt;span class=s&gt;&amp;quot;Drawing&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;S.Open()&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;ui&amp;#160;=&amp;#160;Application.UserInterface&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;ui.Toolbars.Item(&lt;span class=s&gt;&amp;quot;Format&amp;quot;&lt;/span&gt;).ControlSet.Item(&lt;span class=s&gt;&amp;quot;EditFormatPointForeground&amp;quot;&lt;/span&gt;).Push()&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;Dlg&amp;#160;=&amp;#160;ui.ModalDialog&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=c&gt;'Dlg.ControlSet.Item(&amp;quot;EditFormatLoadFromFile&amp;quot;).Text=&amp;quot;C:\Theme.xml&amp;quot;&amp;#160;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;Dlg.ControlSet.Item(&lt;span class=s&gt;&amp;quot;ComboBoxColumn&amp;quot;&lt;/span&gt;).Text=&lt;span class=s&gt;&amp;quot;colb&amp;quot;&lt;/span&gt;&amp;#160;&lt;span class=c&gt;'&amp;#160;&amp;quot;cola&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;Dlg.ControlSet.Item(&lt;span class=s&gt;&amp;quot;ComboBoxMethod&amp;quot;&lt;/span&gt;).Text=&lt;span class=s&gt;&amp;quot;Uniques&amp;#160;Values&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;Dlg.ControlSet.Item(&lt;span class=s&gt;&amp;quot;ComboBoxPalette&amp;quot;&lt;/span&gt;).Text=&lt;span class=s&gt;&amp;quot;Blues&amp;#160;and&amp;#160;Reds&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;Dlg.ControlSet.Item(&lt;span class=s&gt;&amp;quot;EditFormatApply&amp;quot;&lt;/span&gt;).Push()&lt;/P&gt;&lt;P class='code'&gt;Dlg.ControlSet.Item(&lt;span class=s&gt;&amp;quot;ButtonOK&amp;quot;&lt;/span&gt;).Push()&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=c&gt;'Dlg.Accept()&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;End&lt;/span&gt;&amp;#160;&lt;span class=k&gt;Sub&lt;/span&gt;&amp;#160;&lt;/P&gt;&lt;P&gt;Format is a window of name &amp;quot;Format&amp;quot; . It is a window toolbars that can be view when drawing have focus and when -tool-(menu)-customize(sub menu)-toolbars(label) -Format ( check)   is check &lt;/P&gt;&lt;P&gt;thank's for any help , link documentation &lt;/P&gt;</description><dc:creator>lionel_</dc:creator><comments>http://forum.manifold.net/forum/t69077</comments><guid>http://forum.manifold.net/forum/t69077</guid><pubDate>Fri, 01 Aug 2008 11:16:26 GMT</pubDate></item><item><title>removing characters from a field</title><link>http://forum.manifold.net/forum/t72732</link><description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a linked access table into manifold. What I need to do is find a way to script and automate the removal of dashes ( - ) that seperate the numbers in a particular field ( a la,  42-3456-234-1223 becomes 4234562341223), pretty much the same functionality that come with a table open and running find and replace on a particular field  from the edit tool bar. This is to link the dash-less number column to a drawing.&lt;/P&gt;&lt;P&gt;I was thinking that perhaps an SQL Select into a new table could be used, but I'm kinda lost when it somes to removing the dashes. Any advice would be welcome ( I believe I've seen something similar on the forums previously, but cannot find where).&lt;/P&gt;</description><dc:creator>schiggi</dc:creator><comments>http://forum.manifold.net/forum/t72732</comments><guid>http://forum.manifold.net/forum/t72732</guid><pubDate>Tue, 21 Oct 2008 12:04:45 GMT</pubDate></item><item><title>Create animation from GPS data</title><link>http://forum.manifold.net/forum/t66306</link><description>&lt;P&gt;Greetings all&lt;/P&gt;&lt;P&gt;As a very new &amp;quot;trying to learn scripting&amp;quot; member, I wonder if anyone could give me some pointers as to how I would be able to show an animation of a GPS track, one point at a time. Basically a fast forward of the path traveled. Ideally, I would like an animation of a clock showing the elapsed time against the tracked point. There will be multiple GPS data tracks, maybe upwards of 20. Hopefully we can then analyze the interaction between the various  GPS units.&lt;/P&gt;&lt;P&gt;Thanking you&lt;/P&gt;</description><dc:creator>Rakau</dc:creator><comments>http://forum.manifold.net/forum/t66306</comments><guid>http://forum.manifold.net/forum/t66306</guid><pubDate>Wed, 11 Jun 2008 00:50:52 GMT</pubDate></item><item><title>IMS map extents</title><link>http://forum.manifold.net/forum/t75490</link><description>&lt;P&gt;I'm looking for some help with a couple issues regarding the extent of an IMS map.  I'm a coding beginner, so please be easy on me!&lt;/P&gt;&lt;P&gt;I have 3 things I'm trying to accomplish:&lt;/P&gt;&lt;P&gt;1) Set the initial startup map extent&lt;/P&gt;&lt;P&gt;2) Set the maximum zoom out extent (when either the default IMS zoom out tool or zoom to fit tool is used)&lt;/P&gt;&lt;P&gt;3) Set an extent when a query is run so that more than the feature identified in the map is showing (the default zooms in too close).  My query resides in the .map file. &lt;/P&gt;&lt;P&gt;For #1, I realize I can use set-up a view in the .map file called &amp;quot;startup&amp;quot; but when I do this, the extent on my IMS is not the same as what I view in the .map file.  How do I determine what scale to set the initial start-up to?&lt;/P&gt;&lt;P&gt;For #2 and #3, based on previous postings on the forum that I've seen, I believe these are both related to the mapserver.ViewScaleX and mapserver.ViewScaleY values, but I can't find them in the default.aspx file nor do I know where to add them. &lt;/P&gt;&lt;P&gt;Any help and advice is appreciated!&lt;/P&gt;&lt;P&gt;Cayla&lt;/P&gt;</description><dc:creator>cmbuell</dc:creator><comments>http://forum.manifold.net/forum/t75490</comments><guid>http://forum.manifold.net/forum/t75490</guid><pubDate>Tue, 09 Dec 2008 14:52:05 GMT</pubDate></item><item><title>Scripting Relations from External App</title><link>http://forum.manifold.net/forum/t75371</link><description>&lt;P&gt;I have an external program that links tables on the fly. I would like to create a relation from two of these linked tables. The code I have works when I am in the GUI, but when I attempt to run this script from the external application I get the error &amp;quot;Can't launch script.&amp;quot; Any advice?&lt;/P&gt;&lt;P class='code'&gt;code&lt;/P&gt;&lt;P&gt;Sub Main()&lt;/P&gt;&lt;P&gt;Dim ui &lt;/P&gt;&lt;P&gt;Dim dlg &lt;/P&gt;&lt;P&gt;Dim tbl1 &lt;/P&gt;&lt;P&gt;set ui = Application.UserInterface &lt;/P&gt;&lt;P&gt;set comps = document.componentset &lt;/P&gt;&lt;P&gt;set tbl1 = comps(&amp;quot;1 Drawing Table&amp;quot;) &lt;/P&gt;&lt;P&gt;tbl1.open &lt;/P&gt;&lt;P&gt;ui.InvokeCommand &amp;quot;TableRelations&amp;quot; &lt;/P&gt;&lt;P&gt;set dlg = UI.ModalDialog&lt;/P&gt;&lt;P&gt;dlg.ControlSet.Item(&amp;quot;TableRelationsAdd&amp;quot;).Push()&lt;/P&gt;&lt;P&gt;set dlg = ui.ModalDialog&lt;/P&gt;&lt;P&gt;dlg.ControlSet.Item(&amp;quot;ComboBoxKeyColumns&amp;quot;).Text = &amp;quot;tbl2&amp;quot;&lt;/P&gt;&lt;P&gt;dlg.ControlSet.Item(&amp;quot;ListViewSource&amp;quot;).Text = &amp;quot;col1&amp;quot;&lt;/P&gt;&lt;P&gt;dlg.ControlSet.Item(&amp;quot;ListViewTarget&amp;quot;).Text = &amp;quot;col1&amp;quot;&lt;/P&gt;&lt;P&gt;dlg.ControlSet.Item(&amp;quot;ButtonOK&amp;quot;).Push() &lt;/P&gt;&lt;P&gt;set dlg = ui.ModalDialog&lt;/P&gt;&lt;P&gt;dlg.ControlSet.Item(&amp;quot;TableRelationsIncludeAll&amp;quot;).Push()&lt;/P&gt;&lt;P&gt;dlg.ControlSet.Item(&amp;quot;ButtonOK&amp;quot;).Push()&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;</description><dc:creator>zpsyx9</dc:creator><comments>http://forum.manifold.net/forum/t75371</comments><guid>http://forum.manifold.net/forum/t75371</guid><pubDate>Mon, 08 Dec 2008 09:45:11 GMT</pubDate></item><item><title>Why selected features do not change color?</title><link>http://forum.manifold.net/forum/t75222</link><description>&lt;P&gt;When we use Manifold.exe and select some features in a drawing, the map contains that drawing will  be refreshed and the selected features changed to red. &lt;/P&gt;&lt;P&gt;I want to do the same thing in the web application.  I use C# codes to set some records of a drawing to SELECTED.  However, the rendering results stay the same.  Any idea?&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;</description><dc:creator>sqwang</dc:creator><comments>http://forum.manifold.net/forum/t75222</comments><guid>http://forum.manifold.net/forum/t75222</guid><pubDate>Fri, 05 Dec 2008 07:40:29 GMT</pubDate></item><item><title>IMS: how to display layer and associated label as one layer in pane?</title><link>http://forum.manifold.net/forum/t70277</link><description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to display a drawing in an IMS map. This drawing has labels bound to it. I don't want the label layer to be displayed in the layer pane. But I want the label to be displayed when the drawing is shown and to be turned off when the drawing is turned off. &lt;/P&gt;&lt;P&gt;Any idea ? I can code it, but I'm wondering what is the best way to figure that. &lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;</description><dc:creator>vincent</dc:creator><comments>http://forum.manifold.net/forum/t70277</comments><guid>http://forum.manifold.net/forum/t70277</guid><pubDate>Thu, 28 Aug 2008 11:38:18 GMT</pubDate></item><item><title>Import shape with field values</title><link>http://forum.manifold.net/forum/t75203</link><description>&lt;P&gt;Hallo, with:&lt;/P&gt;&lt;P&gt;Set newShp = Document.NewImport(&amp;quot;SHP&amp;quot;)&lt;/P&gt;&lt;P&gt;newShp.Import(&amp;quot;abc.shp&amp;quot;)&lt;/P&gt;&lt;P&gt;I can import the shape without attributes. In my case I want to import a shape with its attributes (field name &amp;quot;windspeed&amp;quot;). Does somebody know how to do it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description><dc:creator>daneu</dc:creator><comments>http://forum.manifold.net/forum/t75203</comments><guid>http://forum.manifold.net/forum/t75203</guid><pubDate>Fri, 05 Dec 2008 03:40:36 GMT</pubDate></item><item><title>mapserver.CreateWithOpts syntax problem</title><link>http://forum.manifold.net/forum/t71305</link><description>&lt;P&gt;Can someone post a working syntax to create a mapserver object with mapserver.CreateWithOpts ?&lt;/P&gt;&lt;P&gt;I have tried many ways and I have search on this forum too and on Manifold.net example, it just do not work. &lt;/P&gt;&lt;P&gt;I'm using ASP.NET / Javascript. &lt;/P&gt;&lt;P&gt;Thank you !!! &lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;</description><dc:creator>vincent</dc:creator><comments>http://forum.manifold.net/forum/t71305</comments><guid>http://forum.manifold.net/forum/t71305</guid><pubDate>Thu, 18 Sep 2008 14:46:14 GMT</pubDate></item><item><title>LoadFromFile XML template works in VBscript but not JScript?</title><link>http://forum.manifold.net/forum/t75130</link><description>&lt;P&gt;Hi all - I'm trying to load a xml template via jscript (for a IMS site) but can't get it to work. I've isolated the code and run it within manifold to check it works. I can get it to work using VBscript (code below) but need it in Jscript to add into other IMS code&lt;/P&gt;&lt;P&gt;-VBscript&lt;/P&gt;&lt;P&gt;Sub Main&lt;/P&gt;&lt;P&gt;set doc = Application.activeDocument&lt;/P&gt;&lt;P&gt;set comps = doc.componentSet&lt;/P&gt;&lt;P&gt;set theLayout = comps(&amp;quot;BaseLayout&amp;quot;)&lt;/P&gt;&lt;P&gt;theLayout.LoadFromFile(&amp;quot;G:\GISMO\Layouts\BaseLayoutTemplate.xml&amp;quot;)&lt;/P&gt;&lt;P&gt;theLayout.Open()&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;This works!&lt;/P&gt;&lt;P&gt;-jScript&lt;/P&gt;&lt;P&gt;function Main() {&lt;/P&gt;&lt;P&gt;var doc = Application.activeDocument;&lt;/P&gt;&lt;P&gt;var comps = doc.ComponentSet;&lt;/P&gt;&lt;P&gt;var theLayout = comps(&amp;quot;BaseLayout&amp;quot;);&lt;/P&gt;&lt;P&gt;theLayout.LoadFromFile(&amp;quot;G:\GISMO\Layouts\BaseLayoutTemplate.xml&amp;quot;);&lt;/P&gt;&lt;P&gt;theLayout.open();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;This doesn't work - returns &amp;quot;Invalid layout template&amp;quot; which is weird as it's the same template as called in the vbscript.&lt;/P&gt;&lt;P&gt;What am I doing wrong here??&lt;/P&gt;</description><dc:creator>gpsit</dc:creator><comments>http://forum.manifold.net/forum/t75130</comments><guid>http://forum.manifold.net/forum/t75130</guid><pubDate>Wed, 03 Dec 2008 19:18:27 GMT</pubDate></item><item><title>Unknown error when trying to launch query via script</title><link>http://forum.manifold.net/forum/t75110</link><description>&lt;P&gt;hey guys,&lt;/P&gt;&lt;P&gt;i always dread seeing the &amp;quot;unknown error&amp;quot; pop up when trying to execute a script, but this one has me downright boggled. my script was working perfectly approximately a week ago and all of a sudden it doesn't want to go anymore. i have looked at the script up and down, checked my settings, etc. and i cannot find an answer. i'm hoping someone might find what i have missed or could give me some possible reasons for why i would be getting this error. i'm getting the error on the line where i try to lauch a query, so query.run() supposedly is the culprit, but after the script terminates due to failure, i can just click on the script created query and launch it without problems. :( this makes me sad. someone please help. i'm posting the code in its entirety (its not that long) bc i think the problem might exist elsewhere. basically, the script's purpose is to break shapefiles into smaller pieces that are 200km x 200km in size.&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;dim&lt;/span&gt;&amp;#160;eShp,&amp;#160;fileDir,&amp;#160;specification,&amp;#160;projection&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Sub&lt;/span&gt;&amp;#160;main&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;comms&amp;#160;=&amp;#160;Document.NewComments(&lt;span class=s&gt;&amp;quot;Debug&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;connType&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;PostgreSQL&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;server&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;xxxx&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;port&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;5433&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;username&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;xxxx&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;password&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;xxxx&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;database&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;resources&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;gridname&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;200kmGrid&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;objfso&amp;#160;=&amp;#160;createobject(&lt;span class=s&gt;&amp;quot;Scripting.FileSystemObject&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;with&lt;/span&gt;&amp;#160;objfso&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;sa&amp;#160;=&amp;#160;createobject(&lt;span class=s&gt;&amp;quot;Shell.Application&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;Set&lt;/span&gt;&amp;#160;f&amp;#160;=&amp;#160;SA.BrowseForFolder(0,&amp;#160;&lt;span class=s&gt;&amp;quot;Choose&amp;#160;a&amp;#160;folder&amp;quot;&lt;/span&gt;,&amp;#160;0,&amp;#160;&lt;span class=s&gt;&amp;quot;&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;f&amp;#160;=&amp;#160;f.Self&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;fileDir&amp;#160;=&amp;#160;.GetFolder(f.Path)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;cellDump&amp;#160;=&amp;#160;f.Path&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;\_CELLS_&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;.FolderExists(cellDump)&amp;#160;&amp;lt;&amp;#160;1&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;.CreateFolder(cellDump)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;analyzer&amp;#160;=&amp;#160;Document.NewAnalyzer&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;iShp&amp;#160;=&amp;#160;Document.NewImport(&lt;span class=s&gt;&amp;quot;SHP&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;iShp.ConvertPolicy&amp;#160;=&amp;#160;ConvertAll&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;q&amp;#160;=&amp;#160;Document.NewQuery(&lt;span class=s&gt;&amp;quot;cells&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;&amp;#160;operating_CoordSys&amp;#160;=&amp;#160;Application.NewCoordinateSystem(&lt;span class=s&gt;&amp;quot;Miller&amp;#160;Cylindrical&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;operating_Datum&amp;#160;=&amp;#160;Application.NewDatum(&lt;span class=s&gt;&amp;quot;World&amp;#160;Geodetic&amp;#160;1984&amp;#160;(WGS84)&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;operating_CoordSys.datum&amp;#160;=&amp;#160;operating_Datum&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;ds&amp;#160;=&amp;#160;Document.NewDataSource()&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;ds.ConnectionType&amp;#160;=&amp;#160;connType&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;ds.ConnectionString&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;host='&amp;quot;&lt;/span&gt;&amp;#160;+&amp;#160;server&amp;#160;+&amp;#160;&lt;span class=s&gt;&amp;quot;'&amp;#160;port='&amp;quot;&lt;/span&gt;&amp;#160;+&amp;#160;port&amp;#160;+&amp;#160;&lt;span class=s&gt;&amp;quot;'&amp;#160;user='&amp;quot;&lt;/span&gt;&amp;#160;+&amp;#160;username&amp;#160;+&amp;#160;&lt;span class=s&gt;&amp;quot;'&amp;#160;password='&amp;quot;&lt;/span&gt;&amp;#160;+&amp;#160;password&amp;#160;+&amp;#160;&lt;span class=s&gt;&amp;quot;'&amp;#160;dbname='&amp;quot;&lt;/span&gt;&amp;#160;+&amp;#160;database&amp;#160;+&amp;#160;&lt;span class=s&gt;&amp;quot;'&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;ds.ImportDrawing(&lt;span class=s&gt;&amp;quot;public.&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;gridname&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;.geometry&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;grid&amp;#160;=&amp;#160;Document.ComponentSet.Item(gridname)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;grid.ProjectTo(operating_CoordSys)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;for&lt;/span&gt;&amp;#160;&lt;span class=k&gt;each&lt;/span&gt;&amp;#160;file&amp;#160;&lt;span class=k&gt;in&lt;/span&gt;&amp;#160;fileDir.Files&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;(UCASE(.GetExtensionName(file.path))&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;SHP&amp;quot;&lt;/span&gt;)&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;iShp.Import(file.Path)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;originalImport&amp;#160;=&amp;#160;Document.ComponentSet.Item(.GetBaseName(file.Path)&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;&amp;#160;Drawing&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;originalImport.ProjectTo(operating_CoordSys)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;originalImport.Name&amp;#160;=&amp;#160;Replace(originalImport.Name,&amp;#160;&lt;span class=s&gt;&amp;quot;&amp;#160;Drawing&amp;quot;&lt;/span&gt;,&amp;#160;&lt;span class=s&gt;&amp;quot;&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;cellDir&amp;#160;=&amp;#160;cellDump&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;\&amp;quot;&lt;/span&gt;&amp;#160;&amp;#160;&amp;amp;&amp;#160;originalImport.Name&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;&amp;#160;Cells&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;.CreateFolder&amp;#160;cellDir&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;boundingCell&amp;#160;=&amp;#160;Document.NewDrawing(&lt;span class=s&gt;&amp;quot;BoundingCell&amp;quot;&lt;/span&gt;,&amp;#160;operating_CoordSys,&amp;#160;&lt;span class=k&gt;false&lt;/span&gt;)&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;analyzer.BoundingBoxes&amp;#160;boundingCell,&amp;#160;boundingCell,&amp;#160;originalImport.ObjectSet&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;analyzer.Union&amp;#160;boundingCell,&amp;#160;boundingCell,&amp;#160;boundingCell.Objectset&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;analyzer.BoundingBoxes&amp;#160;boundingCell,&amp;#160;boundingCell,&amp;#160;boundingCell.ObjectSet&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;rs&amp;#160;=&amp;#160;boundingCell.OwnedTable.RecordSet&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;rs.Remove(rs.Minimum(&lt;span class=s&gt;&amp;quot;Area&amp;#160;(I)&amp;quot;&lt;/span&gt;).Item(0))&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;analyzer.Split&amp;#160;boundingCell,&amp;#160;boundingCell,&amp;#160;boundingCell.ObjectSet,&amp;#160;grid.ObjectSet&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;boundingCell.SelectNone()&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;g&amp;#160;=&amp;#160;1&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;for&lt;/span&gt;&amp;#160;i&amp;#160;=&amp;#160;0&amp;#160;&lt;span class=k&gt;to&lt;/span&gt;&amp;#160;(boundingCell.OwnedTable.RecordSet.Count&amp;#160;-&amp;#160;1)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;eShp&amp;#160;=&amp;#160;Document.NewExport(&lt;span class=s&gt;&amp;quot;SHP&amp;quot;&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;eShp.ConvertPolicy&amp;#160;=&amp;#160;ConvertSome&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;boundingCell.ObjectSet(i).Selected&amp;#160;=&amp;#160;&lt;span class=k&gt;true&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;cellname&amp;#160;=&amp;#160;originalImport.Name&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;_CELL_&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;subCell&amp;#160;=&amp;#160;Document.NewDrawing(cellname,&amp;#160;operating_CoordSys,&amp;#160;&lt;span class=k&gt;false&lt;/span&gt;)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;colsetString&amp;#160;=&amp;#160;createColumnSet(originalImport.OwnedTable.ColumnSet,&amp;#160;subCell.OwnedTable.ColumnSet)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;q.text&amp;#160;=&amp;#160;&lt;span class=s&gt;&amp;quot;INSERT&amp;#160;INTO&amp;#160;[&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;cellname&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;]([ID],&amp;#160;[Geom&amp;#160;(I)],&amp;#160;&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;colsetString&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;)&amp;#160;SELECT&amp;#160;&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;_&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=s&gt;&amp;quot;[ID],&amp;#160;[Geom&amp;#160;(I)],&amp;#160;&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;colsetString&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;&amp;#160;FROM&amp;#160;[&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;originalImport.Name&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;];&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;q.Run()&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;analyzer.ClipIntersect&amp;#160;subCell,&amp;#160;subCell.ObjectSet,&amp;#160;boundingCell.Selection&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;subCell.isEmpty()&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Document.ComponentSet.Remove(subCell)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;boundingCell.ObjectSet(i).Selected&amp;#160;=&amp;#160;&lt;span class=k&gt;false&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;Document.ComponentSet.ItemByName(cellname)&amp;#160;&amp;gt;&amp;#160;-1&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;eShp.Export&amp;#160;subCell,&amp;#160;cellDir&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;\&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;cellname&amp;#160;&amp;amp;&amp;#160;g&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;.shp&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;eShp&amp;#160;=&amp;#160;&lt;span class=k&gt;nothing&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;Document.ComponentSet.Remove(subCell)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;g&amp;#160;=&amp;#160;(g&amp;#160;+&amp;#160;1)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;next&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;next&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;with&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;End&lt;/span&gt;&amp;#160;&lt;span class=k&gt;sub&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;Function&lt;/span&gt;&amp;#160;createColumnSet(sourceColSet,&amp;#160;targetColSet)&lt;/P&gt;&lt;P class='code'&gt;z&amp;#160;=&amp;#160;0&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;for&lt;/span&gt;&amp;#160;&lt;span class=k&gt;each&lt;/span&gt;&amp;#160;col&amp;#160;&lt;span class=k&gt;in&lt;/span&gt;&amp;#160;sourceColSet&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;(col.IsIntrinsic()&amp;#160;=&amp;#160;&lt;span class=k&gt;false&lt;/span&gt;)&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;z&amp;#160;=&amp;#160;z&amp;#160;+&amp;#160;1&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;next&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;p&amp;#160;=&amp;#160;0&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;for&lt;/span&gt;&amp;#160;&lt;span class=k&gt;each&lt;/span&gt;&amp;#160;col&amp;#160;&lt;span class=k&gt;in&lt;/span&gt;&amp;#160;sourceColSet&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;(col.IsIntrinsic()&amp;#160;=&amp;#160;&lt;span class=k&gt;false&lt;/span&gt;)&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;(col.Name&amp;#160;&amp;lt;&amp;gt;&amp;#160;&lt;span class=s&gt;&amp;quot;ID&amp;quot;&lt;/span&gt;)&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;p&amp;#160;=&amp;#160;p&amp;#160;+&amp;#160;1&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;set&lt;/span&gt;&amp;#160;newColumn&amp;#160;=&amp;#160;targetColSet.NewColumn()&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;newColumn.Name&amp;#160;=&amp;#160;col.Name&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;newColumn.Type&amp;#160;=&amp;#160;col.Type&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;newColumn.Size&amp;#160;=&amp;#160;col.Size&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;targetColSet.Add(newColumn)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;eShp.Columns.Add(col.Name)&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&amp;#160;(p&amp;#160;=&amp;#160;(z&amp;#160;-&amp;#160;1))&amp;#160;&lt;span class=k&gt;then&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;createColumnSet&amp;#160;=&amp;#160;createColumnSet&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;[&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;col.Name&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;]&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;else&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;createColumnSet&amp;#160;=&amp;#160;createColumnSet&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;[&amp;quot;&lt;/span&gt;&amp;#160;&amp;amp;&amp;#160;col.Name&amp;#160;&amp;amp;&amp;#160;&lt;span class=s&gt;&amp;quot;],&amp;#160;&amp;quot;&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&amp;#160;&lt;span class=k&gt;end&lt;/span&gt;&amp;#160;&lt;span class=k&gt;if&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;next&lt;/span&gt;&lt;/P&gt;&lt;P class='code'&gt;&lt;span class=k&gt;End&lt;/span&gt;&amp;#160;&lt;span class=k&gt;function&lt;/span&gt;&lt;/P&gt;</description><dc:creator>t-crow</dc:creator><comments>http://forum.manifold.net/forum/t75110</comments><guid>http://forum.manifold.net/forum/t75110</guid><pubDate>Wed, 03 Dec 2008 11:43:51 GMT</pubDate></item><item><title>vb.net</title><link>http://forum.manifold.net/forum/t75042</link><description>&lt;P&gt;I'm developing a vb.net addin.&lt;/P&gt;&lt;P&gt;I need to invoke command to insert a new area and then, when the area has been complete, return control to my addin.&lt;/P&gt;&lt;P&gt;I made some attempts without any good result: &lt;/P&gt;&lt;P&gt;I try to use mousemode to start editing but I relized that it's only available in activex mapcontrol.&lt;/P&gt;&lt;P&gt;I try to use invokecommand but I get an error: the script must run in separate thread.&lt;/P&gt;&lt;P&gt;I know I could do it using activex mapcontrol setting mousemode and than handling the events, but I can't use this method. I have to use an addin inside manifold system.&lt;/P&gt;&lt;P&gt;Is there any way to do that? &lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;PS: sorry for the title of my thread I forgot to set it right before posting the question and now I can't change it.&lt;/P&gt;</description><dc:creator>rb</dc:creator><comments>http://forum.manifold.net/forum/t75042</comments><guid>http://forum.manifold.net/forum/t75042</guid><pubDate>Tue, 02 Dec 2008 15:01:29 GMT</pubDate></item><item><title>gis IMS framework</title><link>http://forum.manifold.net/forum/t75018</link><description>&lt;P&gt;i like to see framework that manage event and rendering many graphic like http://www.soyatec.com/eface/.&lt;/P&gt;&lt;P&gt;so this way is client independant ( run inside browser or OS ) &lt;/P&gt;&lt;P&gt;1- So which best GIS framework  can be use in visual studio web express (VSWE) ? &lt;/P&gt;&lt;P&gt;geoframeworks.com ? &lt;CITE&gt;sharewareplaza.com ? &lt;/CITE&gt;AvisMap &lt;EM&gt;GIS&lt;/EM&gt; Engine ? manifold ? dundas ?  taktuk gis ? &lt;/P&gt;&lt;P&gt;2-could someone post a very simple  basic example of IMs Visual studio  project use Manifold or third API ( javascript ) . is there many visual control  ? does it manage handle client user event ? &lt;/P&gt;&lt;P&gt;3-Does VSWE support all ASP ( .NEt and not ) and  framework version ( 2.x 3.x) ?. &lt;/P&gt;&lt;P&gt;think framework 3.x run on CLR framework 2.x&lt;/P&gt;&lt;P&gt;thank's &lt;/P&gt;</description><dc:creator>lionel_</dc:creator><comments>http://forum.manifold.net/forum/t75018</comments><guid>http://forum.manifold.net/forum/t75018</guid><pubDate>Tue, 02 Dec 2008 07:23:22 GMT</pubDate></item><item><title>UI Scripting via IMS</title><link>http://forum.manifold.net/forum/t74963</link><description>&lt;P&gt;Hi does anyone know if you can run UI scripting via javascript on IMS? I have added some scripts (which run perfectly within Manifold ) into my IMS code and they are not working, I get no errors but I also don't get any result.&lt;/P&gt;&lt;P&gt;I assume it is due to me trying to run code such as  &amp;quot;ui.Toolbars.Item(&amp;quot;Format&amp;quot;).ControlSet.Item(&amp;quot;EditFormatElementRotation&amp;quot;).text&amp;quot; outside of manifold. &lt;/P&gt;&lt;P&gt;Is it possible to use UI scripts in javascipt outside of Manifold? &lt;/P&gt;&lt;P&gt;(I suspect your answers are going to be &amp;quot;Use VB.net&amp;quot; )&lt;/P&gt;</description><dc:creator>gpsit</dc:creator><comments>http://forum.manifold.net/forum/t74963</comments><guid>http://forum.manifold.net/forum/t74963</guid><pubDate>Sun, 30 Nov 2008 21:40:56 GMT</pubDate></item><item><title>Area following &amp;quot;border&amp;quot; of outer points</title><link>http://forum.manifold.net/forum/t74974</link><description>&lt;P&gt;Dear Manifolders,&lt;/P&gt;&lt;P&gt;I am a low level user. Everything not directly available in menus or through slightly sophisticated queries is unavailable to my mind...&lt;IMG SRC='images/emo-sad.gif'&gt;&lt;/P&gt;&lt;P&gt;I need to trace an area following the outer points of a set of records (may be as low as 9, may be hundreds) that represent the realized distribution of a species. What I need is the minimum area covering the set of points. The &amp;quot;constrained triangulation&amp;quot; and similar methods produce areas, but manual selection and removal of unwanted areas (to have the minimum covering area) is slow and prone to error. I would like to have a script for automatically find the set of points &amp;quot;describing&amp;quot; the outer border of the set, trace a line and then an area. I can't find my way in such a script.&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;P&gt;Agust&amp;#237;n&lt;/P&gt;</description><dc:creator>Agustin</dc:creator><comments>http://forum.manifold.net/forum/t74974</comments><guid>http://forum.manifold.net/forum/t74974</guid><pubDate>Mon, 01 Dec 2008 01:10:35 GMT</pubDate></item><item><title>ui scripting for launch script</title><link>http://forum.manifold.net/forum/t74908</link><description>&lt;P&gt;is it possible to select focus launch a script using ui script ? . i think not but wanted simple confirmation &lt;/P&gt;&lt;P&gt;thank's &lt;/P&gt;</description><dc:creator>lionel_</dc:creator><comments>http://forum.manifold.net/forum/t74908</comments><guid>http://forum.manifold.net/forum/t74908</guid><pubDate>Fri, 28 Nov 2008 14:12:00 GMT</pubDate></item><item><title>How to grab XML from RSS for IMS purpose ?</title><link>http://forum.manifold.net/forum/t74895</link><description>&lt;P&gt;I have a request to grab weather forecast from a RSS feed formatted in XML. I have to display more recent weather and forecast into IMS. &lt;/P&gt;&lt;P&gt;Anybody have advice on how to get the RSS feed by scripting ? I can parse it once I get it, but I don't know how to get it. &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;</description><dc:creator>vincent</dc:creator><comments>http://forum.manifold.net/forum/t74895</comments><guid>http://forum.manifold.net/forum/t74895</guid><pubDate>Fri, 28 Nov 2008 08:53:07 GMT</pubDate></item><item><title>layout bitmap in visual studio picturebox</title><link>http://forum.manifold.net/forum/t74723</link><description>&lt;P&gt;Hi. I want to take the results of a layout.RenderTo, and put it in the PictureBox object in Visual Studio.  I don't want to do the export/import thing.  I was hoping I could copy the image (as a bitmap?) right into the PictureBox.&lt;/P&gt;</description><dc:creator>artlembo</dc:creator><comments>http://forum.manifold.net/forum/t74723</comments><guid>http://forum.manifold.net/forum/t74723</guid><pubDate>Tue, 25 Nov 2008 18:49:07 GMT</pubDate></item><item><title>ExportDrawing() Error - can't export data</title><link>http://forum.manifold.net/forum/t74787</link><description>&lt;P&gt;I have code that imports a shapefile into Manifold and then exports it to a SQL Server 2005 database.&lt;/P&gt;&lt;P&gt;I am getting a &amp;quot;can't export data&amp;quot; error when I try to export the imported drawing.  Here's a code snippet of the export functionality in VB.NET:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'Export imported shapefile to sql server database&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; Drw &lt;SPAN&gt;As&lt;/SPAN&gt; Manifold.Interop.Drawing &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; ds &lt;SPAN&gt;As&lt;/SPAN&gt; Manifold.Interop.DataSource&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; exp &lt;SPAN&gt;As&lt;/SPAN&gt; Manifold.Interop.ExportSqlServer &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; columns &lt;SPAN&gt;As&lt;/SPAN&gt; Manifold.Interop.DataSourceColumnSet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; drwName &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;&amp;quot;TempDrawing&amp;quot;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;doc.ComponentSet.Item(0).Name = drwName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Drw = doc.ComponentSet(drwName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ds = doc.NewDataSource()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;exp = doc.NewExport(&lt;SPAN&gt;&amp;quot;SQL SERVER&amp;quot;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;exp.ConnectionString = &lt;SPAN&gt;&amp;quot;Provider=SQLOLEDB.1;Password=yyy;Persist Security Info=True;User ID=yyy;Initial Catalog=yyy;Data Source=yyy&amp;quot;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;columns = app.NewDataSourceColumnSet()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; t &lt;SPAN&gt;as&lt;/SPAN&gt; Manifold.Interop.table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;t = doc.ComponentSet.Item(0).OwnedTable &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; c &lt;SPAN&gt;As&lt;/SPAN&gt; Column &lt;SPAN&gt;In&lt;/SPAN&gt; t.ColumnSet&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; (&lt;SPAN&gt;Not&lt;/SPAN&gt; c.IsIntrinsic()) &lt;SPAN&gt;then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;columns.Add(c.Name)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;end&lt;/SPAN&gt; &lt;SPAN&gt;if&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Next&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ds.ConnectionType = &lt;SPAN&gt;&amp;quot;OLEDB&amp;quot;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ds.ConnectionString = &lt;SPAN&gt;&amp;quot;Provider=SQLOLEDB.1;Password=yyy;Persist Security Info=True;User ID=yyy;Initial Catalog=yyy;Data Source=yyy&amp;quot;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ds.ExportDrawing(drw, drw.Name, &lt;SPAN&gt;&amp;quot;SQL SERVER&amp;quot;&lt;/SPAN&gt;, -1, &lt;SPAN&gt;true&lt;/SPAN&gt;, &lt;SPAN&gt;true&lt;/SPAN&gt;, columns)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It fails on the last line 'ds.ExportDrawing(...&lt;/P&gt;&lt;P&gt;Has anyone had any success exporting to Sql Server 2005?&lt;/P&gt;&lt;P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;/P&gt;</description><dc:creator>rachelb</dc:creator><comments>http://forum.manifold.net/forum/t74787</comments><guid>http://forum.manifold.net/forum/t74787</guid><pubDate>Wed, 26 Nov 2008 09:01:52 GMT</pubDate></item><item><title>create en rendering drawing from scratch</title><link>http://forum.manifold.net/forum/t74744</link><description>&lt;P&gt;i wanted to test IMS using VisualWeb developer 2005 express on window xp home service pack 2 using C#.NET .think of implemented hello world example but replace by a point !!!&lt;/P&gt;&lt;P&gt;Have many questions even could find the answer with by myself:&lt;/P&gt;&lt;P&gt;1 is it possible to create *.map in the aspx from scratch ( create one point in NewDrawing ) &lt;/P&gt;&lt;P&gt;2 To render the point in the client side without use javascript but C#&lt;/P&gt;&lt;P&gt;3 at this time does all functionalities of IMS in manifold demo  page are script in the client or the server side ? &lt;/P&gt;</description><dc:creator>lionel_</dc:creator><comments>http://forum.manifold.net/forum/t74744</comments><guid>http://forum.manifold.net/forum/t74744</guid><pubDate>Wed, 26 Nov 2008 02:54:42 GMT</pubDate></item><item><title>Script to load a map</title><link>http://forum.manifold.net/forum/t63341</link><description>&lt;P&gt;I am looking for a simple script to laod .map.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;</description><dc:creator>elkhalidy</dc:creator><comments>http://forum.manifold.net/forum/t63341</comments><guid>http://forum.manifold.net/forum/t63341</guid><pubDate>Tue, 22 Apr 2008 04:38:03 GMT</pubDate></item><item><title>Select with mouse inside C# application</title><link>http://forum.manifold.net/forum/t73430</link><description>&lt;P&gt;I use Manifold ActiveX control inside a C# based application to display roads (lines) and other geographical elements (represented as points and areas).&lt;/P&gt;&lt;P&gt;How do I replicate Manifold's GUI select functionality where the user clicks on the drawn line and it changes color. &lt;/P&gt;&lt;P&gt;In addition I need to get a handle on the selected object in order to display and change its properties (like road width, traffic volume, etc.)&lt;/P&gt;&lt;P&gt;I looked at the documented OnClick  (&lt;A HREF='http://www.manifold.net/doc/click_events.htm'&gt;http://www.manifold.net/doc/click_events.htm&lt;/A&gt;) script but I could not find a global object EventArgs in ActiveX manifold control.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;</description><dc:creator>alex</dc:creator><comments>http://forum.manifold.net/forum/t73430</comments><guid>http://forum.manifold.net/forum/t73430</guid><pubDate>Mon, 03 Nov 2008 11:31:30 GMT</pubDate></item><item><title>Programatically set the page size of a layout</title><link>http://forum.manifold.net/forum/t74464</link><description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am very new to Manifold and Manifold scripting.  I am trying to find a property or method associated with the Layout object that will allow me to set the page size.  Perhaps I am not even on the right track.&lt;/P&gt;&lt;P&gt;Help!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description><dc:creator>gezjames</dc:creator><comments>http://forum.manifold.net/forum/t74464</comments><guid>http://forum.manifold.net/forum/t74464</guid><pubDate>Thu, 20 Nov 2008 18:56:14 GMT</pubDate></item><item><title>linux based server with php mysql.....</title><link>http://forum.manifold.net/forum/t74471</link><description>&lt;P&gt;Current server Specifications&lt;/P&gt;&lt;P&gt;PHP version: &lt;I&gt;5.2.0-8+etch11&lt;/I&gt;&lt;/P&gt;&lt;P&gt;MySQL version: &lt;I&gt;5.0.32-Debian_7etch6-log&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Server version: &lt;I&gt;Apache/2.2.3 (Debian) mod_fastcgi/2.4.2&lt;/I&gt;&lt;/P&gt;&lt;P&gt;is it possible at all without installing manifold to our remote server to install the maps and have clients to be able to view the maps we create, without the use of manifold on the client side, as in throught safari / internet explorer / google chrome / mozilla firefox....?&lt;/P&gt;&lt;P&gt;where can i get information on how to do so obviously server is php so i need to use php too&lt;/P&gt;&lt;P&gt;Thanks in advance to anyone who reads this, and any help is appreciated&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description><dc:creator>Pixmyster</dc:creator><comments>http://forum.manifold.net/forum/t74471</comments><guid>http://forum.manifold.net/forum/t74471</guid><pubDate>Thu, 20 Nov 2008 21:33:53 GMT</pubDate></item><item><title>Drawing linked to query &amp;quot;Can't add object&amp;quot;</title><link>http://forum.manifold.net/forum/t58120</link><description>&lt;P&gt;I have this query:&lt;/P&gt;&lt;P class='code'&gt;code&lt;/P&gt;&lt;P&gt;options coordsys(&amp;quot;Parcel Boundaries&amp;quot; as component);&lt;/P&gt;&lt;P&gt;select [Parcel_No],[ID], linepoint(Geom([ID]),[Length (I)]/2,&amp;quot;m&amp;quot;) as [Geom]&lt;/P&gt;&lt;P&gt;from [Parcel Boundaries];&lt;/P&gt;&lt;P&gt;And I'm trying to link a drawing to it using it's geom column, but when I go to link the drawing, I get this error:&lt;/P&gt;&lt;P&gt;&amp;quot;Can't add object&amp;quot;&lt;/P&gt;&lt;P&gt;What could cause this?&lt;/P&gt;&lt;P&gt;The query itself runs fine.&lt;/P&gt;</description><dc:creator>firsttube</dc:creator><comments>http://forum.manifold.net/forum/t58120</comments><guid>http://forum.manifold.net/forum/t58120</guid><pubDate>Thu, 24 Jan 2008 11:24:07 GMT</pubDate></item><item><title>UI-Scripting</title><link>http://forum.manifold.net/forum/t74273</link><description>&lt;P&gt;In the attachement a UI-Script that`s make a Transform Spline with a paramter of 5.&lt;/P&gt;&lt;P&gt;Maybe someone need it, or take it as learning how to UI-script (myself for example).&lt;/P&gt;&lt;P&gt;I use the &amp;quot;Split area with Line&amp;quot;-Script (don`t know who is made it, but many thanks to this one)&lt;/P&gt;&lt;P&gt;and change the Operator.&lt;/P&gt;&lt;P&gt;The second attachement is the Original Script (it works with lines, too. Not only with areas like the name make the appearance)&lt;/P&gt;&lt;p class='file'&gt;Attachments:&lt;br&gt;&lt;a href='http://forum.manifold.net/Attachments/22/74274/Spline_5.txt'&gt;&lt;img src='images/dwn-http.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;a href='ftp://forum.manifold.net/attachments/22/74274/Spline_5.txt'&gt;&lt;img src='images/dwn-ftp.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;span&gt;Spline_5.txt&lt;/span&gt;&lt;br&gt;&lt;a href='http://forum.manifold.net/Attachments/22/74274/split areas with lines.txt'&gt;&lt;img src='images/dwn-http.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;a href='ftp://forum.manifold.net/attachments/22/74274/split areas with lines.txt'&gt;&lt;img src='images/dwn-ftp.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;span&gt;split areas with lines.txt&lt;/span&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator>volker</dc:creator><comments>http://forum.manifold.net/forum/t74273</comments><guid>http://forum.manifold.net/forum/t74273</guid><pubDate>Tue, 18 Nov 2008 07:02:00 GMT</pubDate></item><item><title>ASP.NET Zoom To a Point in a Drawing</title><link>http://forum.manifold.net/forum/t68436</link><description>&lt;P&gt;I am trying to use ASP.Net and a Web application to select a point from a dynamically created drawing and zoom to it.  I listed my attempt below but it does not work.  The problem lies in zooming in to the point.  It seems it requires an INT X,Y and all I can manage to get is a Lat/Lon.  There may be another way to go about this, if so please help.  Thanks in Advance.&lt;/P&gt;&lt;P&gt;Manifold.Interop.Query q = (Manifold.Interop.Query)mapServer.Document.ComponentSet[&amp;quot;LoadTicketQuery&amp;quot;];&lt;/P&gt;&lt;P&gt;q.ParameterSet[&amp;quot;pTicketNumber&amp;quot;].Value = (string)Request.QueryString[&amp;quot;LT&amp;quot;];&lt;/P&gt;&lt;P&gt;q.Run();&lt;/P&gt;&lt;P&gt;Manifold.Interop.Drawing d = (Manifold.Interop.Drawing)mapServer.Document.ComponentSet[&amp;quot;LoadTicketDrawing&amp;quot;];&lt;/P&gt;&lt;P&gt;d.SelectAll();&lt;/P&gt;&lt;P&gt;//Manifold.Interop.ObjectSet sel = d.Selection;&lt;/P&gt;&lt;P&gt;//Manifold.Interop.GeomSet geom = d.Selection.GeomSet;&lt;/P&gt;&lt;P&gt;//Manifold.Interop.Point pt = (Manifold.Interop.Point)geom.LastAdded;&lt;/P&gt;&lt;P&gt;//mapServer.Center((int)pt.X, (int)pt.Y);&lt;/P&gt;&lt;P&gt;Manifold.Interop.Drawing activeDrawing = d;&lt;/P&gt;&lt;P&gt;Manifold.Interop.ObjectSet currentSelection = activeDrawing.Selection;&lt;/P&gt;&lt;P&gt;if (currentSelection.Count &amp;gt; 0)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Manifold.Interop.Point geomPoint = currentSelection[0].get_Geom().Center;&lt;/P&gt;&lt;P&gt;mapServer.Center((int)geomPoint.X, (int)geomPoint.Y);&lt;/P&gt;&lt;P&gt;mapServer.ZoomIn(&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description><dc:creator>Eddie123</dc:creator><comments>http://forum.manifold.net/forum/t68436</comments><guid>http://forum.manifold.net/forum/t68436</guid><pubDate>Thu, 17 Jul 2008 07:10:48 GMT</pubDate></item><item><title>Writing spatial data from map-file into SQL Server 2008</title><link>http://forum.manifold.net/forum/t74200</link><description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;after importing data from a .shp file into the .map file (with ImportShp), I'd like to write these boundaries incl. metadata from .dbf file into a SQL Server 2008 Table using GEOGRAPHY for storing spatial data.&lt;/P&gt;&lt;P&gt;I don't know if I have to ExportSqlServer, &amp;quot;Link and Sync/CheckIn&amp;quot; or whatever.&lt;/P&gt;&lt;P&gt;I read the documentation, but can't decide which way to go. Maybe You can help me with the first step into.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Roadi&lt;/P&gt;</description><dc:creator>Roadi</dc:creator><comments>http://forum.manifold.net/forum/t74200</comments><guid>http://forum.manifold.net/forum/t74200</guid><pubDate>Mon, 17 Nov 2008 08:29:02 GMT</pubDate></item><item><title>How to Export Drawing as Jpeg directly into FileStream?</title><link>http://forum.manifold.net/forum/t74190</link><description>&lt;P&gt;Hi guys!&lt;/P&gt;&lt;P&gt;Anyone knows how to export a drawing as JPEG (sort of snapshot) directly&lt;/P&gt;&lt;P&gt;into FileStream object?&lt;/P&gt;&lt;P&gt;TIA! &lt;/P&gt;&lt;P&gt;BTW: I'm trying to do this on WinForm.&lt;/P&gt;</description><dc:creator>ghelobytes</dc:creator><comments>http://forum.manifold.net/forum/t74190</comments><guid>http://forum.manifold.net/forum/t74190</guid><pubDate>Mon, 17 Nov 2008 01:05:42 GMT</pubDate></item><item><title>Retrieving the COM class factory for component with CLSID {3F343404-7ABF-11D5-BAFA-00A0C98DED6D} failed due to the following error: 80040154.</title><link>http://forum.manifold.net/forum/t73977</link><description>&lt;P&gt;I have created an application and deployed to a 64-bit server.  I am getting the error:&lt;/P&gt;&lt;P&gt;Retrieving the COM class factory for component with CLSID {3F343404-7ABF-11D5-BAFA-00A0C98DED6D} failed due to the following error: 80040154.&lt;/P&gt;&lt;P&gt;I am not sure if this is related to the fact that the server is 64 bit or something is wrong with the setup on that server.  I can run the application fine locally on my 32-bit windows machine.  Any ideas?&lt;/P&gt;</description><dc:creator>short</dc:creator><comments>http://forum.manifold.net/forum/t73977</comments><guid>http://forum.manifold.net/forum/t73977</guid><pubDate>Wed, 12 Nov 2008 11:59:59 GMT</pubDate></item><item><title>Put MAP View-Image in VB Form Picture from External Code?</title><link>http://forum.manifold.net/forum/t73730</link><description>&lt;P&gt;Using VB.NET and coding &amp;quot;externally,&amp;quot; I can't figure out how to get an image (picture, JPEG, PNG, whatever) of the map into a VB Form as the Form.backgroundimage.  Obviously this can be done!  How?&lt;/P&gt;&lt;P&gt;Here's a snippet of code:&lt;/P&gt;&lt;P&gt;Imports MI = Manifold.Interop&lt;/P&gt;&lt;P&gt;Public Class frmShowManifoldJPEG&lt;/P&gt;&lt;P&gt;Public MApp As MI.Application&lt;/P&gt;&lt;P&gt;Private Sub btnDOIT_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDOIT.Click&lt;/P&gt;&lt;P&gt;Dim MDoc As MI.Document&lt;/P&gt;&lt;P&gt;Dim MDocComps As MI.ComponentSet&lt;/P&gt;&lt;P&gt;Dim MTheMap As MI.Map&lt;/P&gt;&lt;P&gt;MApp = CreateObject(&amp;quot;Manifold.Application&amp;quot;)&lt;/P&gt;&lt;P&gt;MDoc = MApp.DocumentSet.Open(&amp;quot;C:\ManifoldProj.map&amp;quot;, False)&lt;/P&gt;&lt;P&gt;MDocComps = MDoc.ComponentSet 'What's in the Document?&lt;/P&gt;&lt;P&gt;MTheMap = MDocComps.Item(MDocComps.ItemByName(&amp;quot;TheMapName&amp;quot;))&lt;/P&gt;&lt;P&gt;Dim MTheImage As MI.Image&lt;/P&gt;&lt;P&gt;MTheImage = MTheMap.DefaultView '&amp;lt;--- BLOWS UP HERE!&lt;/P&gt;&lt;P&gt;Me.BackgroundImage = MTheImage '&amp;lt;---- THIS WON'T WORK EITHER (Need to convert Image to JPEG?)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;End Class&lt;/P&gt;</description><dc:creator>KRahmes</dc:creator><comments>http://forum.manifold.net/forum/t73730</comments><guid>http://forum.manifold.net/forum/t73730</guid><pubDate>Fri, 07 Nov 2008 11:51:57 GMT</pubDate></item><item><title>Manifold/Python - Script Example</title><link>http://forum.manifold.net/forum/t73775</link><description>&lt;P&gt;Finally Got Past the 'Hello World' - Stage [Well Barely!!!!]&lt;/P&gt;&lt;P&gt;Got The Attached Script to Work that references an external .map file&lt;/P&gt;&lt;P&gt;ie Open/Close/Create a Query/Run it etc etc&lt;/P&gt;&lt;P&gt;Biggest Pain seems to be the Casting To get the Right Type......&lt;/P&gt;&lt;P&gt;J&lt;/P&gt;&lt;p class='file'&gt;Attachments:&lt;br&gt;&lt;a href='http://forum.manifold.net/Attachments/30/73776/Manifold.py'&gt;&lt;img src='images/dwn-http.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;a href='ftp://forum.manifold.net/attachments/30/73776/Manifold.py'&gt;&lt;img src='images/dwn-ftp.gif' align='absmiddle'&gt;&lt;/a&gt;&lt;span&gt;Manifold.py&lt;/span&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator>jonno</dc:creator><comments>http://forum.manifold.net/forum/t73775</comments><guid>http://forum.manifold.net/forum/t73775</guid><pubDate>Sat, 08 Nov 2008 09:29:09 GMT</pubDate></item><item><title>WMS layers with commercial basemaps in openlayers</title><link>http://forum.manifold.net/forum/t61676</link><description>&lt;P&gt;Manifold WMS/WFS overlays nicely on the openlayers default basemap, but when the basemap is changed to VE, Yahoo, Google or Multimap, the WMS is askew, strangely, the closer one zooms in, the WMS begins to overlay correctly. &lt;/P&gt;&lt;P&gt;Any ideas? Perhaps someone has had the chance to play around with openlayers a bit more than myself and has an idea or solution to this already... I've only begun to look into it...&lt;/P&gt;</description><dc:creator>jluchette</dc:creator><comments>http://forum.manifold.net/forum/t61676</comments><guid>http://forum.manifold.net/forum/t61676</guid><pubDate>Wed, 26 Mar 2008 05:09:59 GMT</pubDate></item></channel></rss>