# Shape File Type

**URL:** <https://community.thinkgeo.com/t/shape-file-type/6836>\
**Category:** Silverlight\
**Created:** [March 26, 2010, 2:48pm UTC](https://community.thinkgeo.com/t/shape-file-type/6836 "2010-03-26T14:48:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_flowerday](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e99b99/32.png) [@john\_flowerday](https://community.thinkgeo.com/u/john_flowerday)\
**Post date:** [March 26, 2010, 2:48pm UTC](https://community.thinkgeo.com/t/shape-file-type/6836/1 "2010-03-26T14:48:00Z")

</div>

When&nbsp;I&nbsp;run&nbsp;an&nbsp;application&nbsp;with&nbsp;STATES.SHP,&nbsp;everything&nbsp;runs&nbsp;fine,&nbsp;When&nbsp;I&nbsp;use&nbsp;the&nbsp;tl\_2008\_41\_county.shp&nbsp;from&nbsp;the&nbsp;Census&nbsp;Bureau&nbsp;which&nbsp;I&nbsp;locate&nbsp;in&nbsp;the&nbsp;same&nbsp;directory&nbsp;as&nbsp;the&nbsp;STATES.SHP,&nbsp;&nbsp;the&nbsp;following&nbsp;returns&nbsp;nothing.

Application.GetResourceStream(

New&nbsp;Uri("App\_Data/tl\_2008\_41\_county.shp",&nbsp;UriKind.RelativeOrAbsolute))

Any&nbsp;ideas?

---

<div class="post-metadata">

**Author:** ![Khalil](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/k/bc8723/32.png) [@Khalil](https://community.thinkgeo.com/u/Khalil)\
**Post date:** [March 28, 2010, 8:08pm UTC](https://community.thinkgeo.com/t/shape-file-type/6836/2 "2010-03-28T20:08:10Z")

</div>

Hi,&nbsp;John&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;refer&nbsp;to&nbsp;the&nbsp;"LoadAShapeFile"&nbsp;sample&nbsp;in&nbsp;our&nbsp;installed&nbsp;samples&nbsp;which&nbsp;you&nbsp;could&nbsp;find&nbsp;its&nbsp;source&nbsp;code&nbsp;at&nbsp;"Samples/DataProviders/LoadAShapeFile.xaml".&nbsp;Also&nbsp;maybe&nbsp;you&nbsp;need&nbsp;to&nbsp;refer&nbsp;the&nbsp;Helper&nbsp;class&nbsp;which&nbsp;you&nbsp;could&nbsp;find&nbsp;its&nbsp;source&nbsp;code&nbsp;at&nbsp;"Sampels/Helper.cs".&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;you&nbsp;still&nbsp;have&nbsp;any&nbsp;problem&nbsp;please&nbsp;let&nbsp;me&nbsp;know.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Khalil
