F
Frank
Hi,
I've use FormFields.Item method with Word 2000 to insert a text in a
document:
Word.ApplicationClass cWord = new Word.ApplicationClass();
object n == System.Reflection.Missing.Value;
object oText0 = Apllication.StartupPath + \\Test.doc;
object oText1 = "Text1";
object oText2 = "Text2";
cWord.Visible = true;
cWord.Documents.Open(ref oTest1, ref n , ...);
cWord.ActiveDocument.FormFields.Item(ref oTest2).Result=TextBox1.Text;
The problem now is that i've installed Word 2003 and it won't work
anymore. Do you have any idea how can i adapt the situation with Word
2003??
Sincerely,
Francois
I've use FormFields.Item method with Word 2000 to insert a text in a
document:
Word.ApplicationClass cWord = new Word.ApplicationClass();
object n == System.Reflection.Missing.Value;
object oText0 = Apllication.StartupPath + \\Test.doc;
object oText1 = "Text1";
object oText2 = "Text2";
cWord.Visible = true;
cWord.Documents.Open(ref oTest1, ref n , ...);
cWord.ActiveDocument.FormFields.Item(ref oTest2).Result=TextBox1.Text;
The problem now is that i've installed Word 2003 and it won't work
anymore. Do you have any idea how can i adapt the situation with Word
2003??
Sincerely,
Francois