gAlwaysIdle is a windows application which will add a menu item to Gtalk context menu.

(source: tothepc.com)
How can I do this to an application using vb.net or c#.net?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t think this is possible using .NET. gAlwaysIdle’s website is down at the moment, but it most likely uses code/DLL injection to modify Google Talk’s code at runtime and insert a menu item. This is only possible with native code (compiled) languages, which .NET languages aren’t.
Edit: I found a download mirror and took a look at the application. It uses the SetWindowsHook method of DLL injection, which confirms my theory.