Iam Ramesh. Iam doing a project contains word automations by using ASP.NET with C#. Server side automation will done by using the following code in ASP.NET with C#..
new_app=new Word.ApplicationClass();
new_app.Visible=true;
new_qdoc=new_app.Documents.Add... oMissing,ref oMissing,ref oMissing,ref oMissing);
str=Session["UName"].ToString(...
temp_dir=Server.MapPath("Docum...
object tmp_qfname=temp_dir+"\\Questio...
new_qdoc.SaveAs(ref tmp_qfname,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,
ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,ref oMissing,
ref oMissing,ref oMissing,ref oMissing);
The server side automation is successfully working.
Is any one knows, how to automate word in client side.Please help me?????????
How will automate the word in client side using ASP.Net with c#?
You don't seem to under the first thing about client/server programming.
But it is possible to use jscript that runs in the client's browser to load Word and get it to load a document etc. It's just that there are invariably users who have ActiveX scripting disabled for obvious reason, to ask them to enable it is asking for something potentially troublesome - you'd need a Word license on all your client's machines anyway.
If you are using Word as a client-side editor maybe you should rethink your architecture.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment