Few years ago when I was doing win32 programming, there was a program (from Microsoft I believe) that helps see all messages sent to winproc real time. I think it's a dialog box with all controls and depending of the actions you do, it display messages sent to that control.
Does anyone know which program I am talking about? If so what's the name and where can I find it. Thank you.
is it spy++
The program you are looking for is Control Spy.
As others have mentioned there is also Spy++. Source is available for a Spy++-like program called WinSpy++. (More alternatives on the thread i-want-spy-but-i-dont-have-visual-studio)
It's called Spy++.
It comes with Visual Studio, and you can find it in under Start, Programs, Microsoft Visual Studio 20xx, Visual Studio Tools.
Related
Motivation: I miss MDI in Visual Studio 2010. In long term the best solution would probably be to have it back by Microsoft. (You can vote for this at Microsoft Connect.) However, even if Microsoft might decide to have it back, it will probably take a few years.
I am therefore exploring the alternative meanwhile. Making the source window floating is a step to MDI, but it has nasty implication of the window being always on top of everything, including tool windows.
Would it be possible to create an extension which would could allow my to make some floating windows not always on top? How should one start in creating such extension?
Or would it be perhaps possible to modify the windows ordering by external application, perhaps something similar to Spy++, but with the ability to modify windows properies or send window messages as well?
This is a bit related to Visual Studio 2010 - Semi-Transparent Floating Windows - any utility which could do that could probably be modified to do this as well.
As mentioned recently on Connect web site, recent Pro Power Tools should have an option for this, called "top-level floating windows".
That said, I already have the version "10.0.20214.15" installed (which is most recent as of writing) and there is no such option available. No such option is also mentioned in Pro Power Tools Revision Notes.
However, this gives me a hope this extension might add this option later.
Does anyone know a tool that can capture win32 messages that get sent to a particular process? I thought there was a tool from sysinternals for that but now I can't locate it. Anyone knows some?
Spy++ comes with retail version of Visual Studio (Standard, Professional, Team)
See also: I want Spy++ but I don't have Visual Studio
Try WinSpy or Winspector
If you want to do it programmatically, you need to create a message hook
When I try to start my visual basic to open a project it doesnt seem to be working and keep prompting a error 'VB6EXT.OLB' could not be register. What does that mean? Need helps on this matter, thanks
Just Right Click on VB6.exe and CLick On Run As Administrator..
Hope It works
VBE6EXT.OLB is the Visual Basic for Applications Extensibility Library. That filename seems to indicate that you're dealing with version 5.3, which apparently shipped with Microsoft Office 2000. It would seem your VB6 project is an Office Automation project then?
Google turns up the following links, which may be helpful:
BUG: Interface methods in the VBA Extensibility Library (VBE) are changed
PRB: Visual Studio Setup program may include Office OLB files in setup list
Neither seems to directly answer your question, but they seem like a good place to start.
Since Visual Basic 6 (and Microsoft Office 2000 as well) hit end-of-life well before Windows Vista was released, there may be a fundamental conflict between them. You might be better off trying to develop your application on an older version of Windows.
This just happened to me (literally seconds ago) and I came HERE first stop.
I was looking for THE answer. As it happened, MS-Office 2010 offered to repair the problem...
... and, skeptically, I accepted.
To my astonishment I was soon greeted by my FAVOURITE splash screen in the world - I've got my Rubberduck
Anyway, I'm relieved the Auto Fix worked...
I am looking for a program to view Windows messages
Can you help?
Spy++ comes with Visual Studio.
I have found Winspector to be somewhat more stable than Spy++ especially while debugging a program while at the same time monitoring messages.
I would like to control options on the debugger without using the debugging GUI's, preferably from inside the code being debugged. I would think that would be quite difficult, but maybe my debugged code can request a service from independent code that will communicate with the debugger.
This relates to another question of mine on controlling when to break on exceptions.
You can write Visual Studio macros that can do anything the GUI can, but they can get rather involved. See the MSDN documentation on Automation and Extensibility for Visual Studio
Doing this from the code being debugged would be tricky, you would definitely need some new form of communication with VS, maybe a custom add-in. I don't think an independent service would fundamentally help here. The biggest problem is that your code will stop running when the debugger breaks.
I know that you can do it with WinDBG and OutputDebugString, but for Visual Studio, I think you have to spool off another process, pipe commands to that, and have that manipulate the Debugger API.