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.
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.