Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 240 → Rev 241

/trunk/DBViewer/database.cpp
993,6 → 993,8
void MainWindow::on_pushButton_18_clicked()// âûïîëíèòü wmi çàïðîñ
 
{
/*
 
// QString program = tr(" wmic -U Àäìèíèñòðàòîð%Patr10t //192.168.0.135 \"select * from Win32_ComputerSystem\"");
QString program = tr("wmic");
QStringList arguments;
999,7 → 1001,7
 
// arguments << tr(" -U Àäìèíèñòðàòîð%Patr10t //192.168.0.135 \"select * from Win32_ComputerSystem\"");
// program.append(tr(" -U Àäìèíèñòðàòîð%Patr10t //192.168.0.135 \"select * from Win32_ComputerSystem\""));
program.append(tr(" -U Àäìèíèñòðàòîð%Patr10t //192.168.0.135 \"select * from ")); //Win32_Product\""));
program.append(tr(" -U admin --password=samba //192.168.0.101 \"select * from ")); //Win32_Product\""));
program.append(ui->comboBox_2->currentText());
program.append(tr("\""));
 
1006,6 → 1008,8
int i;
i++;
wmiProcess.start(program);
*/
MainWindow::getWmiVideoGard(tr("192.168.0.101"), tr("admin"), tr("samba"));
 
}