In Ship in a Bottle, the crew of the Enterprise tried to give Moriarty the ability to leave the holodeck. They tried beaming out a chair but it didn't work.
In the episode with the Exocoms, they established that they make holograms of devices that actually work. Well, what about a holographic...