<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/workflow/"
xmlns:ns2="http://schemas.microsoft.com/office/2006/digsig-setup"
xmlns:ns3="http://schemas.microsoft.com/office/2006/digsig"
xmlns:ns4="http://schemas.openxmlformats.org/package/2006/digital-signature"
xmlns:ns5="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml"
xmlns:ns6="http://schemas.openxmlformats.org/package/2006/relationships"
xmlns:ns7="http://microsoft.com/sharepoint/webpartpages"
xmlns:ns8="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:ns9="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:ns10="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/"
xmlns:ns11="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService"
xmlns:ns12="urn:schemas-microsoft-com:">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Try taking the quotes out of your
ZoomToView like this…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'>parent.parent.ViewerFrame.mapFrame.ZoomToView(<font
color=maroon><span style='color:maroon;background:yellow'><%</span>= lldd <span
style='background:yellow'>%></span></font>, <font color=maroon><span
style='color:maroon;background:yellow'><%</span>= urdd <span
style='background:yellow'>%></span></font>, 5000, <font color=blue><span
style='color:blue'>true</span></font>);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span style='font-size:9.5pt;
font-family:Consolas'>The ZoomToView seems to work either way but having the
quotes causes a javascript error in another mapguide file</span></font><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Carrillo, John<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, February 16, 2011
4:43 PM<br>
<b><span style='font-weight:bold'>To:</span></b> MapGuide Users Mail List<br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users]
SetSelectionXML Issue </span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Calibri><span
style='font-size:11.0pt'>
I’m having a couple issue with the code below and I’m guessing that
they are related. I have a map that I created and when I pull it up initially,
I can use the Select Tool and see the Tool Tips on the layer I’m having
issues with, “J_Parcels”. But when I run the query below, the
“SetSelectionXML” doesn’t work and I can no longer use
the Select Tool or the Tool Tips in my map. To ZoomToView is working properly
but the Parcel that is queried is not highlighted. I know I’m getting
data returned. Not sure why after the query I can’t use the tools or why
the SetSelectionXML isn’t working. Also, when I try and Pan or Zoom after
the query, the map goes away, just a blank screen. Any help would be greatly
appreciated. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks, JC<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;background:yellow'><%</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=green><span style='color:green'>'from the previous page</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> sessionId <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = Request.Form.[Get](<font
color="#a31515"><span style='color:#A31515'>"SESSION"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> encroachPermit <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = Request.Form.[Get](<font
color="#a31515"><span style='color:#A31515'>"iAPN"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> webLayout <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = <font color="#a31515"><span
style='color:#A31515'>"Library://JC_Test/WebLayer/J.WebLayout"</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=green><span style='color:green'>'path to web config</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> realPath <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>String</span></font> = Request.ServerVariables(<font
color="#a31515"><span style='color:#A31515'>"APPL_PHYSICAL_PATH"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> configPath <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = realPath & <font
color="#a31515"><span style='color:#A31515'>"webconfig.ini"</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color="#2b91af"><span style='color:#2B91AF'>MapGuideApi</span></font>.MgInitializeWebTier(<font
color="#a31515"><span style='color:#A31515'>"C:\Program
Files\AutoDesk\MapGuideEnterprise2011\WebServerExtensions\www\webconfig.ini"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> userInfo <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgUserInformation</span></font>(sessionId)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> siteConnection <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgSiteConnection</span></font>()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
siteConnection.Open(userInfo)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> resService <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgResourceService</span></font> = <font color=blue><span
style='color:blue'>DirectCast</span></font>(siteConnection.CreateService(<font
color="#2b91af"><span style='color:#2B91AF'>MgServiceType</span></font>.ResourceService),
<font color="#2b91af"><span style='color:#2B91AF'>MgResourceService</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> featureService <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgFeatureService</span></font> = <font color=blue><span
style='color:blue'>DirectCast</span></font>(siteConnection.CreateService(<font
color="#2b91af"><span style='color:#2B91AF'>MgServiceType</span></font>.FeatureService),
<font color="#2b91af"><span style='color:#2B91AF'>MgFeatureService</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=green><span style='color:green'>'Map from Map Guide</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> map <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>New</span></font>
<font color="#2b91af"><span style='color:#2B91AF'>MgMap</span></font>()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
map.Open(resService, <font color="#a31515"><span style='color:#A31515'>"J"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=green><span style='color:green'>'Query for the second condition</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> nameQuery <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgFeatureQueryOptions</span></font>()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> nameQuery.SetFilter(<font
color="#a31515"><span style='color:#A31515'>"APN = '"</span></font>
& encroachPermit & <font color="#a31515"><span style='color:#A31515'>"'"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=green><span style='color:green'>'second feature sources to compare first
to</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> encroachId <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgResourceIdentifier</span></font>(<font color="#a31515"><span
style='color:#A31515'>"Library://Oracle Feature Source/FCT1TEST_Assessor
feature source.FeatureSource"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> featureReader <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgFeatureReader</span></font> =
featureService.SelectFeatures(encroachId, <font color="#a31515"><span
style='color:#A31515'>"PARCELPTS"</span></font>, nameQuery)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> list <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>New</span></font>
<font color="#2b91af"><span style='color:#2B91AF'>ArrayList</span></font>()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> x_coordinate <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>ArrayList</span></font>()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> y_coordinate <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>ArrayList</span></font>()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> lldd <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>Double</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> urdd <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>Double</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>While</span></font>
featureReader.ReadNext()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
list.Add(featureReader.GetString(<font color="#a31515"><span style='color:#A31515'>"APN"</span></font>))<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=green><span style='color:green'>'GET X Y FROM GEOMETRY</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>Dim</span></font> geometryBytes <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgByteReader</span></font> = featureReader.GetGeometry(<font
color="#a31515"><span style='color:#A31515'>"GEOMETRY"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>Dim</span></font> agfReader <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgAgfReaderWriter</span></font>()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>Dim</span></font> districtGeometry <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgGeometry</span></font> = agfReader.Read(geometryBytes)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>Dim</span></font> env <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgEnvelope</span></font> = districtGeometry.Envelope()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> lldd
= env.GetLowerLeftCoordinate().GetX<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
urdd = env.GetLowerLeftCoordinate().GetY<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>End</span></font> <font color=blue><span
style='color:blue'>While</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> Response.Write(list(0)
& <font color="#a31515"><span style='color:#A31515'>"<BR
/>"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=green><span style='color:green'>'Highlight the query result on the map</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> selection <font
color=blue><span style='color:blue'>As</span></font> <font color=blue><span
style='color:blue'>New</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgSelection</span></font>(map)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> layer <font color=blue><span
style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>MgLayer</span></font> = map.GetLayers().GetItem(<font
color="#a31515"><span style='color:#A31515'>"J_Parcels"</span></font>)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> featureReader
= featureService.SelectFeatures(encroachId, <font color="#a31515"><span
style='color:#A31515'>"PARCELPTS"</span></font>, nameQuery)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
selection.AddFeatures(layer, featureReader, 0)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'>Dim</span></font> selectionXML <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = selection.ToXml()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;background:yellow'>%></span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;background:yellow'><%</span></font><font
size=2 color=darkgreen face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:darkgreen'>--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">--</span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas;
background:yellow'>%></span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'><!</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>DOCTYPE</span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font color=red><span
style='color:red'>html</span></font> <font color=red><span style='color:red'>PUBLIC</span></font>
<font color=blue><span style='color:blue'>"-//W3C//DTD XHTML 1.0
Frameset//EN"</span></font> <font color=blue><span style='color:blue'>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'><</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>html</span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font color=red><span
style='color:red'>xmlns</span></font><font color=blue><span style='color:blue'>="http://www.w3.org/1999/xhtml"></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'><</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>head</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>></span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>title</span></font><font color=blue><span
style='color:blue'>></span></font>H<font color=blue><span style='color:blue'></</span></font><font
color=maroon><span style='color:maroon'>title</span></font><font color=blue><span
style='color:blue'>></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>meta</span></font> <font color=red><span style='color:
red'>http-equiv</span></font><font color=blue><span style='color:blue'>="Content-Type"</span></font>
<font color=red><span style='color:red'>content</span></font><font color=blue><span
style='color:blue'>="text/html; charset=UTF-8"</span></font> <font
color=blue><span style='color:blue'>/></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>meta</span></font> <font color=red><span style='color:
red'>http-equiv</span></font><font color=blue><span style='color:blue'>="content-script-type"</span></font>
<font color=red><span style='color:red'>content</span></font><font color=blue><span
style='color:blue'>="text/javascript"</span></font> <font color=blue><span
style='color:blue'>/></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>meta</span></font> <font color=red><span style='color:
red'>http-equiv</span></font><font color=blue><span style='color:blue'>="content-style-type"</span></font>
<font color=red><span style='color:red'>content</span></font><font color=blue><span
style='color:blue'>="text/css"</span></font> <font color=blue><span
style='color:blue'>/></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>script</span></font> <font color=red><span
style='color:red'>type</span></font><font color=blue><span style='color:blue'>="text/javascript"></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>function</span></font> onPageLoad() {<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>var</span></font> selectionXML2 = <font
color=maroon><span style='color:maroon'>'<span style='background:yellow'><%</span>=
selectionXML <span style='background:yellow'>%></span>'</span></font>;<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
alert(selectionXML2);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>var</span></font> t = setTimeout(<font
color=maroon><span style='color:maroon'>"alertMsg()"</span></font>,
9000);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>var</span></font> t2 = setTimeout(<font
color=maroon><span style='color:maroon'>"alertMsg2()"</span></font>,
4000);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>function</span></font> alertMsg() {<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
alert(<font color=maroon><span style='color:maroon'>'45'</span></font>);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
parent.parent.ViewerFrame.mapFrame.ZoomToView(<font color=maroon><span
style='color:maroon'>'<span style='background:yellow'><%</span>= lldd <span
style='background:yellow'>%></span>'</span></font>, <font color=maroon><span
style='color:maroon'>'<span style='background:yellow'><%</span>= urdd <span
style='background:yellow'>%></span>'</span></font>, 5000, <font color=blue><span
style='color:blue'>true</span></font>);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>function</span></font> alertMsg2() {<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
alert(<font color=maroon><span style='color:maroon'>'45'</span></font>);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>var</span></font> selectionXML2 = <font
color=maroon><span style='color:maroon'>'<span style='background:yellow'><%</span>=
selectionXML <span style='background:yellow'>%></span>'</span></font>;<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
alert(selectionXML2);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
parent.parent.ViewerFrame.mapFrame.SetSelectionXML(selectionXML2);<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
}<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'></</span></font><font color=maroon><span
style='color:maroon'>script</span></font><font color=blue><span
style='color:blue'>></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'></</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>head</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>></span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'><</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>body</span></font><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font color=red><span
style='color:red'>id</span></font><font color=blue><span style='color:blue'>="body1"</span></font>
<font color=red><span style='color:red'>class</span></font><font color=blue><span
style='color:blue'>="AppFrame"</span></font> <font color=red><span
style='color:red'>onload</span></font><font color=blue><span style='color:blue'>="onPageLoad()"></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>strong</span></font><font color=blue><span
style='color:blue'>></span></font>The following are the query results: <font
color=blue><span style='color:blue'></</span></font><font color=maroon><span
style='color:maroon'>strong</span></font><font color=blue><span
style='color:blue'>></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>ul</span></font><font color=blue><span style='color:blue'>></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<span style='background:yellow'><%</span><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>For</span></font> i <font color=blue><span
style='color:blue'>As</span></font> <font color=blue><span style='color:blue'>Integer</span></font>
= 0 <font color=blue><span style='color:blue'>To</span></font> list.Count - 1<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>Dim</span></font> address <font
color=blue><span style='color:blue'>As</span></font> <font color="#2b91af"><span
style='color:#2B91AF'>[String]</span></font> = list(i).ToString()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>If</span></font> address <> <font
color="#a31515"><span style='color:#A31515'>""</span></font> <font
color=blue><span style='color:blue'>Then</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
Response.Write(<font color="#a31515"><span style='color:#A31515'>"<li>"</span></font>
& list(i).ToString() & <font color="#a31515"><span style='color:#A31515'>"</li>"</span></font>
& vbLf)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>End</span></font>
<font color=blue><span style='color:blue'>If</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<font color=blue><span style='color:blue'>Next</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>
<span style='background:yellow'>%></span><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'></</span></font><font color=maroon><span
style='color:maroon'>ul</span></font><font color=blue><span style='color:blue'>></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=blue><span style='color:blue'><</span></font><font color=maroon><span
style='color:maroon'>iframe</span></font> <font color=red><span
style='color:red'>id</span></font><font color=blue><span style='color:blue'>="imap"</span></font>
<font color=red><span style='color:red'>src</span></font><font color=blue><span
style='color:blue'>="/mapguide2011/mapviewernet/ajaxviewer.aspx?SESSION=</span></font><span
style='background:yellow'><%</span><font color=blue><span style='color:blue'>=</span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'>sessionId <span style='background:
yellow'>%></span><font color=blue><span style='color:blue'>&WEBLAYOUT=</span></font><span
style='background:yellow'><%</span><font color=blue><span style='color:blue'>=</span></font>
webLayout <span style='background:yellow'>%></span><font color=blue><span
style='color:blue'>"</span></font> <font color=red><span style='color:
red'>name</span></font><font color=blue><span style='color:blue'>="ViewerFrame"</span></font>
<font color=red><span style='color:red'>height</span></font><font color=blue><span
style='color:blue'>="700"</span></font> <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'> <font
color=red><span style='color:red'>width</span></font><font color=blue><span
style='color:blue'>="1200"</span></font> <font color=red><span
style='color:red'>scrolling</span></font><font color=blue><span
style='color:blue'>="yes"</span></font> <font color=blue><span
style='color:blue'>/></span></font><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'></</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>body</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>></span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=blue
face=Consolas><span style='font-size:9.5pt;font-family:Consolas;color:blue'></</span></font><font
size=2 color=maroon face=Consolas><span style='font-size:9.5pt;font-family:
Consolas;color:maroon'>html</span></font><font size=2 color=blue face=Consolas><span
style='font-size:9.5pt;font-family:Consolas;color:blue'>></span></font><font
size=2 face=Consolas><span style='font-size:9.5pt;font-family:Consolas'><o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Consolas><span
style='font-size:9.5pt;font-family:Consolas'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>