Results 1 to 8 of 8
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    number-of-docs-open-on-desktop

    I've just acheived a new personal best for number-of-docs-open-on-desktop (Win95/Word97SR2) being 248 before I ran out of macro storage (hah!!)

    If you'd like a shot at the record, ask for a copy of Files.dot and follow the steps for the first of several Examples.

    A few intersting points:

    1) Windows, Arrange all is something to behold.

    2) Shift-File, CloseAll is painfully slow. Word seems to re-draw the screen display after ecah close, and the repaint takes about 35 seconds. I can't imagine why a simple close of an unmodified file should take so long, unless its just that Word97 has gobbled up all its internal resources (both rubber-bands).

    3) I Ctrl-Alt-Del during the repaint and end a minor desktop task. The Word repaint continues, gradually overwriting some of the task list. It appears to me that only the title-bar of each window is getting redrawn. The vertical borders don't overwrite the task list box.

    4) After 15 minutes of getting bored I decided that they were only read-only files anyway, so i chose Start, Shutdown. When asked if I wanted to terminate (name of open document) I panicked and said Cancel (in case there had been a change in my open Template) at which point Word97 shutdown in less than a second.

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: number-of-docs-open-on-desktop

    Hi Chris:

    I have WinNT, Pentium 3, 800 something MH, 128RAM, & Word97/SR2.

    Sometimes, I don't know why I follow you on your excursions <img src=/S/grin.gif border=0 width=15 height=15>, but I just had to test it out. I opened new documents by pressing Ctrl+N until I had 253 open. Then I did an arrange all (yes, what a sight). Then shift+File/CloseAll. They all erased in seconds.

    Then I did it again, only 50 because I got tired, this time typing a letter in each document, to dirty each one. Arrange All & then Close All. By holding down the letter "n" (for no, I don't want to save changes), they again it erased in seconds.

    It seems like it's more dependent on processor speed, RAM, & video card than on Word, don't you think?

    By the way, work often on 248 things at once? <img src=/S/grin.gif border=0 width=15 height=15>

  3. #3
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: number-of-docs-open-on-desktop

    Phil,

    >By the way, work often on 248 things at once?

    He's probably got that many new postings at once <img src=/S/laugh.gif border=0 width=15 height=15> <img src=/S/laugh.gif border=0 width=15 height=15>
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  4. #4
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Oregon, USA
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: number-of-docs-open-on-desktop

    PIII, 650 MHz, 256 MB RAM. Word2k on a Win2k

    Ran the following code...

    For i = 1 To 250
    Documents.Add
    Selection.TypeText "Hello, world!"
    Next i

    Tried Shift+File>Close All and got a runtime error, automation error, unspecified error message. Happens every time I try the Close All command. Couldn't find reference in the Knowledge Base to the specific error.

    I ran the above code a second time (after having to end the Word task) and then ran Documents.Close WdDoNotSaveChanges.

    It took an average of about 7 seconds per document to close.

    This begs a couple of questions...

    1). Slightly off topic, but does anyone have an idea what is going on with the Close All event?

    2). Why, oh why do I do this stuff? :-)

    Thanks,

    Chris

  5. #5
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: number-of-docs-open-on-desktop

    >> Why, oh why do I do this stuff? :-)<<

    <img src=/S/shrug.gif border=0 width=39 height=15> Maybe the best way to avoid accidents is to break things deliberately. <img src=/S/smile.gif border=0 width=15 height=15> I just tried it with your macro & hung Word with CloseAll. However, with FileExit, I was able to just hold the letter "n" down & shut down Word. Each document closed in a fraction of a second. But I do know I had no problem using CloseAll before, without a macro. Not sure if it's worth figuring this one out.

  6. #6
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Oregon, USA
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: number-of-docs-open-on-desktop

    Hi Phil,

    Mebbe next week I'll dive further into the MS KB, but I think I'll just give up. A little more info..

    I've got a Win98/Win2k dual boot. I have Word 97 and Word 2000 on the Win 98 drive. Word 2000 ran out of resources after opening 210 docs, so I scaled back the For loop to 200. I was able to File>Close All and File>Exit in both Word 2000 and Word 97. Using the File>Exit command, Word 97 was *much* faster than Word 2000.

    On the Win2k boot with Word 2000, I got the same automation error with File>Exit as I did with File>Close All. I ran Office Repair and renamed normal.dot (which I tend to pound) to no avail. I'm hoping not, but things may be going south in a serious way on that drive. <img src=/S/doh.gif border=0 width=15 height=15>

    Thanks,

    Chris

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Shift-things (was Re: number-of-docs-open-on-deskt

    Maybe it's on the Shift-File menu because it hasn't been fully debugged?

    This Shift-File menu is the second Shift thing I've read here, the first was to Shift-right click a file name in Windows Explorer to get a generic Open With option.

    I can't figure out where are these Shift customizations are stored so that I can discover them (more efficiently) and customize them. Anyone?

  8. #8
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: number-of-docs-open-on-desktop

    >Sometimes, I don't know why I follow you on your excursion

    Because then I LEARN something (grin!)

    > It seems like it's more dependent on processor speed, RAM, & video card than on Word, don't you think?

    I think my amazing slow down was due to resources being "lost". I bet if I did it again and opened only 230 and closed them it'd look good.


    >By the way, work often on 248 things at once?

    Thousands. Only only this time I was testing a new open routine and decided not to close each doc after it was processed. Think of it as a regular "batch" conversion rune with the Document.Close commented out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •