im doin my final year project nw..its abt map...how i want to calculate distence between 2 points by clicking on that point1 and drag until another point2.
i realy dun hv idea to do..realy need help from your guyz..thank you
shinchan 0 Newbie Poster
Recommended Answers
Jump to PostCount me in Duoas, yeah he didn't even give a try...
Jump to Posttry to use this sample code
Public Function DistanceBetween(ByVal X1 As Single, ByVal Y1 As Single, ByVal X2 As Single, ByVal Y2 As Single) As Single ' Calculate the distance between two points, given their X/Y coordinates. ' The short version... DistanceBetween = Sqr((Abs(X2 - X1) ^ …
All 7 Replies
Duoas 1,025 Postaholic Featured Poster
shinchan 0 Newbie Poster
shinchan 0 Newbie Poster
Duoas 1,025 Postaholic Featured Poster
jireh 3 Posting Whiz
jireh 3 Posting Whiz
debasisdas 580 Posting Genius Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.