Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by JohnnyRazzle

  1. JohnnyRazzle

    XML parsing - End of file error

    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...
  2. JohnnyRazzle

    Grabbing the body of a document.

    InsertFile, thats the fella ive been looking for, cheers!!
  3. JohnnyRazzle

    Grabbing the body of a document.

    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...
  4. JohnnyRazzle

    Grabbing the body of a document.

    Oh i should have said that this is using Word Sorry
  5. JohnnyRazzle

    Grabbing the body of a document.

    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
  6. JohnnyRazzle

    Word - finding the address of a word document from another

    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...
  7. JohnnyRazzle

    Word - finding the address of a word document from another

    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...
  8. JohnnyRazzle

    Accessing data from one open word document to another

    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...
  9. JohnnyRazzle

    Accessing data from one open word document to another

    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...
  10. JohnnyRazzle

    Accessing data from one open word document to another

    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...

Part and Inventory Search

Back
Top