MapWindow 4 - ActiveX Control Programming : MapWindow Discussion Forum
Hello, I use mapWindow ocx 4.8 with Ms-Access 2003 and I want to load a image When I load a Geotiff it's working (see code below) Dim img As New MapWinGIS.Image Dim filename As String Dim h1 As integer filename = &q
ecw problem
Posted by:
Etienne Masse ()
Date: May 16, 2012 06:56AM
Hello,
I use mapWindow ocx 4.8 with Ms-Access 2003 and I want to load a image
When I load a Geotiff it's working (see code below)
Dim img As New MapWinGIS.Image
Dim filename As String
Dim h1 As integer
filename = "C:\TEMP_SIG\GEOTIFF\Test_geotif.tif"
If (img.Open(filename, TIFF_FILE)) Then
h1 = MapControl.AddLayer(img, True)
End If
but when I want to load e ecw file it's failed and i got this message"exception in loadraster function". somebody have the solution please ?
Thanks
Best regards
Etienne Massé
I use mapWindow ocx 4.8 with Ms-Access 2003 and I want to load a image
When I load a Geotiff it's working (see code below)
Dim img As New MapWinGIS.Image
Dim filename As String
Dim h1 As integer
filename = "C:\TEMP_SIG\GEOTIFF\Test_geotif.tif"
If (img.Open(filename, TIFF_FILE)) Then
h1 = MapControl.AddLayer(img, True)
End If
but when I want to load e ecw file it's failed and i got this message"exception in loadraster function". somebody have the solution please ?
Thanks
Best regards
Etienne Massé
Re: ecw problem
Posted by:
pmeems ()
Date: May 16, 2012 07:19AM
Do you have all dependencies. To load ECW files you need additional dlls.
If you have installed MapWindow using the installer you should have those dll.
Copy them to your output folder and it should work.
--
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
If you have installed MapWindow using the installer you should have those dll.
Copy them to your output folder and it should work.
--
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
Re: ecw problem
Posted by:
Etienne Masse ()
Date: May 17, 2012 02:23PM
Thank you for the tip
But what do you means by "output folder", Is it the folder of Ms-Access Database or The folder of the ecw file ?
Best regards
Etienne Massé
But what do you means by "output folder", Is it the folder of Ms-Access Database or The folder of the ecw file ?
Best regards
Etienne Massé
Re: ecw problem
Posted by:
pmeems ()
Date: May 18, 2012 12:54AM
With the output folder I mean the folder with your executable and the ocx.
--
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
--
Paul
--
Don't forget to read the new documentation: www.mapwindow.org/documentation/mapwingis4.8
Join us Google+: MapWindow GIS Google+ Community
Join the MapWindow Group on LinkedIn! LinkedIn - MapWindow Group
Download the latest beta installer at:
tinyurl.com/mwMonthly 32-Bit
tinyurl.com/mwMonthlyx64 64-Bit
Follow me on Twitter MapWindow_nl to read when a new installer is published.
---
Paul Meems
The Netherlands
[www.bontepaarden.nl]
Release manager, configuration manager and
forum moderator of MapWindow GIS
Owner of MapWindow.nl - Support for
Dutch speaking users: www.mapwindow.nl
*******
Everything I say or write is my personal opinion and
not the opinion of the company I work for.
*******
View my profile on LinkedIn
Re: ecw problem
Posted by:
Etienne Masse ()
Date: May 18, 2012 12:34PM
Great ! It's working.
I put the Dll files inside the folder of MS-Access.exe
Thank you very much
I put the Dll files inside the folder of MS-Access.exe
Thank you very much
Sorry, only registered users may post in this forum.


