Some issuse run shell function
shell function thoughtput is more
so how can fix it?
Thanks.
string sqlStr ="\\d:koba -ifile=\\d:koba\test.xml -header=0 -ofile=\\d:koba Query1="select * from tabelname where fieldname= 'value' and field between 'value1' and 'value2' ""
int ProcId = Shell(sqlStr, AppWinStyle.MaximizedFocus, True)
Dim word As New Microsoft.Office.Interop.Word.ApplicationClass()
word.Visible = True
word.Documents.Open(@"\\d:koba\test." & ".xml").Activate()
word.Run("Catalogue_Replace_Hp")
word.Documents.Save()
word.Quit()