I
immi
Hi
I want to open MS Word document through VB 6.0 and i am using
shellExecute API
sub command1_click()
Rtn = ShellExecute(frmName.hwnd, "Open", "C:\Program Files\Microsoft
Office\OFFICE11\WINWORD.EXE" , " C:\Program Files\Proj\sheets
\DocName.doc", "", 5)
end sub
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 should open separately and then obviously close
separately. Our requirement is that 4 out of that 5 instances should
be read only ?
It should be noted that same API works fine for opening multiple
instances of MSExcel documents.
Regards
Imi
I want to open MS Word document through VB 6.0 and i am using
shellExecute API
sub command1_click()
Rtn = ShellExecute(frmName.hwnd, "Open", "C:\Program Files\Microsoft
Office\OFFICE11\WINWORD.EXE" , " C:\Program Files\Proj\sheets
\DocName.doc", "", 5)
end sub
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 should open separately and then obviously close
separately. Our requirement is that 4 out of that 5 instances should
be read only ?
It should be noted that same API works fine for opening multiple
instances of MSExcel documents.
Regards
Imi