|
POST
|
Is this something to do with the manifest and clickonce/Certificate ??? I am totally lost on this and have been trying to figure this out for quite some time?????
... View more
05-29-2013
09:11 PM
|
0
|
0
|
1003
|
|
POST
|
Accompanied error with it Log Name: Application Source: .NET Runtime Date: 05/29/2013 10:01:09 PM Event ID: 1026 Task Category: None Level: Error Keywords: Classic User: N/A Computer: cfpa03gis.ODF.STATE.OR.US Description: Application: WRMS.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException Stack: at ESRI.ArcGIS.Client.Tasks.GeometryService.LengthsAsync(System.Collections.Generic.IList`1<ESRI.ArcGIS.Client.Graphic>, System.Nullable`1<ESRI.ArcGIS.Client.Tasks.LinearUnit>, ESRI.ArcGIS.Client.Tasks.CalculationType, System.Object) at WRMS.Framework.ViewModels.MeasureVM.<measure>b__4(ESRI.ArcGIS.Client.Local.LocalGeometryService) at ESRI.ArcGIS.Client.Local.LocalService.FailStart(System.Exception) at ESRI.ArcGIS.Client.Local.Internal.Requests.ProcessResponse[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, System.String, System.Exception, Boolean, System.String, System.Action`2<System.__Canon,ESRI.ArcGIS.Client.Local.Internal.RequestInfo>) at ESRI.ArcGIS.Client.Local.Internal.Requests+<>c__DisplayClass7`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Start>b__2(System.Object, System.Net.UploadStringCompletedEventArgs) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.runTryCode(System.Object) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run() at WRMS.App.Main() Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name=".NET Runtime" /> <EventID Qualifiers="0">1026</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2013-05-30T05:01:09.000000000Z" /> <EventRecordID>26838</EventRecordID> <Channel>Application</Channel> <Computer>cfpa03gis.ODF.STATE.OR.US</Computer> <Security /> </System> <EventData> <Data>Application: WRMS.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException Stack: at ESRI.ArcGIS.Client.Tasks.GeometryService.LengthsAsync(System.Collections.Generic.IList`1<ESRI.ArcGIS.Client.Graphic>, System.Nullable`1<ESRI.ArcGIS.Client.Tasks.LinearUnit>, ESRI.ArcGIS.Client.Tasks.CalculationType, System.Object) at WRMS.Framework.ViewModels.MeasureVM.<measure>b__4(ESRI.ArcGIS.Client.Local.LocalGeometryService) at ESRI.ArcGIS.Client.Local.LocalService.FailStart(System.Exception) at ESRI.ArcGIS.Client.Local.Internal.Requests.ProcessResponse[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, System.String, System.Exception, Boolean, System.String, System.Action`2<System.__Canon,ESRI.ArcGIS.Client.Local.Internal.RequestInfo>) at ESRI.ArcGIS.Client.Local.Internal.Requests+<>c__DisplayClass7`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Start>b__2(System.Object, System.Net.UploadStringCompletedEventArgs) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.runTryCode(System.Object) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.WrappedInvoke(System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunInternal(System.Windows.Window) at System.Windows.Application.Run() at WRMS.App.Main() </Data> </EventData> </Event>
... View more
05-29-2013
09:09 PM
|
0
|
0
|
1003
|
|
POST
|
Dragging and dropping Runtime Application works great, have it working against ArcGIS Server and can do a quite a few different tasks yet when I deploy via ClickOnce -- 😞 deploys and have alot of people using this application works great until I try to start a GeometryService-- getting this and have gotten of reports on about 10 machines so far Log Name: Application Source: Application Error Date: 05/29/2013 10:01:10 PM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: cfpa03gis.ODF.STATE.OR.US Description: Faulting application name: WRMS.exe, version: 1.0.0.0, time stamp: 0x51a6dcbc Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b Exception code: 0xe0434352 Fault offset: 0x0000000000009e5d Faulting process id: 0x6ea8 Faulting application start time: 0x01ce5cf2ad0160d3 Faulting application path: C:\Users\blocke\AppData\Local\Apps\2.0\WO9WVNVW.X30\K1H5434P.O2E\wrms..tion_a062cf3d3dbaacfb_0001.0000_2b6e0cc01b655b6e\WRMS.exe Faulting module path: C:\Windows\system32\KERNELBASE.dll Report Id: f1082f3c-c8e5-11e2-98a6-d067e544e921 Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2013-05-30T05:01:10.000000000Z" /> <EventRecordID>26839</EventRecordID> <Channel>Application</Channel> <Computer>cfpa03gis.ODF.STATE.OR.US</Computer> <Security /> </System> <EventData> <Data>WRMS.exe</Data> <Data>1.0.0.0</Data> <Data>51a6dcbc</Data> <Data>KERNELBASE.dll</Data> <Data>6.1.7601.18015</Data> <Data>50b8479b</Data> <Data>e0434352</Data> <Data>0000000000009e5d</Data> <Data>6ea8</Data> <Data>01ce5cf2ad0160d3</Data> <Data>C:\Users\blocke\AppData\Local\Apps\2.0\WO9WVNVW.X30\K1H5434P.O2E\wrms..tion_a062cf3d3dbaacfb_0001.0000_2b6e0cc01b655b6e\WRMS.exe</Data> <Data>C:\Windows\system32\KERNELBASE.dll</Data> <Data>f1082f3c-c8e5-11e2-98a6-d067e544e921</Data> </EventData> </Event>
... View more
05-29-2013
09:08 PM
|
0
|
0
|
1003
|
|
POST
|
hmmmm Good point where can I post my resume! Hint Hint---- probably not the place ???
... View more
05-28-2013
12:51 PM
|
0
|
0
|
824
|
|
POST
|
http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/8970b8d2-eeb4-48bd-b883-18b75fb47b74/ I am still trying to figure this stuff out 😞 with windows 8 and in the Runtime you may be able to use just the simple GPS Layer if you read through all the MSDN and ESRI docs as the GPS Layer uses GeoPositionWatcher, and I think that the the Windows Location may be used for WiFi at least this is where I am Stuck like Mike was Saying I think that I may be on the Right track????
... View more
05-28-2013
12:47 PM
|
0
|
0
|
474
|
|
POST
|
http://video.esri.com/watch/2321/implementng-analysis_comma_-editing_comma_-and-offline-applications-with-arcgis-runtime-sdk-for-wpf Great Session Some very key things are pointed out that I have yet to discover within the API or Concept documentation, these guys are definately willing to answer any questions also
... View more
05-28-2013
12:37 PM
|
0
|
0
|
434
|
|
POST
|
and class for reading Automated Flight Following KML in Runtime c# using WRMS.Framework.Utilities;
using System.ComponentModel;
using System.Windows.Input;
using WRMS.Framework.Commands;
using Microsoft.Win32;
using System.IO;
using System.Xml;
using System.Net;
using Ionic.Zip;
using System;
using System.Windows.Documents;
using System.Collections.Generic;
using System.Xml.Linq;
using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Geometry;
using System.Text.RegularExpressions;
using AffCore;
namespace WRMS.Framework.ViewModels
{
class AffVM : MapHelper, INotifyPropertyChanged
{
GraphicsLayer graphicsLayer = _map.Layers["affResourcesGraphicsLayer"] as GraphicsLayer;
OpenFileDialog ofd;
XmlDocument affFileObj = new XmlDocument();
string resourceUrl;
private string _path;
public string path
{
get { return _path; }
set
{
if (_path != value)
{
_path = value;
onPropertyChanged("url");
}
}
}
private string _bytesReceivedDisp;
public string bytesReceivedDisp
{
get { return _bytesReceivedDisp; }
set
{
if (_bytesReceivedDisp!=value)
{
_bytesReceivedDisp = value;
onPropertyChanged("bytesReceivedDisp");
}
}
}
private string _totalBytesDisp;
public string totalBytesDisp
{
get { return _totalBytesDisp; }
set
{
if (_totalBytesDisp!=value)
{
_totalBytesDisp = value;
onPropertyChanged("totalBytesDisp");
}
}
}
private double _bytesReceived;
public double bytesReceived
{
get { return _bytesReceived; }
set
{
if (_bytesReceived != value)
{
_bytesReceived = value;
onPropertyChanged("bytesReceived");
}
}
}
private double _totalBytes = 100;
public double totalBytes
{
get { return _totalBytes; }
set
{
if (_totalBytes != value)
{
_totalBytes = value;
onPropertyChanged("totalBytes");
}
}
}
private string _status;
public string status
{
get { return _status; }
set
{
if (_status != value)
{
_status = value;
onPropertyChanged("status");
}
}
}
private bool _isDisplayed;
public bool isDisplayed
{
get { return _isDisplayed; }
set
{
if (_isDisplayed!=value)
{
_isDisplayed = value;
onPropertyChanged("isDisplayed");
}
}
}
private List<Graphic> _airResourceGraphics;
public List<Graphic> airResourceGraphics
{
get { return _airResourceGraphics; }
set
{
if (_airResourceGraphics!=value)
{
_airResourceGraphics = value;
onPropertyChanged("airResourceGraphics");
}
}
}
private string _returnMessage;
public string returnMessage
{
get { return _returnMessage; }
set
{
if (_returnMessage != value)
{
_returnMessage = value;
onPropertyChanged("returnMessage");
}
}
}
private bool _displayIsChecked;
public bool displayIsChecked
{
get { return _displayIsChecked; }
set
{
if (_displayIsChecked != value)
{
_displayIsChecked = value;
onPropertyChanged("displayIsChecked");
}
}
}
private string _tmpResourceKml;
private string _tmpKmz;
private const double _maxX = -126.58;
private const double _minX = -114.21;
private const double _maxY = 48.18;
private const double _minY = 39.96;
private double _latitude;
private double _longitude;
public ICommand addKmlAffLayerCommand { get { return new AddKmlAffLayerCommand(this); } }
public ICommand toggleDisplayAff { get { return new ToggleDisplayAffCommand(this); } }
public void addAff()
{
returnMessage = "";
ofd = new OpenFileDialog();
ofd.DefaultExt = ".kml";
ofd.Filter = "AFF KML File (*.KML)|*.kml|AFF KMZ File (*.kmz)|*.kmz";
ofd.ShowDialog();
if (ofd.FileName!="")
{
path = ofd.FileName;
status = "Loading";
affFile(path);
}
}
private void affFile(string kmlFilePath)
{
affFileObj.Load(kmlFilePath);
using (XmlReader reader = XmlReader.Create(affFileObj.BaseURI))
{
reader.ReadToFollowing("Url");
XmlReader urlXml= reader.ReadSubtree();
urlXml.ReadToFollowing("href");
resourceUrl = urlXml.ReadString();
}
_tmpKmz = Path.GetTempPath().ToString() + "resource.zip";
_tmpResourceKml = Path.GetTempPath().ToString() + "resource.kml";
WebClient webDownloader = new WebClient();
webDownloader.DownloadFileCompleted += (sender, e) =>
{
using (ZipFile kmz = ZipFile.Read(_tmpKmz))
foreach (ZipEntry item in kmz)
item.Extract(_tmpResourceKml,ExtractExistingFileAction.OverwriteSilently);
status = "refreshing";
parseKmlResources();
};
webDownloader.DownloadProgressChanged += (sender, e) =>
{
bytesReceivedDisp = e.BytesReceived.ToString() + "kb/";
totalBytesDisp = e.TotalBytesToReceive.ToString() + "kb";
bytesReceived = Convert.ToDouble(e.BytesReceived);
totalBytes = Convert.ToDouble(e.TotalBytesToReceive);
};
webDownloader.DownloadFileAsync(new System.Uri(resourceUrl), _tmpKmz);
}
private void parseKmlResources()
{
List<Graphic> graphics = new List<Graphic>();
var resourceXml = XDocument.Load(_tmpResourceKml + "/resource.kml");
string xmlNs = "{" + resourceXml.Root.Name.Namespace.ToString() + "}";
foreach (var placemark in resourceXml.Descendants(xmlNs + "Placemark"))
{
foreach (var coordinates in placemark.Descendants(xmlNs + "Point"))
{
string[] coordinateCollection = coordinates.Element(xmlNs + "coordinates").Value.ToString().Split(new char[] { ',' });
_longitude = Convert.ToDouble(coordinateCollection[0]);
_latitude = Convert.ToDouble(coordinateCollection[1]);
}
if (_latitude < _maxY && _latitude > _minY)
{
if (_longitude > _maxX && _longitude < _minX)
{
MobileResource affResource = new MobileResource(placemark.Value.ToString());
Graphic airResourceGraphic = new Graphic() { Geometry = new MapPoint(_longitude, _latitude, new SpatialReference(4326)) };
airResourceGraphic.Attributes.Add("Callsign", affResource.callsign);
graphics.Add(airResourceGraphic);
}
}
}
airResourceGraphics = graphics;
graphicsLayer.GraphicsSource = airResourceGraphics;
//this is where the if statement will be if the Display button is checked
File.Delete(_tmpKmz);
affFile(path);
}
#region INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
protected void onPropertyChanged(string propertyName)
{
try
{
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
catch (Exception)
{
//implement a new type of exception to be honest I really don't because when the style template is reloaded it will still populate
}
}
#endregion
}
}
... View more
05-28-2013
12:30 PM
|
0
|
0
|
1533
|
|
POST
|
Can Even do the same for coming out and in for Polygons as well here is my VB class Imports System
Imports System.Data
Imports System.Xml
Imports System.Text
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.IO
Imports ESRI.ArcGISExplorer
Imports ESRI.ArcGISExplorer.Application
Imports ESRI.ArcGISExplorer.Geometry
Imports ESRI.ArcGISExplorer.Mapping
Imports ESRI.ArcGISExplorer.Data
Imports ESRI.ArcGISExplorer.Threading
Imports Microsoft.VisualBasic
Public Class GML
Public Type As String = Nothing
Friend WithEvents InciTableAdapter As New Inci.WRMSDataSetTableAdapters.InciTableAdapter
Friend WithEvents WRMSDataSet As New Inci.WRMSDataSet
Friend WithEvents GMLRtrnDataTable As New DataTable
Private disp As MapDisplay = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay
Public Sub PerimGet(ByVal InciName As String)
Me.InciTableAdapter.FillByInciNumber(WRMSDataSet.Inci, InciName)
For Each InfoRow In Me.WRMSDataSet.Inci
InfoRow("GML").ToString()
Next InfoRow
End Sub
Public Function XMLToGeom(ByVal XMLGeo As String)
Dim Perim As Polygon = New Polygon()
Using XMLRead As XmlReader = XmlReader.Create(New StringReader(XMLGeo))
XMLRead.ReadToFollowing("posList")
Dim LatLongStrArr() As String = (XMLRead.ReadElementContentAsString()).Split(" ")
For I = LatLongStrArr.Length - 1 To 0 Step -2
Perim.AddPoint(ESRI.ArcGISExplorer.Geometry.Point.CreateFromLatitudeLongitude(CDbl(LatLongStrArr(I - 1).ToString), CDbl(LatLongStrArr(I).ToString)))
Next I
Perim.Close()
Return Perim
End
Using resource As New Object
End Using
End Function
Public Sub CreateNwInci(ByVal InciName As String, ByVal InciNumber As String, ByVal InciType As String, ByVal GeomAsXML As String)
'Inserts Incident data into the WRMS Datatables
Try
Me.InciTableAdapter.USP_CrtNwInci(InciName, InciNumber, InciType, GeomAsXML, Now)
GetInci(InciNumber)
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Public Function GeomToXML(ByVal GObj As Geometry)
Dim GeoPoly As Polygon = GObj
Dim GeoXMLStr As New StringBuilder
Dim XwSettings As XmlWriterSettings = New XmlWriterSettings()
XwSettings.OmitXmlDeclaration = True
Using Xw As XmlWriter = XmlWriter.Create(GeoXMLStr, XwSettings)
Xw.WriteStartElement("Polygon", "http://www.opengis.net/gml")
Xw.WriteStartElement("exterior")
Xw.WriteStartElement("LinearRing")
Xw.WriteStartElement("posList")
For Pt = GeoPoly.PointCount - 1 To 0 Step -1
Xw.WriteRaw(GeoPoly.GetPoint(Pt).GetLatitude.ToString("####.000000") + " " + GeoPoly.GetPoint(Pt).GetLongitude.ToString("####.000000") + " ")
Next Pt
Xw.WriteEndElement()
Xw.WriteEndElement()
Xw.WriteEndElement()
Xw.WriteEndElement()
Xw.Flush()
Xw.Close()
End Using
Return GeoXMLStr.ToString
End Function
Public Sub GetInci(ByVal InciNumber As String)
GMLRtrnDataTable = Me.InciTableAdapter.GetDataByInciNumber(InciNumber)
For Each Row As DataRow In GMLRtrnDataTable.Rows
Dim PerimNt As New Note(Row("Inci_Name").ToString(), _
XMLToGeom(Row("GML").ToString()), _
Symbol.Fill.Solid.Red)
PerimNt.Popup.Content = "Acres: " + Row("Inci_Acreage").ToString()
disp.Map.ChildItems.Add(PerimNt)
Next Row
End Sub
End Class
... View more
05-28-2013
12:28 PM
|
0
|
0
|
1533
|
|
POST
|
I was able to pass sentences back and forth to SQL Server 2008 R2 using GML. GML is just XML, so you may use xmlwriter and many other classes to retreive the data from attributes and elements(GML,KML all xml!) you could even do this with GeoRSS I suppose. Example for creating GML for Point Information going into SQL Server c# public static string latLongToXML (decimal lat, decimal Long)
{
StringBuilder GeoXMLStr = new StringBuilder();
XmlWriterSettings xWSettings = new XmlWriterSettings();
xWSettings.OmitXmlDeclaration = true;
XmlWriter xW = XmlWriter.Create(GeoXMLStr, xWSettings);
using (xW)
{
xW.WriteStartElement("Point", "http://www.opengis.net/gml");
xW.WriteStartElement("pos");
xW.WriteRaw(lat.ToString() + " " + Long.ToString());
xW.WriteEndElement();
xW.WriteEndElement();
xW.Flush();
xW.Close();
}
return GeoXMLStr.ToString();
... View more
05-28-2013
12:27 PM
|
0
|
0
|
1533
|
|
POST
|
VisualStateManager, or maybe even use a Converter???
... View more
04-11-2013
09:34 AM
|
0
|
0
|
493
|
|
POST
|
Would like to rotate symbol based on attributes, any one have any ideas have not seen any angle in the Docs. Maybe using the ControlTemplate and then just setting the rendertransform?? not sure?
... View more
04-11-2013
09:31 AM
|
0
|
4
|
5315
|
|
POST
|
I have went here [HTML]http://wb9coy.com/Projects.html[/HTML] Great great job by WB9COY Saved my life, I just reference the project and then made my own view model... able to get a usb puck reading but would like to actually pass the $GPPGA Sentence over to the GPS Layer instead of creating a List<Graphic> or an ObservableCollection by parsing things out. Would like to take advantage of the GpsLayer properties/methods
... View more
04-10-2013
11:52 PM
|
0
|
0
|
710
|
|
POST
|
I was able to Successfully do this can you perhaps put your code up, might be able to help?
... View more
03-28-2013
11:17 AM
|
0
|
0
|
582
|
|
POST
|
...... Wooowww really Need to look at my code before putting it up here...... fixed ... using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using ESRI.ArcGISExplorer; using ESRI.ArcGISExplorer.Application; using ESRI.ArcGISExplorer.Mapping; using ESRI.ArcGISExplorer.Geometry; using ESRI.ArcGISExplorer.Data; using ESRI.ArcGISExplorer.Threading; using WRMS.AVLDataSetTableAdapters; namespace WRMS { public class AvlGallery : ESRI.ArcGISExplorer.Application.Gallery { #region Fetch Data private AVLCurrentResourcesTableAdapter AvlTableAdapter = new AVLCurrentResourcesTableAdapter(); private AVLDataSet AvlDataSet = new AVLDataSet(); private int fetchCount; #endregion #region Icons Image t6resource = WRMS.Properties.Resources.T6Resource; #endregion public AvlGallery() { AvlTableAdapter.Fill(AvlDataSet.AVLCurrentResources); fetchCount = AvlDataSet.AVLCurrentResources.Count; avlGalleryFill(); } public override void OnClick(GalleryItem item) { AvlInfoWindow avlInfo = new AvlInfoWindow(item.Caption.ToString()); avlInfo.Location = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.ConvertToScreenPoint(ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Center); avlInfo.StartPosition = FormStartPosition.Manual; avlInfo.Show(); } public override void OnUpdate() { base.OnUpdate(); if (AVL.isChecked) { Enabled = true; AvlTableAdapter.Fill(AvlDataSet.AVLCurrentResources); if (fetchCount != AvlDataSet.AVLCurrentResources.Count) { Items.Clear(); avlGalleryFill(); fetchCount = AvlDataSet.AVLCurrentResources.Count; } } else { Enabled = false; } } public void avlGalleryFill() { foreach (DataRow resource in AvlDataSet.AVLCurrentResources) { Items.Add(new GalleryItem(resource["Callsign"].ToString(), t6resource)); } } } }
... View more
11-02-2012
06:34 PM
|
0
|
0
|
464
|
|
POST
|
ok Think that I am getting warmer, I am seeing that while the gallery is open it would be protected and you can't write to protected mem. any way to manaually close the gallery drop down maybe even switch the focus???
... View more
11-02-2012
05:49 PM
|
0
|
0
|
464
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-22-2015 05:51 PM | |
| 1 | 07-22-2015 05:30 PM | |
| 1 | 07-14-2014 07:12 PM | |
| 1 | 07-29-2014 10:47 AM | |
| 1 | 07-14-2014 05:19 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-22-2023
01:48 PM
|