I have used the following shellExecute API to open/Excel MS Excel files and it works fine. But for MS Word problem occurs.
I want to open MS Word document through VB 6.0 and i am using shellExecute API
Rtn = ShellExecute(frmName.hwnd, "Open", "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" , " C:\Program Files\Proj\sheets\DocName.doc", "", 5)
when i click the command1 button then word document DocName.doc opens. that's fine. again when i click the command1 button then same document which was already opend is shown.But I want to to open multiple instances of the same document. If i click command1 button 5 times then 5 instances are required.
and 4 out of 5 will be read only,it is acceptable.
Thanks and Regards