08-22-2007, 08:17 AM
I cannot get it to fail at all: 2 desktops, 1 notebook. Tried different logon accts on the same computer, different rights. 1 desktop and the notebook have virgin QM demo installs and the macro components from the downloaded zip posted earlier. All are XP pro.
--------
You've helped plenty -- I really won't be offended if you don't have time for troubleshooting questions:
You are describing an intermittent or random issue, but for practical purposes, that is impossible (barring faulty RAM, other hardware failings). It must be caused by something, and should be repeatable, wouldn't you expect?
1 . When you say the cookie is
a. It is literally deleted just after it is written (on clicking SUBMIT) but before hitting OK to close diag and resuming the macro? --> problem in html/java performance.
Test: Open your logon cookie folder, then run macro to just after clicking SUBMIT (but do not hit OK to resume macro). You should see the cookie written: logonname@~~local~~[1].txt
If you hit backspace from cookie_message,html you can go back and forth entering data and writing a new cookie each time you click SUBMIT (the number at the end of cookie filename should alternate between [1] and [2] making it easy to see the change).
If the file already existed in the folder from previous run, you should see it deleted upon start of macro.
b. It is deleted after clicking SUBMIT, displaying the cookie_message,html AND then clicking on OK? --> problem in macro/something unique to your configuration compared to my 3 systems tested.
2. Is it possible that you may have skipped the SUBMIT button and clicked diag OK button on the ones that failed? That would definitely account for it. (I know this whole arrangement in the example is clumsy and should be consolidated into one button, which you've got in your example)
3. The "del cookie_wild..." line near the top of the macro is not really needed, as the cookie is just overwritten anyway each time macro is run past clicking on the SUBMIT button.
4. Are there other local cookies in dir? Any other programs writing local cookies?
I keep thinking of possible causes (like ie permissions, java settings, do not show hidden files etc settings), but it always comes back to your intermittent/unpredictable testing results and none of those could be the culprit...
--------
You've helped plenty -- I really won't be offended if you don't have time for troubleshooting questions:
You are describing an intermittent or random issue, but for practical purposes, that is impossible (barring faulty RAM, other hardware failings). It must be caused by something, and should be repeatable, wouldn't you expect?
1 . When you say the cookie is
Quote:"immediately deleted"do you mean:
a. It is literally deleted just after it is written (on clicking SUBMIT) but before hitting OK to close diag and resuming the macro? --> problem in html/java performance.
Test: Open your logon cookie folder, then run macro to just after clicking SUBMIT (but do not hit OK to resume macro). You should see the cookie written: logonname@~~local~~[1].txt
If you hit backspace from cookie_message,html you can go back and forth entering data and writing a new cookie each time you click SUBMIT (the number at the end of cookie filename should alternate between [1] and [2] making it easy to see the change).
If the file already existed in the folder from previous run, you should see it deleted upon start of macro.
b. It is deleted after clicking SUBMIT, displaying the cookie_message,html AND then clicking on OK? --> problem in macro/something unique to your configuration compared to my 3 systems tested.
2. Is it possible that you may have skipped the SUBMIT button and clicked diag OK button on the ones that failed? That would definitely account for it. (I know this whole arrangement in the example is clumsy and should be consolidated into one button, which you've got in your example)
3. The "del cookie_wild..." line near the top of the macro is not really needed, as the cookie is just overwritten anyway each time macro is run past clicking on the SUBMIT button.
4. Are there other local cookies in dir? Any other programs writing local cookies?
I keep thinking of possible causes (like ie permissions, java settings, do not show hidden files etc settings), but it always comes back to your intermittent/unpredictable testing results and none of those could be the culprit...