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 wOOdy-Soft 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 Zig999

  1. Zig999

    MSXML2.XMLHttp.5.0 and readyState problem

    Hi, I have a simple AJAX class that works perfect if the httpRequest object is created using MSXML2.XMLHTTP. I have a selector the searches for the newest MSXML object instaled. Then, when I run my script into a Windows XP machine, it creates the httpRequest object using MSXML2.XMLHttp.5.0 and...
  2. Zig999

    Add TextBox in FirstPage Header

    Hi there. The documents I'm working with have to had the FirstPageHeaderFooter = true. I want to add a textbox to this firstpage header and I just can´t get it done. Here is the code I´m trying to use. It adds the normal text to the right header, but the Textbox is added in the second page, and...
  3. Zig999

    Number of Pages

    Thanks for the answer Gerry. I´ll try that... Zig
  4. Zig999

    Number of Pages

    The code is something like this: Sub Compare() Dim pathName As String, fileName As String pathName = "C:\convert\*.*" fileName = Dir$(pathName, 0) ChangeFileOpenDirectory "C:\convert\" Do While fileName <> "" Documents.Open fileName:=fileName...
  5. Zig999

    Number of Pages

    Hi, I need to get the number of pages of a documents list. I'm trying to use this two properties: ActiveDocument.BuiltInDocumentProperties("Number of pages") ActiveDocument.Content.Information(wdActiveEndAdjustedPageNumber) The problem is that in a loop, with large filesize documents, it is...
  6. Zig999

    Word Version

    Thanks Gerry. I tried to use this property as you recomend. The result was the same of Chance's sugestion. It returns me tha current application version, and not the documents. Maybe you can give me another idea. My object is that I have diferent actions for documents made in Word 97, 2000 and...
  7. Zig999

    Word Version

    Thanks for posting. But this property get me the version of the Word currently running. I need the version of the Word used to make the document in the first time. Thanks again.
  8. Zig999

    Word Version

    I´m opening a series of documents and I need to know in what version of Word witch one of this documents was made, like Word 97, 2000, 2002... Thank you Zig
  9. Zig999

    Multi user pasting problems

    Another thing... I´m testing the script with 2 users. One always get the document returned.. and the other don´t. In the server console the error raised is this. "This method or property is not available because the Clipboard is empty or not valid" Another thing I found today is that this only...
  10. Zig999

    Multi user pasting problems

    What I´m looking for is someone that already had problems with scripts running on a server like multithread problems or maybe compatibility problems with Word versions. something that works for ONE user and has problems with TWO or MORE. If the code helps... Here is the hole code and it really...
  11. Zig999

    Multi user pasting problems

    I have a Client/Server web application that uses Word to modify a doc file and show it to the user. This modification is pasting a staple at all document pages. If only one user is using the sistem, everything works fine, but if I have multiple users..well, 2 or more, I start getting errors on...
  12. Zig999

    SHAPES IN HEADER

    Hehehe, sorry m_pod.. I was just about to change I it, but I was so curiouse aboute tha Paste thing that I posted it that way. The motive that I test shape height is that the document header already has some other shapes (that are not stamps). And thanks very much for the sugestions. Fumei...
  13. Zig999

    SHAPES IN HEADER

    Fumei, I just tried removing the ActiveWindow.ActivePane.View and using Range to paste the Stamps. I get a bloody result, all the stamps are pasted into section 1???!!!???!! This is what I cant understand. If I use .Sections(i).Headers(1).Range.Text = "XXXXXXX" the text will be correctly...
  14. Zig999

    SHAPES IN HEADER

    Fumei, yes, you got it right. But this afternoon I just got into a solution and made the rules a litle bit diferent. I´m using a model doc from where I copy the STAMP. This model has 2 sections, and each section has a diferent STAMP. I´ll use this acording to the page Layout, Portrait pages has...

Part and Inventory Search

Back
Top