I'm Lucy, and I'd be happy to answer your questions today. I'm sorry to hear about your situation.
If company B was owned prior to the marriage, that is your husband's separate property and you do not have any ownership interest in the company, unless he later signed something giving you a portion of it. Any proceeds received from selling the company would also belong to your husband and therefore do not need to be distributed as part of an equitable distribution unless he put the money into a joint bank account - which he can't have done, since you said he never got it. That unfortunately means you're not entitled to any portion of the business, even though it was taken over by another company during the marriage.
What you could be entitled to, if you worked for the company, is half the amount that the value increased due to your efforts. Or if marital funds were invested in the business, you'd be entitled to half of that investment. Any salary your husband earned working for the company is marital funds and can be distributed equally. Those are the scenarios where it could be possible to claim some of the value, but you unfortunately wouldn't be able to claim any percentage of ownership in the business itself.
If you have any questions or concerns about what I've written, please reply so that I may address them. If I did not address the specific thing that you wanted to know, it may not have come across clearly to me, so please restate that question. It's important to me that you are 100% satisfied with the service I provide. Otherwise, please rate my service positively so that I get credit for answering your question. Thank you.