Results 1 to 5 of 5

Thread: How do I find a picture on the desktop?

  1. #1

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Exclamation

    How do I find a picture on the Desktop, or in any form that appears on it?

    I mean there is a picture anywhere on the desktop....
    it always appears on another point and to random times.

    I want that my program finds this picture anywhere on the desktop, or in a form on it and move the mouse cursor into the middle of the picture.

    Does anybody know how to do this?

    thx, sub-zero


    Visual Studio 6.0 Enterprise Edition - SP3

  2. #2
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550
    I think you need to explain a bit more....

    And by "form", do you mean "folder"?

    The desktop is actually a folder within windows - "C:\Windows\Desktop" (assuming Windows is installed on your C: drive). Any pictures stored as files on your desktop would be somewhere within this folder.

    However, if the picture you are talking about is the WALLPAPER (ie, what you see as the background on your desktop), that could be anywhere at all, and I'd imagine you'd need to look at the relevant registry key to find the path of that picture. I've not mucked around with registry keys so you'd have to wait till some other bright spark offers help on that one.

    HKEY_CURRENT_USER\Control Panel\desktop\Wallpaper seems to be where it's stored on my machine... (I found that in Regedit - click Start, Run, then type regedit and hit return, and "explore" your way around)

  3. #3

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Exclamation

    I don't mean a folder. I mean a visual picture just like an element on the desktop (IE style).

    Note: Maybe the registry keys in my machine are different.

    (I'm using Windows 2000 Prof.)

    With "form" I meant a banner that is positioned on the top of the screen.

    In the range of that banner there appears a picture as explained before and it's allways on another point.

    I have to focus the picture and move the mouse into the middle of it. I know how to move the mouse but I don't know how to fucus that picture.

    thx, sub-zero


    Visual Studio 6.0 Enterprise Edition - SP3

  4. #4

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Lightbulb

    OK - nobody replied any suggestions how to solve this problem. Maybe I have to explain a little more what I mean.

    OK - I found a program in the internet - a programmer gave it to me, but not the source codes.

    This program would demonstrate that what I try to explain.
    It's an MFC application.

    All I need now is the source code for VB.

    To download it go to URL http://212.186.131.237/BitNag.exe

    It's about 28 KB. If you have any questions you can also
    e-mail me or post a new reply.

    --------------------------------

    When you start the application you have to click on the "Define Area" button once - then a square apears
    and marks the range size. when you have chosen your size
    click again and hold the mouse button pressed.
    then move the square to the area you want to capture and
    leave the mouse button. click then on the "Find Area" button. then the area should blink.

    --------------------------------

    thx, sub-zero


    Visual Studio 6.0 Enterprise Edition - SP3

  5. #5

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347
    OK - Noboy seems to be interested in that.
    I'll try to find a way.

    sub-zero


    Visual Studio 6.0 Enterprise Edition - SP3

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