In general, the only times a company gets money when you buy shares are if you participate in an IPO, or if an already-public company decides to offer more shares for sale in order to raise some money, and you buy some of those shares. (There are exceptions, but retail investors like you and me usually don't get invited to participate in those deals, though.) The vast majority of shares that trade hands on the markets every day are not owned by the company whose name is next to the ticker symbol.
Companies IPO and sell shares. The company gets paid by people who want to own shares. The company IPOs and sells 1000 shares at $50 each, gaining them $50k which they can then use to buy a new whatever. Then, in a market like NYSE, other people can buy and sell stock. If I think the stock is undervalued I offer to buy 1 from someone at $55. that person gives me 1 stock, I give them $55, netting them $5. The company is not involved in this transaction and does not get anything from that specific transaction.
Now that the price is at $55, the company could decide to sell additional stock, now at $55 instead of $50, but that's a separate event from the transaction that happened previously. So the company does benefit from the stock price being high, but not directly off each transaction.
I've omitted all the details, but I think that's enough to get the gist of it.
HN/VC is NOT the traditional way for companies to raise money.
Buying outside a IPO is called the secondary market. If nobody could buy a share in the secondary market, the stock is almost worthless. Just like your private company with one round of funding and shares. If you can't sell them, they aren't worth much.
really? how can that be true?