Friday, August 24, 2007
GIS With VB 6
How to fill map to visual basic ?

1. Open Your visual basic ( I do with Visual Basic 6)
2. Click Standard Exe
3. add new component and click mapinfor mapx v4
if you have no component you can ask google and get your component
4. click and draw, in your form
mapx will give you default USA map
to manipulate this map we must have tool
1. add command button and type caption Zoom in
2. Click the command button and fill this code
Map1.CurrentTool = miZoomInTool
now you can zoom ini your map
you can try this code
Map1.CurrentTool = miZoomOutTool and other

to know many kinds of maps tool you can try this way

type Map1.CurrentTool = then press ctrl + space bar visual basic will give you list of tool
see you in next tutorial, if you want video tutorial send me email I will Give your freee

Labels:

posted by sharp @ 5:31 PM   0 comments
Search
Google
Name: sharp
Home:
About Me:
See my complete profile

Previous Post
Archives
Links
Template by
Blogger Templates