C# Programming
04-03-2009, 09:03 AM
Why Not.....
I solved it as i add COM reference Microsoft word 12.0 Object Library.
Then i code this..
try
{
string Msfilename = System.Windows.Forms.Application.StartupPath;
Msfilename = Msfilename + "\\File\\Test.doc";
System.Diagnostics.Process.Start(Msfilename);
}
catch (Win32Exception ex)
{
MessageBox.Show(ex.Message);
}
I got the solution.
I solved it as i add COM reference Microsoft word 12.0 Object Library.
Then i code this..
try
{
string Msfilename = System.Windows.Forms.Application.StartupPath;
Msfilename = Msfilename + "\\File\\Test.doc";
System.Diagnostics.Process.Start(Msfilename);
}
catch (Win32Exception ex)
{
MessageBox.Show(ex.Message);
}
I got the solution.