how do i remove drive shaft from engine.im taking engine out need to take drive shaft out .1926 fordor model t.i removed the 4 bolts going in engine.
In theory it should pull out.
You say you are taking the engine out. If you have everything in the way of the engine out or unbolted,the engine should slide forward and the drive shaft will stay in place. The universal joint is attached to the driveshaft and will slide out of the back of the transmission. One thing which can cause a hang up is the wishbone. It needs to be unbolted from the crankcase and pulled down. Then the front of the engine is lifted to clear the front mount and it will pull right out.
I think Kenny has the motor out and the pan off. There are four bolts connecting the flange on the crankshaft to the transmission drive shaft. Undo those four bolts. By the way it is best to have the engine vertical, nose down before you do this.... Once the bolts are out, the transmission will lift off, it might be tight but it will come if you rock it slightly as you lift. Some weak minded but strong armed friends are useful here (or a sky hook)!
You can leave the engine alone, and pull the rear end.
To add to what Tony said, if it is the transmission shaft you want to remove, it would be a good idea to mark the positions of the crankshaft, flywheel and transmission shaft so that they can be re-assembled in the same position. In some cases, great effort was made to get everything in alignment to eliminate runout, and that alignment would be lost if they were assembled in a different position. Note there are two ways each piece could be assembled leaving 6 possible combinations.
Got it out thanks guys.