I have been trying to figure out how I could write a little program to log into TWS for me when I'm not beside the computer. After a few days of searching around on the internet I figured out how to send keystrokes to IB, and wrote a very simple vb application to do this. I use this program to log into TWS when I'm not around the computer, and it works fine for me so I thought I would share this with other people out there that may find this useful. I have written this program in vb and have included the source code and compiled program within the attachment, however you must have visual basic installed on your computer for this to work. I also have a distribution version which can be installed on any windows system, however, due to the 2.1meg size I cannot upload that here. If someone can contact me to put the file on their server that would be great so others can use the program. Please note that for the program to work, you must setup the into.txt file with a username/password/path combination first. More details can be found in the readme file. Note that this program is very slow to load TWS, I put delays in on purpose to ensure that TWS is loaded before the program sends the keystrokes to login. During the roughly 30s wait, do not start other programs or click other windows as this will cause TWS not to start. Finally, I am not a computer programmer and thus have probably made numerous errors in my code so I advise that you test the auto login with the demo account first before using on your live account. I will not be held liable for any problems caused by the program, use it "as-is" at your own risk. If you have questions or comments you can either post on this thread or PM me and I will try to help (I am very busy with exams now), don't get upset if I respond late. Hope this helps out, bidmasterx.