Hi,

This is my code i used it is working in my system with msWord 2016 in windows10...In another systems it is not working..plz Help me to solve

QString nPath;
nPath = QFileDialog::getOpenFileName(this,"select DOC files",qApp->applicationDirPath(),"*.doc *.docx");
m_pAxWidget = new QAxWidget(this);
ui->gridLayout->addWidget(m_pAxWidget);
m_pAxWidget->setControl(nPath );