i am working on a project in VB net to read and present s57 files . i tried the tutorials with no luck. i used the following code to open a s57 file.
Dim mybox As MapBox = New MapBox()
mybox.Width = 120
mybox.Height = 120
mybox.Left = 50
mybox.Top = 50
Dim vLayer As SharpMap.Layers.VectorLayer = New SharpMap.Layers.VectorLayer("0")
Dim mymap As Map = New Map()
vLayer.DataSource = New SharpMap.Data.Providers.Ogr(Byval filename as string, 0)
PictureBox1.Image = mymap.GetMap()
When i run the code i got the error message .ctor is ambiguous . this problem is earlier addressed as an issue and solved with Revision 72777. But still i got this error message
- How do i solve this problem?
- Is there a working example with vb net to read s57 files?
Thanks in advance