PDA

View Full Version : show only 1 document?



let98007
08-18-2009, 05:17 PM
I have Word automation code running in Visual FoxPro. Sometimes several documents have been created when it comes time for the user to edit one of them. With Word 2007, whenever I make oWord visible, all of the documents appear on the task bar. I want to restrict the user to editing a specific one. Is that possible?

geekgirlau
08-18-2009, 08:00 PM
You should be able to specify which document you want to activate. Can you post your code?

let98007
08-22-2009, 11:03 AM
The problem isn't in activating the proper document. The problem is that I don't want the others visible on the Task Bar. The EventHandler for the edit process works best when the user has access to a single document at a time.