How to use Google Map API and Google Earth Plugin in VB6

Submitted by: 
Visitors have accessed this post 62119 times.

This tutorial shows how to use Google Map API and google earth Plugins in vb 6. I used HTML file to view the Google Map interface in VB form. I used this in my GPS SMS, Tracking System, Flight Simulation and some Mapping projects so i cannot provide the complete project , just the sample how to run the API in your VB Form. You can figure it Out TODO; >fast internet connection is needed to run the sample >for this sample i used my current Latitude and longitude to plot the placemark. you can freely customize or improved it and use any programming language that you want(PHP, C#, HTML, ASP.NET, Android, FLASH and many more. Goodluck Questions and request or Custom projects?



Blog Site


Facebook Fan Page



My status

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Great job kabayan.

Tnx admin..Hope this will help our fellow programmer and beginners..

Sir can i contact you personally?
Here's my email [email protected]

Thank you, and more power to sourcecodester.com

All the Best!!

emond sabiniano
Project Contractor-Developer/Software Consultant

Yes sure. I'll add you to my YM.

galing mo

marlon pafs is that you? lolz

emond sabiniano
Project Contractor-Developer/Software Consultant

pafs astig.. whehehe.. nahi2lo nko sa mga prog mu.. idol..

sample codes of vb through google earth pls..

I liked this text and i appreciated. I've read all. When i was surfing youtube, i watched a video about this text. Also i have a membership of a facebook group about this fact. Thanks the writer. I am always following texts like this.

Have a nice day...

sir can you develop a software for me? cause i am making a project something like a testing system. i want you to create a testing system for computer science with a validation(tracking their CIN or unique number) to ensure that they didn't repeat the exam and an automatic update for their score after the exam tnx.. for instance it was a 50items test I want a 10 items per page before proceeding to next page.. so that they can change their answer! because i downloaded something that is a single question per page before proceeding to next question. and one thing more i want after the exam it will show their errors and their score. thank you!

sana maka work kita soon hehehehe =) sana my mga tutorial din dito ng SQL injection hehehe

bro, kung ok lng sayo may other sample kba using another kind of tool, example mapinfo?

ask ko lng dn if hindi ba mbigat gumamit ng google map api? im doing my thesis kc, GIS..sana bro matulungan mo ako sa problem ko...stil findn best way to do this project..


bro ..tnx sa comments..Pd mo customize ung Google earth or Map to suite ur need, u can use the API. email me send you sample in making GIS..

[email protected]

regrds..all the best

emond sabiniano
Project Contractor-Developer/Software Consultant

I was watching your page, you have a great work, i tried to run the vb project GOOGLE MAP but i have an error:

File not found c:\Windows\System32\ieframe.dll\1

Do you have this component??

Where can i download?

Thanks and congratulations.

Guayaquil - Ecuador
[email protected]

Did you download the Google Earth plugins?

Best Regards,

emond sabiniano
Project Contractor-Developer/Software Consultant

Thanks so much for the code to get google in my VB6 program. I have been able to put in placemarks but I don't know 1) how I can get it to use the icons I have on my computer, 2) how to include the label and 3) how to add the description. This all seems pretty straightforward using KML but I don't know where to look for the methods or properties of the placemark. I would really appreciate any information on how to find this information. Thank you!

Google have the open source codes and source program for their APIs like Android, AJAX, Wave, Earth ,Gmap etc. They also have the Code Playground for sample working script that you can use for your needs. Just signup for you API account so that you can use the Google APIs.

please check the link below :


Hope it will Helps..

Best Regards,

emond sabiniano
Project Contractor-Developer/Software Consultant

Hi, i was searching for some help about VB6 and google earth, and what you posted was exactly what i want to do, from the code, add a placemark with my own icon, and include a label as-well, so what i want to know is if you finally got it Hope you can help me with the information, or at least with some guide i can use. My best wishes, take care and thank you!!!

i Didnt understand.... i have downloaded the Google Earth as welll ... but its still showing the error
File not found c:\Windows\System32\ieframe.dll\1

help required


hi.. ur code s really very useful.. can u gimme a code which reads gps data simultaneously and displays in GE.... should parallely read and map data in GE.. am stuggli wit it.. could u plz help me wit this.. let it b in any language...
thanks in advance..

sure, just contact me @ the addresses below and i will provide you a sample or you may look at my another sample of Application GE.



emond sabiniano
Project Contractor-Developer/Software Consultant

realy i don't know how to embeded a google map(link ) to a java application? can anyone heip me?

Thanks for sharing this informative articles. Google is the most-used search engine on the Web. If you want to know more about google manual, you can visit this at askdiana.net.

Thank you, Piero from Argentina.


emond sabiniano
Project Contractor-Developer/Software Consultant

map objects in VB
ebooks or sourcecode

Hi I'm joi... were doing a community security system for our capstone... How can we make a searching map for a subdivision only? Thank :))

You can contact me @ +639212279363 for that..

emond sabiniano
Project Contractor-Developer/Software Consultant

pl. Anyone who knows the answer for my question pl.let me know...
My Question is ; How do i changed the tab index using the button click event. in other word , what i wanna do is i need to change the sstab index using button press.
Please help...me.. This is urgent request.....
Pl... My Project date is...Already expired...pl...help me....

i'm Asking regarding VB 6.0 language.............it is must....


Thanks for the post. Here’s a geocoding feature that will make your applications smarter and more interactive. Instead of displaying plain text, any address-centric data can be displayed on your site with a live map from Yahoo! or Google. Users will get more accurate information and be engaged in the process http://www.caspio.com/extend/platform-extensions/map-mashup.aspx

you copied your codes from kevin matthews at planet-source-code

and you call yourself a consultant?

Mapping in vb6 pls not google map or google earth

galing mo dude ^_^


emond sabiniano
Project Contractor-Developer/Software Consultant

is it possible to incorporate offline google map ??

Sir, may code kayo para sa pag-input ng longitude at latitude? yung mula sa GPS? para malaman yung place?

ok; this forum is very good.

Wow.... this is quite amazing to be true. Most of you would have been really amazed at what these can do at in now. But just hold on for a while and imagine what it can do in the future too. it is a well build infrastructure for that.Thanks!!!!

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.