The following post has a macro that will do this for you, I wont take the credit for this solution:
http://blog.lavablast.com/post/2008/01/Attach-to-Process-with-one-shortcut.aspx
The post also tells you how to bind a shortcut to the macro. This tip saves me time and frustration.
UPDATE:
When logging in with a domain account, you need to change the following:
Dim compName As String = WindowsIdentity.GetCurrent().Name
compName = compName.Substring(0, compName.IndexOf("\"))
to
Dim compName As String = My.Computer.Name
No comments:
Post a Comment