When I run an application with STATES.SHP, everything runs fine, When I use the tl_2008_41_county.shp from the Census Bureau which I locate in the same directory as the STATES.SHP, the following returns nothing.
Application.GetResourceStream(
New Uri("App_Data/tl_2008_41_county.shp", UriKind.RelativeOrAbsolute))
Please refer to the "LoadAShapeFile" sample in our installed samples which you could find its source code at "Samples/DataProviders/LoadAShapeFile.xaml". Also maybe you need to refer the Helper class which you could find its source code at "Sampels/Helper.cs".