08-19-2007, 08:26 AM
I used GetUserComputer to replace rget when tested on Vista.
More than 50% of times I run the macro I get RT error because the cookie does not exist. On XP and Vista is the same. Works, doesn't, doesn't, doesn't, doesn't, works, doesn't, ....
I created function that monitors $cookies$ folder and displays added/deleted/modified files. When your macro works, the function displays
1 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
8 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
, which means that the file is added and modified.
When it does not work, the function displays
1 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
8 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
2 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
, which means that the file is added, modified, and immediately deleted.
More than 50% of times I run the macro I get RT error because the cookie does not exist. On XP and Vista is the same. Works, doesn't, doesn't, doesn't, doesn't, works, doesn't, ....
I created function that monitors $cookies$ folder and displays added/deleted/modified files. When your macro works, the function displays
1 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
8 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
, which means that the file is added and modified.
When it does not work, the function displays
1 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
8 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
2 C:\Documents and Settings\G\Cookies\g@~~local~~[1].txt
, which means that the file is added, modified, and immediately deleted.