Message 1 of 5
SendStringToExecute Synchronous
Not applicable
01-30-2012
09:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to convert by cide a lot of mechanical dwg by code.
Unfortunatly the method saveas (acDoc.Database.SaveAs) is not completly working with mechanical drawing (Mechanical 2010), so I'm trying to use SendStringToExecute command.
Unfortunatly SendStringToExecuteis not synchronous, so the instruction after SendStringToExecute (acDoc.CloseAndDiscard) is executed before the SendStringToExecute is completed.
How can I understand when the SendStringToExecute command is completed?