Inserting Text into a Doc File

  • Thread starter Thread starter GaryDean
  • Start date Start date
G

GaryDean

I have a need to be able to insert various text strings into a .doc or .rtf
file at specific locations. I know I could probably do this by reducing the
..doc to a byte array but is there a better way?
Thanks,
Gary
 
Hi Gary,

I may not understand your question exactly.
I have a need to be able to insert various text strings into a .doc or
rtf file at specific locations.

Do you mean that you'd like to insert various text strings into a .doc or
rtf file via Office interop?

If you could explain more about what you want, I will appreciate it.

I look forward to your reply.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
I've never used PIA but I was thinking that the solution would likely entail
that. If the best choice is PIA then how would I do this using PIA?

The .doc file is an IRS form complete with the blank ____________
spaces___________. My program has to fill out the form.
My program is a .Net c# windows forms assembly.
Thanks,
Gary
 
Back
Top