Re: Question about using VBScript properties in a webpage
- From: Adam Sandler <corn29@xxxxxxxxxx>
- Date: Tue, 31 Jul 2007 10:25:52 -0700
On Jul 30, 3:02 pm, "Anthony Jones" <A...@xxxxxxxxxxxxxxxx> wrote:
Thanks for the reply...
Where is getTime called?
getTime is called from another Sub
Does GetTime define a p variable of its own? (Its
usually best that you give Global variables a prefix to make it obvious its
global and to ensure it isn't shadowed by local variables).
Nope... the only 'p' used is the one shown in the first posting. BTW,
isn't 'p' global as I've written? I ask because in Window_OnLoad,
"p.SelectedFile = foo" works (but in getTime, "p.StartTime = s"
fails)... if p wasn't global wouldn't p fail inside of OnLoad too?
Thanks!
.
- References:
- Question about using VBScript properties in a webpage
- From: Adam Sandler
- Re: Question about using VBScript properties in a webpage
- From: Anthony Jones
- Question about using VBScript properties in a webpage
- Prev by Date: Re: Accuracy of LastLogon and LastLogonTimeStamp
- Next by Date: an answer to the original question (maybe)...
- Previous by thread: Re: Question about using VBScript properties in a webpage
- Next by thread: RUN exe from CurrentFolder
- Index(es):
Relevant Pages
|