Update:
Well i haven't figured out how to use the PreProccessMessage method yet, but i did find out how to send keystrokes to programs started externally from my
VB program. Its pretty cool but it isn't really practical. Facilitated through the My.Computer.Keyboard namespace, the SendKeys() method sends keyboard input to whatever program has focus (for all who are curious). Im using it to send a username password pair to a sharepoint site navigated by the webbrowser control. This works fine. You have to use a timer to wait until the page loads enought to prompt you for the username and password. But when i click on a document to edit in the sharepoint site, it attempts to open it through MS Word, then prompts you again for a password, this is where i can't control it. Atleast i solved the first one.