![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Word could not fire the event
Hi, I need help with mail merge in asp.net C#.
I keep getting this "Word could not fire the event" exception when I try to do mail merge. This is the piece of the code btw: object templatePath = /*Request.PhysicalApplicationPath +*/ @"D:\\CRMS 2.0 v2.1\\CRMS Apps\\Template Badges.dot"; object oFilename = Environment.CurrentDirectory + @"C:\\Saved.doc"; object oReadOnly = false; object oVisible = true; object oMissing = System.Reflection.Missing.Value; wrdDoc = wrdApp.Documents.Open(ref templatePath, ref oMissing, ref oReadOnly, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oVisible, ref oMissing, ref oMissing, ref oMissing, ref oMissing); wrdDoc.Activate(); The exception occurs at the wrdApp.Documents.Open method. Please help, thank you.. |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|