Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: strange problem with legend1.layers.clear

$
0
0
Hi,

I noticed that when I call

Legend1.Map = CType(.GetOcx(), MapWinGIS.Map) ' Création de la légende

Legend1.layers are set with the numbers of layers added to the map. That's fine.

But if I call
Legend1.Layers.Clear()

then Visual Studio returns a buil error "can't find file obj\x86\debug\myprog.exe"

Quite strange isn't it ?

I test several time quit VS and relaunch, same error, ilf .clear is not commented, I get the error.

Viewing all articles
Browse latest Browse all 2341

Trending Articles