69

I only have SQL Server 2008 Client tools. I would like to use Spy++, but of course, it only comes with the Visual Studio installation.

Is there a good replacement for Spy++ that I can use?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Raj More
  • 47,048
  • 33
  • 131
  • 198

10 Answers10

37

There is WinSpy++ by James Brown at Catch22.net

However, the software downloaded from the site as of today (Jan 2023) gets blocked by smartscreen and malware filters. It also only works for 32bit apps if you ignore all that and install anyway.

kinar
  • 402
  • 1
  • 7
  • 22
Cory
  • 1,291
  • 12
  • 16
32

Winspector has been more helpful. Not sure why their site is down right now, but there are a lot of other places to download it.

TLama
  • 75,147
  • 17
  • 214
  • 392
Yuriy Faktorovich
  • 67,283
  • 14
  • 105
  • 142
20

Visual Studio 2013 now has a community edition. See the Q&A on that page to see if you can use it.

Spy++ is included in the community edition. I had to launch the "Developer Command Prompt for VS2013" and then run the spyxx.exe executable from that command prompt. Searching for "spy++" or "spyxx" in the "Search programs and files" entry box on the (Windows 7) start menu didn't find it.

chrish
  • 2,352
  • 1
  • 17
  • 32
  • 1
    I see Spy++ at ""C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\spyxx.exe" (32-bit) and "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\spyxx_amd64.exe" (64-bit). Both seem to be installed under c:\Program Files (x86), but that location is probably cause Visual Studio is 32-bit itself – George Birbilis Jul 24 '15 at 14:44
  • Hmm, that didn't get installed for me; I guess it's in an optional component that I didn't ask for? – SamB Aug 15 '15 at 06:01
  • 1
    Oh. It looks like I have "express" (for windows desktop), not "community". That's not confusing at all ... – SamB Aug 17 '15 at 18:11
18

just download from:

http://mdb-blog.blogspot.com/2010/11/microsoft-spy-or-spyxx-for-download.html

it contains versions:

  • 7.0
  • 8.0
  • 10.0
  • 11.00
  • and 14.00 (latest)
Mir-Ismaili
  • 13,974
  • 8
  • 82
  • 100
mr.baby123
  • 2,208
  • 23
  • 12
  • This seems to now be the latest: http://mdb-blog.blogspot.com/2017/02/download-microsoft-spy-140-2016-06-20.html – jdunning Aug 02 '17 at 20:52
  • 1
    However, the above download does not include the mfc140u.dll C++ redistributable from Visual Studio. You can download that as a standalone from here: https://my.visualstudio.com/Downloads?pid=2082 though you'll need to opt into the Visual Studios Dev Essentials program for free. – jdunning Aug 02 '17 at 21:08
  • 2
    Also https://github.com/westoncampbell/SpyPlusPlus. – CoolMind May 24 '19 at 10:27
9

A very decent effort to revive the beloved but defunct winspector is window detective : http://windowdetective.sourceforge.net/

Mr_and_Mrs_D
  • 32,208
  • 39
  • 178
  • 361
4

Visual UI Automation Verify

With the Visual UIA Verify, you can quickly find and select any UI element anywhere on the desktop. Based on the specific control type and the supported control patterns, UIA Verify provides the built-in test scenarios prioritized for the particular UI element. Developers can add additional test scenarios by adding the code to the UIA Test Library. The tool can output the test results or the summary in various forms. Visual UIA Verify can output test details in HTML.

Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
3

The free download for windows SDK includes UISpy... is that close enough?

John Weldon
  • 39,849
  • 11
  • 94
  • 127
3

I think WinSpy++ looks like the best bet, especially since it ships with source and is compatible with Vista (Win7 too presumably).

However, the first clone I'd run across was WinID. No source and claims not to support Vista, but it may do some things WinSpy++ doesn't...like extracting icons and fonts ("Capture Shot").

Note: tried to post this as a comment and not an answer, but the link wouldn't work.

2

I just used Windows Detective. Worth taking a look:

http://windowdetective.sourceforge.net/

George Birbilis
  • 2,782
  • 2
  • 33
  • 35
Ephraim
  • 199
  • 1
  • 2
  • 18
0

Try using HWndSpy.
Source code is here.

enter image description here

Community
  • 1
  • 1
Stack
  • 205
  • 2
  • 11