# Edit Data For Tab File

**URL:** <https://community.thinkgeo.com/t/edit-data-for-tab-file/1683>\
**Category:** WinForms\
**Created:** [April 26, 2011, 3:47am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683 "2011-04-26T03:47:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [April 26, 2011, 3:47am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/1 "2011-04-26T03:47:46Z")

</div>

Dear&nbsp;All,

I&nbsp;have&nbsp;a&nbsp;Tab&nbsp;File,&nbsp;which&nbsp;is&nbsp;loaded&nbsp;by&nbsp;TabFileFutureLayer&nbsp;on&nbsp;map&nbsp;control.

My&nbsp;question&nbsp;is

1.&nbsp;Is&nbsp;the&nbsp;tab&nbsp;file&nbsp;editable?

My&nbsp;requrement&nbsp;is,&nbsp;we&nbsp;are&nbsp;doing&nbsp;survey&nbsp;for&nbsp;our&nbsp;client.&nbsp;Some&nbsp;times&nbsp;distance&nbsp;of&nbsp;survey&nbsp;done&nbsp;extra&nbsp;from&nbsp;the&nbsp;actual&nbsp;site&nbsp;by&nbsp;mistake&nbsp;and&nbsp;that&nbsp;is&nbsp;not&nbsp;requirement&nbsp;of&nbsp;customer.&nbsp;After&nbsp;expoting&nbsp;log&nbsp;file&nbsp;from&nbsp;TEMS,&nbsp;I&nbsp;am&nbsp;geeting&nbsp;tab&nbsp;file.&nbsp;When&nbsp;I&nbsp;am&nbsp;plotting&nbsp;tab&nbsp;file&nbsp;on&nbsp;map&nbsp;control,&nbsp;now&nbsp;requirement&nbsp;is

1.&nbsp;select&nbsp;all&nbsp;those&nbsp;point&nbsp;on&nbsp;map,&nbsp;which&nbsp;is&nbsp;extra&nbsp;survey,&nbsp;with&nbsp;help&nbsp;of&nbsp;mouse.

2.&nbsp;Remove&nbsp;all&nbsp;those&nbsp;points&nbsp;from&nbsp;tab&nbsp;file,&nbsp;which&nbsp;is&nbsp;extra&nbsp;surveyed&nbsp;bu&nbsp;us,&nbsp;is&nbsp;selected&nbsp;by&nbsp;mouse,&nbsp;so&nbsp;that&nbsp;modified&nbsp;syrveyed&nbsp;tab&nbsp;file&nbsp;can&nbsp;submit&nbsp;to&nbsp;customer.

How&nbsp;we&nbsp;can&nbsp;achieve&nbsp;this?

Regards

Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [April 26, 2011, 4:43am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/2 "2011-04-26T04:43:03Z")

</div>

Hi&nbsp;Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;In&nbsp;current&nbsp;TabFileFeatureLayer,&nbsp;we&nbsp;only&nbsp;provide&nbsp;read-only&nbsp;functions&nbsp;for&nbsp;tab&nbsp;files.&nbsp;We’re&nbsp;deeply&nbsp;sorry&nbsp;for&nbsp;the&nbsp;inconvenience,&nbsp;but&nbsp;we’ll&nbsp;carefully&nbsp;consider&nbsp;your&nbsp;requirement,&nbsp;hopefully&nbsp;we’ll&nbsp;integrate&nbsp;edit&nbsp;functions&nbsp;into&nbsp;TabFileFeatureLayer&nbsp;in&nbsp;the&nbsp;near&nbsp;future.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ivan

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [April 26, 2011, 5:20am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/3 "2011-04-26T05:20:19Z")

</div>

Hi&nbsp;Ivan,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;reply.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;think&nbsp;you&nbsp;understand&nbsp;my&nbsp;requirement.&nbsp;In&nbsp;may&nbsp;a&nbsp;new&nbsp;version&nbsp;will&nbsp;release.&nbsp;I&nbsp;want&nbsp;to&nbsp;know,&nbsp;is&nbsp;this&nbsp;feature&nbsp;will&nbsp;available&nbsp;in&nbsp;new&nbsp;version.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [April 26, 2011, 8:29pm UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/4 "2011-04-26T20:29:09Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;In&nbsp;May&nbsp;release&nbsp;we&nbsp;added&nbsp;the&nbsp;strong&nbsp;ability&nbsp;for&nbsp;tab&nbsp;file&nbsp;that&nbsp;includes&nbsp;the&nbsp;load,&nbsp;edit&nbsp;functionalities.&nbsp;Please&nbsp;keep&nbsp;your&nbsp;eyes&nbsp;on&nbsp;the&nbsp;website&nbsp;once&nbsp;the&nbsp;new&nbsp;public&nbsp;release&nbsp;can&nbsp;be&nbsp;downloaded,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [May 27, 2011, 3:05am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/5 "2011-05-27T03:05:10Z")

</div>

Dear&nbsp;Scott,&nbsp;  
  
  
  
Thank&nbsp;you&nbsp;to&nbsp;added&nbsp;new&nbsp;editing&nbsp;features&nbsp;for&nbsp;TAB&nbsp;File.&nbsp;I&nbsp;have&nbsp;worked&nbsp;as&nbsp;a&nbsp;sample&nbsp;for&nbsp;my&nbsp;purpose&nbsp;and&nbsp;my&nbsp;concern&nbsp;is&nbsp;  
  
  
  
1.&nbsp;In&nbsp;4.5.0.0&nbsp;desktop&nbsp;version&nbsp;a&nbsp;class&nbsp;used&nbsp;TabFileFutureLayer,&nbsp;but&nbsp;in&nbsp;5.0.0.0&nbsp;version&nbsp;TabFutureLayer&nbsp;class&nbsp;has&nbsp;used.&nbsp;It&nbsp;means&nbsp;if&nbsp;I&nbsp;use&nbsp;5.0.0.0&nbsp;version,&nbsp;my&nbsp;whole&nbsp;project&nbsp;needs&nbsp;to&nbsp;modify.&nbsp;Is&nbsp;I&nbsp;am&nbsp;right&nbsp;or&nbsp;wrong?&nbsp;If&nbsp;I&nbsp;am&nbsp;right,&nbsp;what&nbsp;is&nbsp;the&nbsp;best&nbsp;way?  
  
  
  
2.&nbsp;The&nbsp;sample&nbsp;provided&nbsp;on&nbsp;wiki&nbsp;for&nbsp;NativeTabFileSupport,&nbsp;I&nbsp;gone&nbsp;through&nbsp;the&nbsp;sample&nbsp;and&nbsp;reprojected&nbsp;my&nbsp;concern&nbsp;but&nbsp;its&nbsp;not&nbsp;working&nbsp;for&nbsp;me.&nbsp;The&nbsp;difference&nbsp;is&nbsp;the&nbsp;sample&nbsp;Tab&nbsp;File&nbsp;used&nbsp;is&nbsp;based&nbsp;on&nbsp;area&nbsp;style,&nbsp;but&nbsp;my&nbsp;Tab&nbsp;File&nbsp;is&nbsp;based&nbsp;ob&nbsp;point&nbsp;style.&nbsp;Please&nbsp;help&nbsp;to&nbsp;solve&nbsp;my&nbsp;problem.&nbsp;  
  
  
  
Regards&nbsp;  
  
Sanjay

---

<div class="post-metadata">

**Author:** ![Jack](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://community.thinkgeo.com/u/Jack)\
**Post date:** [May 27, 2011, 11:41am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/6 "2011-05-27T11:41:21Z")

</div>

Hi&nbsp;Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;TabFileFeatureLayer&nbsp;is&nbsp;renamed&nbsp;to&nbsp;TabFeatureLayer&nbsp;in&nbsp;the&nbsp;API&nbsp;review&nbsp;before&nbsp;5.0&nbsp;public&nbsp;release.&nbsp;As&nbsp;well&nbsp;as&nbsp;some&nbsp;minor&nbsp;API&nbsp;changes.&nbsp;The&nbsp;TabFileFeatuureLayer&nbsp;is&nbsp;added&nbsp;after&nbsp;4.5&nbsp;public&nbsp;release&nbsp;which&nbsp;doesn’t&nbsp;pass&nbsp;through&nbsp;the&nbsp;API&nbsp;review.&nbsp;We&nbsp;have&nbsp;to&nbsp;do&nbsp;this&nbsp;breaking&nbsp;change&nbsp;before&nbsp;it&nbsp;goes&nbsp;further.&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;afraid&nbsp;you&nbsp;have&nbsp;to&nbsp;do&nbsp;the&nbsp;renaming&nbsp;in&nbsp;your&nbsp;whole&nbsp;project.&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;inconvenience.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;For&nbsp;the&nbsp;2#&nbsp;question,&nbsp;could&nbsp;you&nbsp;please&nbsp;upload&nbsp;your&nbsp;sample&nbsp;project&nbsp;as&nbsp;well&nbsp;as&nbsp;the&nbsp;data?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Lee&nbsp;

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [May 28, 2011, 12:45am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/7 "2011-05-28T00:45:15Z")

</div>

Dear&nbsp;Lee,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;For&nbsp;reply.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;have&nbsp;attached&nbsp;my&nbsp;sample&nbsp;code&nbsp;with&nbsp;my&nbsp;ticket&nbsp;no&nbsp;3370.&nbsp;  
&nbsp;&nbsp;  
&nbsp;My&nbsp;concern&nbsp;point&nbsp;is&nbsp;  
&nbsp;1.&nbsp;When&nbsp;I&nbsp;am&nbsp;clicking&nbsp;on&nbsp;map&nbsp;  
&nbsp;&nbsp;  
&nbsp;tabFeatureLayer.QueryTools.GetFeaturesContaining(e.WorldLocation,&nbsp;ReturningColumnsType.AllColumns)&nbsp;-&nbsp;is&nbsp;used&nbsp;to&nbsp;select&nbsp;for&nbsp;area&nbsp;style&nbsp;  
&nbsp;&nbsp;  
&nbsp;this&nbsp;not&nbsp;worked&nbsp;for&nbsp;point&nbsp;style&nbsp;map,&nbsp;so&nbsp;I&nbsp;used&nbsp;  
&nbsp;tabFeatureLayer.QueryTools.GetFeaturesNearestTo(clickedPointShape,&nbsp;WinformsMap1.MapUnit,&nbsp;1,&nbsp;ReturningColumnsType.NoColumns)&nbsp;  
&nbsp;&nbsp;  
&nbsp;So,&nbsp;how&nbsp;we&nbsp;decide,&nbsp;which&nbsp;function&nbsp;will&nbsp;used&nbsp;based&nbsp;on&nbsp;map&nbsp;display&nbsp;style&nbsp;  
&nbsp;&nbsp;  
&nbsp;2.&nbsp;After&nbsp;point&nbsp;selection&nbsp;and&nbsp;click&nbsp;on&nbsp;delete&nbsp;button,&nbsp;either&nbsp;point&nbsp;not&nbsp;deleted&nbsp;or&nbsp;map&nbsp;not&nbsp;refreshed.&nbsp;  
&nbsp;&nbsp;  
&nbsp;3.&nbsp;When&nbsp;multiple&nbsp;selection&nbsp;used&nbsp;and&nbsp;clicked&nbsp;on&nbsp;delete&nbsp;button,&nbsp;an&nbsp;error&nbsp;occured,&nbsp;key&nbsp;not&nbsp;found.&nbsp;  
&nbsp;&nbsp;  
&nbsp;4.&nbsp;How&nbsp;to&nbsp;add&nbsp;new&nbsp;point&nbsp;like&nbsp;star&nbsp;on&nbsp;map&nbsp;with&nbsp;mouse&nbsp;click&nbsp;on&nbsp;map.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![Jack](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://community.thinkgeo.com/u/Jack)\
**Post date:** [May 30, 2011, 11:40am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/8 "2011-05-30T11:40:07Z")

</div>

Hi&nbsp;Sanjay,  
  
Thanks&nbsp;for&nbsp;your&nbsp;sample.&nbsp;Let’s&nbsp;go&nbsp;through&nbsp;your&nbsp;questions.  
  
1.&nbsp;The&nbsp;styles&nbsp;are&nbsp;just&nbsp;control&nbsp;the&nbsp;data&nbsp;rendering,&nbsp;it&nbsp;has&nbsp;nothing&nbsp;to&nbsp;do&nbsp;with&nbsp;any&nbsp;of&nbsp;the&nbsp;spatial&nbsp;queries&nbsp;nor&nbsp;projections.&nbsp;The&nbsp;shape(feature)&nbsp;decided&nbsp;itself&nbsp;is&nbsp;a&nbsp;Point,&nbsp;Line&nbsp;or&nbsp;Area&nbsp;Type,&nbsp;and&nbsp;we&nbsp;will&nbsp;apply&nbsp;certain&nbsp;style&nbsp;on&nbsp;it&nbsp;to&nbsp;draw.

You&nbsp;are&nbsp;trying&nbsp;to&nbsp;use&nbsp;the&nbsp;method&nbsp;GetFeaturesContining()&nbsp;to&nbsp;query&nbsp;the&nbsp;features&nbsp;containing&nbsp;the&nbsp;point&nbsp;you&nbsp;passed&nbsp;in,&nbsp;that’s&nbsp;correct,&nbsp;but&nbsp;keep&nbsp;this&nbsp;in&nbsp;mind,&nbsp;only&nbsp;area&nbsp;type&nbsp;feature&nbsp;may&nbsp;contains&nbsp;other&nbsp;features,&nbsp;such&nbsp;as&nbsp;lines&nbsp;or&nbsp;points,&nbsp;so&nbsp;this&nbsp;method&nbsp;only&nbsp;works&nbsp;for&nbsp;area&nbsp;features.  
  
If&nbsp;you&nbsp;want&nbsp;to&nbsp;find&nbsp;the&nbsp;Point&nbsp;type&nbsp;feature&nbsp;around&nbsp;your&nbsp;clicking&nbsp;point,&nbsp;the&nbsp;GetFeaturesNearest()&nbsp;is&nbsp;one&nbsp;option.&nbsp;And&nbsp;there&nbsp;is&nbsp;another&nbsp;one:&nbsp;create&nbsp;a&nbsp;RectangeShape&nbsp;(or&nbsp;AreaType&nbsp;shape)&nbsp;in&nbsp;certain&nbsp;size&nbsp;based&nbsp;on&nbsp;the&nbsp;point&nbsp;you&nbsp;clicked,&nbsp;and&nbsp;use&nbsp;GetFeaturesWithIn(),&nbsp;that&nbsp;will&nbsp;return&nbsp;the&nbsp;features&nbsp;inside&nbsp;the&nbsp;shape&nbsp;you&nbsp;created.  
  
2.&nbsp;We&nbsp;will&nbsp;do&nbsp;some&nbsp;test&nbsp;on&nbsp;2#&nbsp;and&nbsp;3#&nbsp;and&nbsp;let&nbsp;you&nbsp;know&nbsp;how&nbsp;it&nbsp;goes.  
  
3.&nbsp;About&nbsp;adding&nbsp;points&nbsp;by&nbsp;clicking&nbsp;on&nbsp;map,&nbsp;I&nbsp;would&nbsp;like&nbsp;do&nbsp;this:  
  
&nbsp;&nbsp;&nbsp;&nbsp;a.&nbsp;Create&nbsp;a&nbsp;InmemoryFeatureLayer.  
  
&nbsp;&nbsp;&nbsp;&nbsp;b.&nbsp;Setup&nbsp;the&nbsp;styles  
  
&nbsp;&nbsp;&nbsp;&nbsp;c.&nbsp;On&nbsp;WinformsMap1\_MapClick&nbsp;event,&nbsp;convert&nbsp;the&nbsp;mouse&nbsp;click&nbsp;point&nbsp;to&nbsp;world&nbsp;coordinate,&nbsp;and&nbsp;add&nbsp;it&nbsp;into&nbsp;the&nbsp;InmemoryFeatureLayer.

Thanks,  
  
Lee  
  
&nbsp;

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [May 31, 2011, 12:39am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/9 "2011-05-31T00:39:33Z")

</div>

Dear&nbsp;Lee,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;For&nbsp;replay.&nbsp;I&nbsp;am&nbsp;eagerly&nbsp;waiting&nbsp;answer&nbsp;for&nbsp;my&nbsp;2nd&nbsp;and&nbsp;3rd&nbsp;question.&nbsp;If&nbsp;possible&nbsp;please&nbsp;provide&nbsp;sample&nbsp;for&nbsp;2nd,&nbsp;3rd&nbsp;and&nbsp;4th&nbsp;point.&nbsp;  
&nbsp;&nbsp;  
&nbsp;One&nbsp;thing&nbsp;I&nbsp;want&nbsp;to&nbsp;know,&nbsp;If&nbsp;I&nbsp;am&nbsp;deleteing&nbsp;some&nbsp;points&nbsp;on&nbsp;map,&nbsp;is&nbsp;it&nbsp;deleting&nbsp;point&nbsp;on&nbsp;map&nbsp;or&nbsp;from&nbsp;tab&nbsp;file&nbsp;or&nbsp;both?&nbsp;My&nbsp;concern&nbsp;point&nbsp;is&nbsp;if&nbsp;I&nbsp;am&nbsp;deleting&nbsp;some&nbsp;points&nbsp;on&nbsp;map&nbsp;and&nbsp;not&nbsp;saved,&nbsp;it&nbsp;will&nbsp;affect&nbsp;my&nbsp;tab&nbsp;file&nbsp;or&nbsp;not.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![Jack](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://community.thinkgeo.com/u/Jack)\
**Post date:** [May 31, 2011, 9:52am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/10 "2011-05-31T09:52:14Z")

</div>

Hi&nbsp;Sanjay,

We&nbsp;have&nbsp;a&nbsp;bug&nbsp;in&nbsp;TabFeatureLayer&nbsp;spatial&nbsp;queries,&nbsp;the&nbsp;return&nbsp;feature’s&nbsp;ID&nbsp;is&nbsp;incorrect,&nbsp;so&nbsp;the&nbsp;Delete&nbsp;method&nbsp;doesn’t&nbsp;work&nbsp;properly&nbsp;on&nbsp;the&nbsp;TAB&nbsp;file.&nbsp;we&nbsp;have&nbsp;added&nbsp;this&nbsp;bug&nbsp;in&nbsp;our&nbsp;issue&nbsp;track&nbsp;system.&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;inconvenience.  
  
For&nbsp;the&nbsp;4#,&nbsp;I&nbsp;created&nbsp;a&nbsp;simple&nbsp;sample&nbsp;below.  
  
&nbsp;

`   Private Sub frmEditTabFile_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load        Dim ver As String = WinformsMap.GetVersion        WinformsMap1.MapUnit = GeographyUnit.DecimalDegree        WinformsMap1.ThreadingMode = MapThreadingMode.SingleThreaded        WinformsMap1.BackgroundOverlay.BackgroundBrush = New GeoSolidBrush(GeoColor.GeographicColors.DeepOcean)        Dim starLayer As New InMemoryFeatureLayer()        starLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20        starLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = New PointStyle(PointSymbolType.Star, New GeoSolidBrush(GeoColor.SimpleColors.Red), 10)                Dim StarOverlay As New LayerOverlay()        StarOverlay.Layers.Add("StarLayer", starLayer)        WinformsMap1.Overlays.Add("StarOverlay", StarOverlay)        WinformsMap1.CurrentExtent = New RectangleShape(-180, 90, 180, -90)        WinformsMap1.Refresh()        AddHandler WinformsMap1.MapClick, AddressOf WinformsMap1_MapClick    End Sub    Private Sub WinformsMap1_MapClick(ByVal sender As Object, ByVal e As MapClickWinformsMapEventArgs)        If WinformsMap1.TrackOverlay.TrackMode = TrackMode.None Then            Dim starLayer As InMemoryFeatureLayer = WinformsMap1.FindFeatureLayer("StarLayer")            starLayer.InternalFeatures.Add(New Feature(e.WorldLocation))            WinformsMap1.Refresh(WinformsMap1.Overlays("StarOverlay"))        End If    End Sub`

Thanks,

Lee

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [June 1, 2011, 5:42am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/11 "2011-06-01T05:42:59Z")

</div>

Dear&nbsp;Lee,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;reply.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;will&nbsp;test&nbsp;the&nbsp;sample,&nbsp;and&nbsp;if&nbsp;I&nbsp;will&nbsp;face&nbsp;any&nbsp;problem,&nbsp;I&nbsp;will&nbsp;inform&nbsp;you&nbsp;and&nbsp;parellely&nbsp;I&nbsp;will&nbsp;wating&nbsp;for&nbsp;bug&nbsp;to&nbsp;be&nbsp;fix.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![Jack](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@Jack](https://community.thinkgeo.com/u/Jack)\
**Post date:** [June 1, 2011, 11:10am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/12 "2011-06-01T11:10:06Z")

</div>

Welcome,&nbsp;Feel&nbsp;free&nbsp;to&nbsp;post&nbsp;any&nbsp;problems&nbsp;you&nbsp;have.&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Lee

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [June 3, 2011, 12:40am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/13 "2011-06-03T00:40:05Z")

</div>

Dear&nbsp;Lee,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Is&nbsp;any&nbsp;progress&nbsp;on&nbsp;my&nbsp;post&nbsp;no&nbsp;130&nbsp;,&nbsp;the&nbsp;queston&nbsp;no&nbsp;#2&nbsp;and&nbsp;#3&nbsp;as&nbsp;describe&nbsp;below&nbsp;  
&nbsp;&nbsp;  
&nbsp;2.&nbsp;After&nbsp;point&nbsp;selection&nbsp;and&nbsp;click&nbsp;on&nbsp;delete&nbsp;button,&nbsp;either&nbsp;point&nbsp;not&nbsp;deleted&nbsp;or&nbsp;map&nbsp;not&nbsp;refreshed.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;3.&nbsp;When&nbsp;multiple&nbsp;selection&nbsp;used&nbsp;and&nbsp;clicked&nbsp;on&nbsp;delete&nbsp;button,&nbsp;an&nbsp;error&nbsp;occured,&nbsp;key&nbsp;not&nbsp;found.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 3, 2011, 1:37pm UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/14 "2011-06-03T13:37:12Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;inconvenience,&nbsp;we&nbsp;have&nbsp;updated&nbsp;the&nbsp;status&nbsp;for&nbsp;ticket&nbsp;3370,&nbsp;in&nbsp;the&nbsp;ticket&nbsp;3370&nbsp;you&nbsp;posted&nbsp;two&nbsp;issues,&nbsp;one&nbsp;is&nbsp;for&nbsp;the&nbsp;delete&nbsp;issue,&nbsp;another&nbsp;is&nbsp;for&nbsp;the&nbsp;loading&nbsp;performance&nbsp;issue.&nbsp;The&nbsp;delete&nbsp;issue&nbsp;had&nbsp;been&nbsp;fixed,&nbsp;please&nbsp;get&nbsp;the&nbsp;5.0.20.0&nbsp;to&nbsp;try&nbsp;again,&nbsp;the&nbsp;loading&nbsp;performance&nbsp;issue&nbsp;has&nbsp;been&nbsp;added&nbsp;to&nbsp;our&nbsp;issue&nbsp;list,&nbsp;our&nbsp;development&nbsp;team&nbsp;will&nbsp;work&nbsp;on&nbsp;that&nbsp;and&nbsp;if&nbsp;there&nbsp;are&nbsp;any&nbsp;updates&nbsp;I&nbsp;will&nbsp;let&nbsp;you&nbsp;know,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [June 4, 2011, 12:42am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/15 "2011-06-04T00:42:39Z")

</div>

Dear&nbsp;Scott,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;reply,&nbsp;  
&nbsp;&nbsp;  
&nbsp;First&nbsp;thing&nbsp;is&nbsp;in&nbsp;ticket&nbsp;3370&nbsp;I&nbsp;have&nbsp;posted&nbsp;three&nbsp;issue&nbsp;  
&nbsp;1.&nbsp;Delete&nbsp;issue&nbsp;from&nbsp;tab&nbsp;file&nbsp;:&nbsp;with&nbsp;help&nbsp;of&nbsp;5.0.20.0,&nbsp;still&nbsp;I&nbsp;am&nbsp;not&nbsp;able&nbsp;to&nbsp;delete&nbsp;the&nbsp;features.&nbsp;&nbsp;  
&nbsp;2.&nbsp;Performance&nbsp;Issue&nbsp;:&nbsp;Currently&nbsp;your&nbsp;team&nbsp;is&nbsp;working&nbsp;on&nbsp;this.&nbsp;  
&nbsp;3.&nbsp;Layer&nbsp;refresh&nbsp;problem&nbsp;:&nbsp;Still&nbsp;the&nbsp;same&nbsp;&nbsp;condition.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;check&nbsp;all.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 6, 2011, 2:45pm UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/16 "2011-06-06T14:45:36Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;For&nbsp;your&nbsp;three&nbsp;issues&nbsp;in&nbsp;this&nbsp;post,&nbsp;actually,&nbsp;I’m&nbsp;working&nbsp;on&nbsp;your&nbsp;first&nbsp;two&nbsp;issues,&nbsp;Gary&nbsp;is&nbsp;working&nbsp;on&nbsp;the&nbsp;Layer.Refresh&nbsp;issue.&nbsp;So&nbsp;I&nbsp;just&nbsp;focus&nbsp;on&nbsp;the&nbsp;delete&nbsp;issue&nbsp;and&nbsp;performance&nbsp;issue.&nbsp;Currently&nbsp;the&nbsp;status&nbsp;is:&nbsp;  
&nbsp;&nbsp;  
&nbsp;1,&nbsp;Delete&nbsp;issue:&nbsp;This&nbsp;issue&nbsp;had&nbsp;been&nbsp;fixed&nbsp;properly&nbsp;I&nbsp;just&nbsp;verified&nbsp;it.&nbsp;Also&nbsp;I&nbsp;reviewed&nbsp;your&nbsp;sample&nbsp;code&nbsp;again&nbsp;and&nbsp;I&nbsp;found&nbsp;out&nbsp;the&nbsp;actual&nbsp;problem&nbsp;is&nbsp;from&nbsp;your&nbsp;sample&nbsp;code,&nbsp;please&nbsp;get&nbsp;the&nbsp;attachment&nbsp;in&nbsp;the&nbsp;ticket&nbsp;3370&nbsp;that&nbsp;I&nbsp;modified&nbsp;the&nbsp;code&nbsp;in&nbsp;the&nbsp;Delete&nbsp;event,&nbsp;then&nbsp;it&nbsp;works&nbsp;fine.&nbsp;Please&nbsp;reference&nbsp;the&nbsp;5.0.20.0&nbsp;dlls.&nbsp;  
&nbsp;&nbsp;  
&nbsp;2,&nbsp;Working&nbsp;on&nbsp;it.&nbsp;Any&nbsp;updates&nbsp;I&nbsp;will&nbsp;let&nbsp;you&nbsp;know.&nbsp;  
&nbsp;&nbsp;  
&nbsp;3,&nbsp;Gary&nbsp;is&nbsp;working&nbsp;on&nbsp;it&nbsp;and&nbsp;he&nbsp;will&nbsp;work&nbsp;with&nbsp;you&nbsp;directly&nbsp;for&nbsp;this&nbsp;issue.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [June 7, 2011, 1:56am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/17 "2011-06-07T01:56:11Z")

</div>

Dear&nbsp;Scott,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;For&nbsp;Reply,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;have&nbsp;worked&nbsp;with&nbsp;sample,&nbsp;which&nbsp;you&nbsp;provided&nbsp;on&nbsp;my&nbsp;ticket&nbsp;no&nbsp;3370&nbsp;with&nbsp;5.0.20.0&nbsp;dll.&nbsp;Some&nbsp;problems&nbsp;are&nbsp;still&nbsp;there&nbsp;which&nbsp;I&nbsp;faced,&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;1.&nbsp;Delete&nbsp;Single&nbsp;point&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select&nbsp;point&nbsp;with&nbsp;mouse&nbsp;click&nbsp;(Working)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delete&nbsp;point&nbsp;with&nbsp;delete&nbsp;butoon&nbsp;(Either&nbsp;not&nbsp;working&nbsp;or&nbsp;not&nbsp;map&nbsp;no&nbsp;refresh),&nbsp;but&nbsp;no&nbsp;error&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Again&nbsp;Select&nbsp;point&nbsp;with&nbsp;mouse&nbsp;click&nbsp;(Error&nbsp;comes&nbsp;messge&nbsp;-&nbsp;The&nbsp;given&nbsp;key&nbsp;was&nbsp;not&nbsp;present&nbsp;in&nbsp;dictionaly.&nbsp;  
&nbsp;&nbsp;  
&nbsp;2.&nbsp;Delete&nbsp;With&nbsp;Multi&nbsp;point&nbsp;Seletion&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select&nbsp;Multi&nbsp;point&nbsp;with&nbsp;TrackOverly&nbsp;(Working)&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delete&nbsp;selected&nbsp;point&nbsp;with&nbsp;Delete&nbsp;button&nbsp;(Working)&nbsp;  
&nbsp;&nbsp;  
&nbsp;So,&nbsp;now&nbsp;the&nbsp;problem&nbsp;with&nbsp;only&nbsp;first&nbsp;point,&nbsp;which&nbsp;describe&nbsp;above.&nbsp;  
&nbsp;Please&nbsp;look&nbsp;into&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;Sanjay&nbsp;  
&nbsp;&nbsp;&nbsp;

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 7, 2011, 2:56pm UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/18 "2011-06-07T14:56:04Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;have&nbsp;updated&nbsp;the&nbsp;associate&nbsp;ticket&nbsp;3370&nbsp;and&nbsp;I&nbsp;upload&nbsp;an&nbsp;new&nbsp;sample&nbsp;for&nbsp;you&nbsp;again,&nbsp;the&nbsp;issue&nbsp;of&nbsp;delete&nbsp;single&nbsp;point&nbsp;is&nbsp;from&nbsp;your&nbsp;sample&nbsp;code,&nbsp;I&nbsp;modified&nbsp;it&nbsp;please&nbsp;check&nbsp;it&nbsp;again.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Also&nbsp;for&nbsp;the&nbsp;load&nbsp;performance,&nbsp;we&nbsp;have&nbsp;fixed&nbsp;it,&nbsp;please&nbsp;get&nbsp;latest&nbsp;version&nbsp;to&nbsp;try&nbsp;again,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

---

<div class="post-metadata">

**Author:** ![Sanjay](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@Sanjay](https://community.thinkgeo.com/u/Sanjay)\
**Post date:** [June 8, 2011, 1:27am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/19 "2011-06-08T01:27:03Z")

</div>

Dear&nbsp;Scott,&nbsp;  
  
  
  
Thanks&nbsp;for&nbsp;reply&nbsp;and&nbsp;working&nbsp;on&nbsp;my&nbsp;sample.

As&nbsp;I&nbsp;am&nbsp;working&nbsp;for&nbsp;whole&nbsp;Editing&nbsp;Concept&nbsp;(Add,&nbsp;Edit,&nbsp;Delete),&nbsp;one&nbsp;thing&nbsp;I&nbsp;want&nbsp;to&nbsp;know:

As&nbsp;you&nbsp;have&nbsp;guided&nbsp;me&nbsp;to&nbsp;add&nbsp;point&nbsp;(star&nbsp;Point)&nbsp;in&nbsp;the&nbsp;InMemoryFeatureLayer&nbsp;(Post&nbsp;No&nbsp;46)&nbsp;and&nbsp;today&nbsp;I&nbsp;worked&nbsp;with&nbsp;save&nbsp;point&nbsp;into&nbsp;tab&nbsp;file.&nbsp;One&nbsp;thing&nbsp;I&nbsp;want&nbsp;to&nbsp;know,&nbsp;one&nbsp;option&nbsp;is&nbsp;available&nbsp;for&nbsp;Track&nbsp;Mode

WinformsMap1.TrackOverlay.TrackMode=TrackMode.Custom

can&nbsp;we&nbsp;use&nbsp;this&nbsp;(TrackMode.Custom)&nbsp;instead&nbsp;of&nbsp;to&nbsp;maintain&nbsp;one&nbsp;extra&nbsp;layer.&nbsp;it&nbsp;will&nbsp;be&nbsp;better&nbsp;if&nbsp;we&nbsp;can&nbsp;set&nbsp;custom&nbsp;as&nbsp;PointStyle&nbsp;(PointStyleType.Star,&nbsp;New&nbsp;GeoSolidBrush(GeoColor.SimpleColors.Red),10).

Means&nbsp;the&nbsp;Custom&nbsp;mode&nbsp;can&nbsp;set&nbsp;as&nbsp;star&nbsp;point&nbsp;with&nbsp;color&nbsp;and&nbsp;size.

If&nbsp;it&nbsp;will&nbsp;work,&nbsp;then&nbsp;one&nbsp;save&nbsp;command&nbsp;is&nbsp;able&nbsp;to&nbsp;save&nbsp;whole&nbsp;changes&nbsp;which&nbsp;has&nbsp;done&nbsp;through&nbsp;track&nbsp;mode&nbsp;otherwise&nbsp;I&nbsp;have&nbsp;to&nbsp;run&nbsp;two&nbsp;save&nbsp;command,&nbsp;one&nbsp;for&nbsp;Track&nbsp;Mode&nbsp;and&nbsp;another&nbsp;for&nbsp;InMenoryFeatureLayer.

Regards&nbsp;  
  
Sanjay

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [June 8, 2011, 8:43am UTC](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683/20 "2011-06-08T08:43:28Z")

</div>

Sanjay,&nbsp;  
&nbsp;&nbsp;  
&nbsp;You&nbsp;are&nbsp;welcome,&nbsp;if&nbsp;you&nbsp;find&nbsp;out&nbsp;any&nbsp;more&nbsp;problems&nbsp;please&nbsp;let&nbsp;us&nbsp;know&nbsp;again,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,

[Next page](https://community.thinkgeo.com/t/edit-data-for-tab-file/1683.md?page=2)
