Need a lil bit help. Thanks

Topics: Help
Oct 16, 2011 at 7:01 AM

Hi, i'm facing some problem in the Gmap.NET.

FYI, i'm a newbie, i dl the source code at http://www.codeproject.com/KB/miscctrl/GMapNET.aspx?msg=3016125

i added all the references which are GMap.NET.WindowsForms.dll, GMap.NET.Core.dll, System.Data.SQLite.DLL.

then i using :

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using GMap.NET;

using GMap.NET.WindowsForms;

using System.Data.SQLite;

Now, when i build solution, the code "MainMap" tend to be underlined by blueline. the error shows " The name 'MainMap' does not exist in the current context"

so i was wondering, did i missed any .dll files?

when i tried to troubleshoot this problem, i tried to add in " using Gmap.NET.MapProviders; ".

at this moment, the " MainMap "code not underlined anymore, but when i started to bulid solution, 1 error occur, which is " The type or namespace name 'MapProviders' does not exist in the namespace 'Gmap.NET' (are you missing an assembly reference?).

So, what is the problem actually? any solution to help me? Thanks very much =)

Oct 16, 2011 at 12:37 PM

download hot build or the latest source, there are two demos how to do some stuff

Oct 16, 2011 at 2:34 PM

i downloaded the latest hot build. i copy the code from http://www.codeproject.com/KB/miscctrl/GMapNET.aspx?fid=1533855&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Quick&select=3016125&fr=165

is that the code? or there are any other code?

i used the hot build file (those .dll file) but the "MainMap" still underlined by blue line. why?

Oct 16, 2011 at 2:57 PM

because there is no MainMap in your app ;} just get the demos and explore