You can lose weight without exercise. IN fact, exercise is pretty much just a side-note to weight loss. You can exercise until you fall over and still not lose weight if you're eating too much.
The only way to lose weight is to control what you eat. You've posted a couple of threads now about surgery and pills, but not once have you said anything about controlling your food. The one post of yours that I've read about food has incorrect information in it.
Then I would talk to your doctor about the types of exercise you can do - surely you can walk at the very least. Doing moderate walking that doesn't strain your heart might be a good option.