Results 1 to 2 of 2

Thread: Getting Co-ordinates from photos

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    WALES UK
    Posts
    31
    Ben, once you have the co-ordinates this is what you have to do:

    something like

    if x = 0000 and y = 0000 then
    display/change what ever you want
    else
    if x = 1111 and y = 1111 then
    display/change what ever you want
    else
    etc
    etc
    etc

    0000 and 1111 are just examples these would really be like 2367 or 6534 etc
    Rememember?

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    WALES UK
    Posts
    31

    Private Sub Form_Load()
    Picture1.Picture = LoadPicture("C:\downloads\map.bmp")

    'this bit loads your picture into your picture box

    End Sub


    'this next bit is the good bit cos it will show you the co-ordinates in a text box called text1.text

    Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Text1.Text = "X: " & X & "Y: " & Y

    End Sub

    copy it as it appears or she'll go tits up mate

    Rhys

    See you next week g'boy!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width