Plotting an Area

Jan 13 2009 2:19 AM
 

I am looking for a VB.net Code that will be able to draw structures/object on a form and store these objects to an Ms  Access db.

The main part that am interested in, is to have a code that will enable the user to enter x and y coordinates collected through the GPS for a formal plot in an area. These coordinates should be stored in a database and be able to produce a drawing of the plot on the program, and when the user continues to enter the coordinates the program should be able to join these plots from the same area.

EXAMPLE

 

x

y

X1

Y1

A1-631257.235

B1-8626123.236

A2-63626123.286

B2-8626124.365

 

 

 

 

 

 

 

 

Here upon the user clockwise entering A1 As X Coordinate with B1 as Y Coordinate should be able to produce an a line when the user enter A2 followed by B2 then finishes with A1, the program should be able to produce a structure. Either a polygon or a rectangular basing on the coordinates. Furthermore the user can enter many coordinates in order to achieve a map of an area but all these objects they have to be saved to the Access Database