<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font class="Apple-style-span" face="Tahoma" size="2">Dear friend,</font><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div style="font-family: Tahoma; font-size: 10pt; ">I got it finally</div><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div><div><font class="Apple-style-span" face="Tahoma" size="2"> Dim gdal_bin_path As String = "c:\myGdalFolder\GDAL\"</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> Dim gdal_driver_path As String = "c:\myGdalFolder\GDAL\gdalplugins"</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> Dim path = Environment.GetEnvironmentVariable("PATH")</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> If Not (path.Contains(gdal_bin_path)) Then</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> Environment.SetEnvironmentVariable("PATH", gdal_bin_path & ";" & path)</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> End If</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> OSGeo.GDAL.Gdal.SetConfigOption("GDAL_DRIVER_PATH", gdal_driver_path)</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> OSGeo.GDAL.Gdal.AllRegister()</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> Dim lista As New List(Of String)</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> For i As Integer = 0 To OSGeo.GDAL.Gdal.GetDriverCount - 1</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> lista.Add(OSGeo.GDAL.Gdal.GetDriver(i).ShortName)</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> Next</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> lista.Sort()</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> For Each item In lista</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> ListBox1.Items.Add(item)</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"> Next</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Many thanks.</font></div><div><font class="Apple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="Apple-style-span" face="Tahoma" size="2">Francisco J.</font></div><br><div id="SkyDrivePlaceholder" style="font-family: Tahoma; font-size: 10pt; "></div><font class="Apple-style-span" face="Tahoma" size="2">> Date: Tue, 19 Apr 2011 08:13:14 +0200</font><br><font class="Apple-style-span" face="Tahoma" size="2">> From: jrepetto@free.fr</font><br><font class="Apple-style-span" face="Tahoma" size="2">> To: gistdt08@hotmail.es; gdal-dev@lists.osgeo.org</font><br><font class="Apple-style-span" face="Tahoma" size="2">> Subject: Re: [gdal-dev] How can I do to load into a Bitmap an ECW image from GDAL?</font><br><font class="Apple-style-span" face="Tahoma" size="2">> </font><br><font class="Apple-style-span" face="Tahoma" size="2">> On 04/19/11 08:00, Francisco José Reyes Peralta wrote:</font><br><font class="Apple-style-span" face="Tahoma" size="2">> > Dear friends, anybody can help me to setup the GDAL_DRIVER_PATH</font><br><font class="Apple-style-span" face="Tahoma" size="2">> > environment and GDAL_DATA_PATH and others variables?</font><br><font class="Apple-style-span" face="Tahoma" size="2">> ></font><br><font class="Apple-style-span" face="Tahoma" size="2">> > I don't know how can I do.</font><br><font class="Apple-style-span" face="Tahoma" size="2">> </font><br><font class="Apple-style-span" face="Tahoma" size="2">> You can find these informations in the Windows XP documentation.</font><br></div>                                            </body>
</html>