Здравствуйте, гость ( Вход | Регистрация )
QAxObject * word = new QAxObject("Word.Application"); word->setProperty("DisplayAlerts", "0"); word->querySubObject("Documents")->querySubObject("Open(QVariant)", "c:\\test.xml"); word->querySubObject("ActiveDocument")->dynamicCall("PrintOut()"); word->querySubObject("ActiveDocument")->dynamicCall("Close()"); word->dynamicCall("Quit()");