chetan Allipur

chetan Allipur

  • NA
  • 541
  • 167.6k

How to open the specific word from document collection.

Aug 23 2017 12:42 AM
How to open the specific word document from document collection using VSTO. I am using add in.If I have docA and docB.First time I open docA and next time I will open docB.docB is opened but in screen docA is showing I want front screen as docB.
 
 Here is my code,
 
oWordDoc = Globals.ThisAddIn.Application.Documents.Open(destinationPath, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, true, missing
, missing, missing, missing);
oWordDoc.Activate();
 

Answers (1)