V
venkat
Hi Every body
I am using DSOFramer Control To host a Word Document .I am successfull
to the document But One Problem i am facing
1) i want to find whether the document has been modified or not for
external event like button click.
2) i want to supress the open dialog when i CTRL+Save When word
property is set to ReadOnly Recommended.
Sample Code :
string tempDir = System.IO.Path.GetTempPath();
openedFileName = Path.Combine(tempDir, "My_Doc" +
DateTime.Now.ToString("MMddyyyy_HHmmss") + ".doc");
FileStream tempFile = new FileStream(openedFileName,
FileMode.OpenOrCreate, FileAccess.ReadWrite);
tempFile.Close();
this.axFramerControl1.Open(openedFileName);
this.axFramerControl1.Titlebar = false;
this.axFramerControl1.Menubar = false;
Here axFramerControl1 is DSOFramer Object.
Thanks & Regards
Venkat.M
I am using DSOFramer Control To host a Word Document .I am successfull
to the document But One Problem i am facing
1) i want to find whether the document has been modified or not for
external event like button click.
2) i want to supress the open dialog when i CTRL+Save When word
property is set to ReadOnly Recommended.
Sample Code :
string tempDir = System.IO.Path.GetTempPath();
openedFileName = Path.Combine(tempDir, "My_Doc" +
DateTime.Now.ToString("MMddyyyy_HHmmss") + ".doc");
FileStream tempFile = new FileStream(openedFileName,
FileMode.OpenOrCreate, FileAccess.ReadWrite);
tempFile.Close();
this.axFramerControl1.Open(openedFileName);
this.axFramerControl1.Titlebar = false;
this.axFramerControl1.Menubar = false;
Here axFramerControl1 is DSOFramer Object.
Thanks & Regards
Venkat.M