Results 1 to 7 of 7

Thread: very difficult

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870

    Question

    I have a problem that needs solving, and that I think can be done, but I need help.

    I'm working on a trading system that takes bids and offers from telephone brokers. The problem is, is that there is an internet broker that we need to get the numbers off. They are not letting us have a direct link to their system. Therefore I need some way of getting the numbers off the screen and assigned to a variable.

    Does anyone know how to select the co-ordinates a screen, and read that area into an array. Then read the array doing some kind of charachter recognition stuff on it.

    The internet broker uses a standard font, so and 8 always looks like an 8 etc....

    Thanks for your time reading this and any help you will be able to give.

    Nick

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    It might be better if you just parse the html file provided by the server to extract the required information.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    It uses a director movie so I have to catch the numbers off the screen.

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Then I don't think there is a way to catch he words written on the screen. All you can do is catch the pixels color at a given co-ordinate. using GetPixel.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Reading, UK
    Posts
    870
    It would be possible to use get pixel as the numbers are always black and the background blue. Does anyone know how to use this function. It will need to be able to read a certain parts of the screen(pixels if they are black) into an array i think. Then you can do some character recognition stuff on the array?

    Is this possible

    Thanks
    Nick

  6. #6
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    There is an api called GetPixel. You can look for more information at http://www.vbapi.com/ref/g/getpixel.html and http://www.allapi.net/api/GetPixel.php.

  7. #7
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    There are certain API Calls to capture an area of screen.

    But I Dont know how to place the same in an array.

    Try Using Those API Calls.

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