Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Problem with new MapViewer #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When i add the mapviewer control i always get an error and when i open
tibia locator example i also get the same error, i give you a screenshot link:

http://img50.imageshack.us/img50/5619/mapol3.jpg

I tryed to search it on google but i couldnt fix it :s, any ideas?

Original issue reported on code.google.com by marcsal...@gmail.com on 30 May 2008 at 2:56

GoogleCodeExporter commented 9 years ago
I cannot seem to reproduce this error. SmartLocator.MainForm also loads and 
runs fine
for me. Any more details?

Original comment by ian320 on 30 May 2008 at 5:46

GoogleCodeExporter commented 9 years ago
I dont know, i didnt make anything strange. First i tryed to update my bot with 
the
new MapViewer but when i try to put the mapviewer in my form it gives that 
error and
when i open the smartlocator it also gives me the same error, Maybe its my 
problem
but i reinstalled c# and its still giving the same error. Sorry that i cannot 
give
more details xD

Original comment by marcsal...@gmail.com on 30 May 2008 at 8:06

GoogleCodeExporter commented 9 years ago
I found out the problem, its a bug of VS2008.

The problem was that my user name in windows has got a & and VS2008 doesnt 
support &
so it was giving an error when it was trying to add the maviewr from 
c:/documents and
settings/myusernamewith&/tibiaapi ...,so i changed my project folder to c: and 
it's
working now.

Sorry for reporting an error that wasnt from tibiaapi..

Original comment by marcsal...@gmail.com on 31 May 2008 at 4:00

GoogleCodeExporter commented 9 years ago
Crazy, that is ok. But you may still get an error after adding the map viewer 
and
then closing the form and opening it again.

If you get this error:

Object of type 'Tibia.Util.MapViewer+MapMarker[]' cannot be converted to type
'Tibia.Util.MapViewer+MapMarker[]'.

Just open up <formname>.resx (expand <formname>.cs first) click on
<mapcontrol>.Markers and press Remove Resource.

Original comment by ian320 on 31 May 2008 at 4:12