I am parsing an XML document using XMLTextReader, and when it comes to the end of the file i recieve an error stating that
"error occured: An unexpected end of file parsing CDATA has occured"
I was wondering if there was an exception handler i could use to catch this error.
Many thanks for...
Hi, Thanks for the reply.
Im not sure what OLE is to be honest! But what im trying to do is copy the entire body of one document into another, but things like content and paragraph dont copy the formfields i need to have copied across as well, i was hoping (vainly) that there would be some...
Hi there,
Is there anyway of grabbing the entire body of a document, including formfields, whilst keeping all its formatting etc?
Thanks for any help
JR
Thats my problem though, i dont know enough to identify it(i dont think), cos the user could save it anywhere. I was thinking that i could save the address of the document in string format into the registry. Then i could read the key in from the other documents code to obtain the address so i...
Hi all,
This is my dilemma. I have a template form that gets saved at a user defined location as a document. This document can then open another template and thus another document with its location also defined by the user. I need to access info from the first document from the second document...
Cheers for the tips guys. I ended up using this line:
Documents.Item(2).FormFields.Item(1).Result
It seemed to work ok, the Item(2) was referring to the first document. It seemed to work ok, even if there were other word documents open before, so i guess they werent part of this collection...
Im afraid not amigo...
...i can access the formfields in the original document using code within that documents editor:
ActiveDocument.FormFields.Item(1).Result
however, i dont know how to access the formfields through another document....i assume there must be something to replace the...
Hi folks, this is my problem. I have a word document that contains form fields. This document will have a macro that will open up another document. The new document using its own macro, will use the data entered into the first document by the user. How do you access data from different...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.