I have been trying to figure out how to get the full name of a window to show up in a msgbox for quite some time. I am not sure how to grab the name of a window via user32 and have it popup in a msgbox in my program.

I have been trying to use showwindow and getwindowtext in order to do this. I am having problems poiting to a window OUTSIDE of my VB program. I can return the name of "form1" just fine, but I want the window name of a program totally outside my VB program.

Any suggestions would be greatly appreciated.

Thanks,

Zac