Dear friend,
I got it finally
        Dim gdal_bin_path As String = "c:\myGdalFolder\GDAL\"        Dim 
gdal_driver_path As String = "c:\myGdalFolder\GDAL\gdalplugins"        Dim path 
= Environment.GetEnvironmentVariable("PATH")        If Not 
(path.Contains(gdal_bin_path)) Then            
Environment.SetEnvironmentVariable("PATH", gdal_bin_path & ";" & path)        
End If
        OSGeo.GDAL.Gdal.SetConfigOption("GDAL_DRIVER_PATH", gdal_driver_path)
        OSGeo.GDAL.Gdal.AllRegister()
        Dim lista As New List(Of String)        For i As Integer = 0 To 
OSGeo.GDAL.Gdal.GetDriverCount - 1            
lista.Add(OSGeo.GDAL.Gdal.GetDriver(i).ShortName)        Next
        lista.Sort()

        For Each item In lista            ListBox1.Items.Add(item)        Next
Many thanks.
Francisco J.
> Date: Tue, 19 Apr 2011 08:13:14 +0200
> From: jrepe...@free.fr
> To: gistd...@hotmail.es; gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] How can I do to load into a Bitmap an ECW image from 
> GDAL?
> 
> On 04/19/11 08:00, Francisco José Reyes Peralta wrote:
> > Dear friends, anybody can help me to setup the GDAL_DRIVER_PATH
> > environment and GDAL_DATA_PATH and others variables?
> >
> > I don't know how can I do.
> 
> You can find these informations in the Windows XP documentation.
                                          
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to