Nice idea, Vivek, But the question is how to make a copy of it without getting the main window or main word doc?
Thanks Musa. On Jul 6, 11:52 am, Vivek SHANTHARAM <[email protected]> wrote: > 1) make a copy of the file in some other temporary location. > 2) Do the changes you want to make and > 3) then replace it with the original file that is open. > > Classes like File, FileSystem contains some methods like open, openread, > openwrite, copy etc, which should help you. Hope this works. > > On Mon, Jul 6, 2009 at 7:21 PM, musa.biralo <[email protected]> wrote: > > > Greetings. > > > First of all I am not looking for the entire code, I need your help to > > direct me or give some suggestions. > > > From VB.NET <http://vb.net/>, will I be able to write a string to a word > > document which > > is already open (I can see the word doc in taskbar)? I was able to get > > the file name of the word doc that's in taskbar but failed to activate > > it or write on it. > > > So, from VB.NET <http://vb.net/>, I need to activate or get the word doc > > which is up > > and running with a file name of "Musa.doc" and write some text to the > > word doc... > > > Any suggestion will be very helpful. > > > Thanks in advance. > > Musa.Biralo > >
