Re: Re: VBS error all of the sudden.

Darrin C Roenfanz <[email protected]>
Newsgroups gmane.comp.windows.shells.litestep
Message-ID <[email protected]>
Brian Wolven wrote:
> Paul wrote:
>> Brian Wolven wrote:
>>> Paul wrote:
>>>> Paul wrote:
>>>>> I just started getting this error all of a sudden and I have not 
>>>>> worked on this theme in a week or so.
>>>>>
>>>>> Script: C:\Litestep\ ...\weatherNotDLL.vbs
>>>>> Line: 621
>>>>> Char: 7
>>>>> Error: The system cannot find the file specified
>>>>> Code: 80070002
>>>>> Source (null)
>>>>>
>>>>> The corresponding line in the VBS is this.
>>>>>
>>>>>       Retval = WSHShell.Run(updateExe & " !Reload"            
>>>>> ,0,true)
>>>>>
>>>>>
>>>>> Strange thing is the weather still is reported correctly. Any 
>>>>> ideas gent's?
>>>> I know this is an old thread, but I have found the cause, but not 
>>>> the cure. The script works fine, all the time, as long as my wife 
>>>> (who uses the same theme as me) is not logged in. As soon as she 
>>>> logs in, the scripts spits out an error.
>>>>
>>>> Only took 4 months to figure it out. Any idea Brian on a way to fix 
>>>> that?
>>> Sounds like some sort of Windows file permission problem. If your 
>>> wife is the only one logged in does this happen, i.e., is it 
>>> happening when both of you are logged in at the same time?
>> It is only when we are both logged in at the same time.
> The script finds updateExe by looking through the list of processes 
> for a running litestep.exe. I think that what must be happening when 
> you are both logged in is that the script finds the EXE that belongs 
> to the other user, but then has no permission to perform a bang with 
> that process. I've never had a situation where two people were running 
> LS simultaneously on the same PC, so I've never encountered this 
> condition. I'm not sure how to get around this problem - something to 
> disable the timer that calls the script for the person who is not 
> 'active' at the time would do the trick. I don't know how to do that 
> off the top of my head though.
IIRC, Litestep runs as a executed by the 'user' (as opposed to System) 
... so, cant you have it check for whichever $username$ is active, then 
only run it for that one? *ponder*

---------------------------------------------------------------------
    Can't Unsubscribe? Check http://desktopian.org/listunsub.html
        LS List Homepage: http://wuzzle.org/list/litestep.php
            Get the LS FAQ: http://lsfaq.shellfront.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.