First, attempt to restore the mbr or windows boot record with Ubuntu. It's beena while, but I think Ubuntu has a rescue option like most distros. Use that to restore the windows boot record and then get back your windows.
If that does not work, then try to recover your data with a "live" cd, perhaps Knoppix or Mepis. Copy the data out and transfer it to your working directory.
Finally, you can try a windows machine, but windows might claim that the disck needs formatting, which it does anytime it detects a non-microsoft os. You should not reformat the drive, because I suspect only the boot sector is your issue at the moment.
I tried to install linux ubuntu on my hard drive that already had windows and i guess something went wrong and now it can't boot from it. If i want to get my data by connecting the hard drive to another computer running windows will it be able to read the drive or will I just format it? It's partions are all messed up there's like 5 partions on my 163GB hd.