I went to a local community college for my first two years, and completed a CS associate's degree, then enrolled in UMUC and received a CIS bachelor's degree. The CS degree could probably be done entirely online as well. Not all courses were online--I took some night ones early on, and even some week-long full-time courses that I took personal leave to attend. I expect there are similar schools wherever you live. Disclaimer: The term "years" above is being used very loosely. It really took me about 10 years, because I took some time off in the middle and tried my best to juggle work, school, and family during all of those years.