Hmm... so you were happy because you were dating, even though it meant you'd be the father of a newborn child?
First, I want to ask: are you even ready to handle that responsibility? How old are you? How were you planning on supporting the kid?
I ask because it seems that you are very concerned with having a relationship, to the point that, I think, you see it as more important an issue than that of parenthood. And you seem young, which tells me that:
a) your priorities aren't in check, and
b) your thoughts of suicide are just baseless.
Regarding a), you can find someone to date. For some of us, it's hard. It's hard for me, especially since I'm picky, but with so many girls out there I know I'll find someone. Statistically, I know it'll happen before I die.
b) concerns me the most. Life isn't all about dating and having friendships. There is a lot to life that you are experiencing, but you place so much importance on this ONE thing that now you're thinking your life is meaningless; that's wrong.
Tell us a bit about yourself. How old are you? What do you do (school, job, etc.)? How do you normally meet people and make friends?