Posted on 2009-02-23
Last Modified: 2013-12-17

Has anyone used GMap.
How can I use it in my windows application?
Question by:rajputamitd
    LVL 2

    Accepted Solution

    This Gmap can be used in your .NET windows application (desktop application) very easily.
    Follow this steps , this would help :-
    *  Open a new windows application.
    *  In the toolbox of the visual studio , right click and choose add tab from the context menu.
    *  Now write a name for this tab.
    *  Now right click on the new tab you have inserted and select choose items from the context mnenu, Anew dialog box will open. It will take some time to open , so please be patient.
    *Now click on the browse button in this dialog box and locate to the GMap.NET.dll file which is present in the GMap.NET_v1-1-3-7 folder which you can download from your link.
    * Now in your windows form drag and drop the form and you are ready to play with it.]

    Isn't that simple ? So have fun with the map.



    Author Comment

    Hi souvik2008,
    Thanks for ur help.
    I have followed the steps given by you.
    But I am seeing a blank screen when I put the GMap on my form.
    What I am missing?Is it cache,I am missing?
    LVL 2

    Assisted Solution

    Ok I have also tried it today. It worked fine for me before. But now there is a problem as the google itself changed their satellite images to JPEG format from PNG format. Which is the main cause of this black screen on the form.
     You are having the map loaded successfully but the images from the satellite cannot be rendered by the application as the old files with .PNG extensions are replaced.
    We have nothing to do but to wait for the next release with this problem fixed due to this google changes.
    Check this thread.

    P.S Please accept as solution if you find my solution useful in anyway..



    Author Comment

    Thanks souvik2008.It is really helpful for me.Let me know if I can do it any other way.
    It would be great if u help me in this.Thanks.
    LVL 2

    Expert Comment

    For using GMap in windows application I've used this GMap.Net. But In case of web appliaction , There are many other ways and portable javascript available from google to include it in your web site.
    If you want I can show you how to use those script on your ASP.NET with C# web pages.
    Let me know if you are interested in web programming.


    Author Comment

    Thanks for ur interest Souvik.But currently I am developing a windows application and want to apply  this in it only.
    I have downloaded from
    it is working but there are lots of change according to me.
    Can u tell me how can I cache a Google map for a particular country.
    Or Can I have the same on live Google Map.

    Author Comment

    Hii Souvik2008,
    I have decided to go for Web programming for Google MAP API.
    Seeking your help regarding this.
    Should I open a new question then?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now