473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Timer function

Hello All,

I am having a problem calling the Timer function. I get a compile error
when I include a call to this function.

Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()

Here is my system setup:
ASP.dll Version: 5.0.2195.6672
VBscript.dll Version: 5.6.0.8515
On Windows 2000 with IIS5.0 and front page server extensions 2002.
IE 6, VS.NET 2003. and Visual Studio 6.

VBScript Engine: 5.6 Return from :
response.write "VBScript Engine: "
response.write ScriptEngineMajorVersion
response.write "." response.write ScriptEngineMinorVersion

And according to the Version Information of VBScript, the Timer function
language element was implemented in Version 5.0.

Any thoughts??
Jul 19 '05 #1
7 3764
Type that line over (and maybe the line before and after). Usually this is
because you copied the code from somewhere and it included some
non-printable character that the ASP engine doesn't like.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uX**************@TK2MSFTNGP09.phx.gbl...
Hello All,

I am having a problem calling the Timer function. I get a compile error
when I include a call to this function.

Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()

Here is my system setup:
ASP.dll Version: 5.0.2195.6672
VBscript.dll Version: 5.6.0.8515
On Windows 2000 with IIS5.0 and front page server extensions 2002.
IE 6, VS.NET 2003. and Visual Studio 6.

VBScript Engine: 5.6 Return from :
response.write "VBScript Engine: "
response.write ScriptEngineMajorVersion
response.write "." response.write ScriptEngineMinorVersion

And according to the Version Information of VBScript, the Timer function
language element was implemented in Version 5.0.

Any thoughts??

Jul 19 '05 #2
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:#S**************@TK2MSFTNGP11.phx.gbl...
Type that line over (and maybe the line before and after). Usually this is because you copied the code from somewhere and it included some
non-printable character that the ASP engine doesn't like.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uX**************@TK2MSFTNGP09.phx.gbl...
Hello All,

I am having a problem calling the Timer function. I get a compile error
when I include a call to this function.

Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()

Here is my system setup:
ASP.dll Version: 5.0.2195.6672
VBscript.dll Version: 5.6.0.8515
On Windows 2000 with IIS5.0 and front page server extensions 2002.
IE 6, VS.NET 2003. and Visual Studio 6.

VBScript Engine: 5.6 Return from :
response.write "VBScript Engine: "
response.write ScriptEngineMajorVersion
response.write "." response.write ScriptEngineMinorVersion

And according to the Version Information of VBScript, the Timer function
language element was implemented in Version 5.0.

Any thoughts??


Jul 19 '05 #3
Can you show the EXACT error message you received (including the 0x800xxxxx
code)?

Thanks
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#O*************@tk2msftngp13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:#S**************@TK2MSFTNGP11.phx.gbl...
Type that line over (and maybe the line before and after). Usually this

is
because you copied the code from somewhere and it included some
non-printable character that the ASP engine doesn't like.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uX**************@TK2MSFTNGP09.phx.gbl...
Hello All,

I am having a problem calling the Timer function. I get a compile error when I include a call to this function.

Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()

Here is my system setup:
ASP.dll Version: 5.0.2195.6672
VBscript.dll Version: 5.6.0.8515
On Windows 2000 with IIS5.0 and front page server extensions 2002.
IE 6, VS.NET 2003. and Visual Studio 6.

VBScript Engine: 5.6 Return from :
response.write "VBScript Engine: "
response.write ScriptEngineMajorVersion
response.write "." response.write ScriptEngineMinorVersion

And according to the Version Information of VBScript, the Timer function language element was implemented in Version 5.0.

Any thoughts??



Jul 19 '05 #4
Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
Can you show the EXACT error message you received (including the 0x800xxxxx code)?

Thanks
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#O*************@tk2msftngp13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:#S**************@TK2MSFTNGP11.phx.gbl...
Type that line over (and maybe the line before and after). Usually
this
is
because you copied the code from somewhere and it included some
non-printable character that the ASP engine doesn't like.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uX**************@TK2MSFTNGP09.phx.gbl...
> Hello All,
>
> I am having a problem calling the Timer function. I get a compile

error > when I include a call to this function.
>
> Invalid character
> /sirenServer/INCLUDE/test.asp, line 32, column 19
> starttime = Timer()
>
> Here is my system setup:
> ASP.dll Version: 5.0.2195.6672
> VBscript.dll Version: 5.6.0.8515
> On Windows 2000 with IIS5.0 and front page server extensions 2002.
> IE 6, VS.NET 2003. and Visual Studio 6.
>
> VBScript Engine: 5.6 Return from :
> response.write "VBScript Engine: "
> response.write ScriptEngineMajorVersion
> response.write "." response.write ScriptEngineMinorVersion
>
> And according to the Version Information of VBScript, the Timer function > language element was implemented in Version 5.0.
>
> Any thoughts??
>
>



Jul 19 '05 #5
Great, thanks. Just wanted to make sure I covered it.
http://www.aspfaq.com/2376

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uO**************@TK2MSFTNGP11.phx.gbl...
Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
Can you show the EXACT error message you received (including the

0x800xxxxx
code)?

Thanks
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#O*************@tk2msftngp13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:#S**************@TK2MSFTNGP11.phx.gbl...
> Type that line over (and maybe the line before and after). Usually this is
> because you copied the code from somewhere and it included some
> non-printable character that the ASP engine doesn't like.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
>
>
> "JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
> news:uX**************@TK2MSFTNGP09.phx.gbl...
> > Hello All,
> >
> > I am having a problem calling the Timer function. I get a compile

error
> > when I include a call to this function.
> >
> > Invalid character
> > /sirenServer/INCLUDE/test.asp, line 32, column 19
> > starttime = Timer()
> >
> > Here is my system setup:
> > ASP.dll Version: 5.0.2195.6672
> > VBscript.dll Version: 5.6.0.8515
> > On Windows 2000 with IIS5.0 and front page server extensions 2002. > > IE 6, VS.NET 2003. and Visual Studio 6.
> >
> > VBScript Engine: 5.6 Return from :
> > response.write "VBScript Engine: "
> > response.write ScriptEngineMajorVersion
> > response.write "." response.write ScriptEngineMinorVersion
> >
> > And according to the Version Information of VBScript, the Timer

function
> > language element was implemented in Version 5.0.
> >
> > Any thoughts??
> >
> >
>
>



Jul 19 '05 #6
http://www.aspfaq.com/show.asp?id=2376

Which is this error ...
"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uO**************@TK2MSFTNGP11.phx.gbl...
Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
Can you show the EXACT error message you received (including the

0x800xxxxx
code)?

Thanks
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#O*************@tk2msftngp13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:#S**************@TK2MSFTNGP11.phx.gbl...
> Type that line over (and maybe the line before and after). Usually this is
> because you copied the code from somewhere and it included some
> non-printable character that the ASP engine doesn't like.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
>
>
> "JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
> news:uX**************@TK2MSFTNGP09.phx.gbl...
> > Hello All,
> >
> > I am having a problem calling the Timer function. I get a compile

error
> > when I include a call to this function.
> >
> > Invalid character
> > /sirenServer/INCLUDE/test.asp, line 32, column 19
> > starttime = Timer()
> >
> > Here is my system setup:
> > ASP.dll Version: 5.0.2195.6672
> > VBscript.dll Version: 5.6.0.8515
> > On Windows 2000 with IIS5.0 and front page server extensions 2002. > > IE 6, VS.NET 2003. and Visual Studio 6.
> >
> > VBScript Engine: 5.6 Return from :
> > response.write "VBScript Engine: "
> > response.write ScriptEngineMajorVersion
> > response.write "." response.write ScriptEngineMinorVersion
> >
> > And according to the Version Information of VBScript, the Timer

function
> > language element was implemented in Version 5.0.
> >
> > Any thoughts??
> >
> >
>
>



Jul 19 '05 #7
I got that time code from your page.

http://www.aspfaq.com/show.asp?id=2092

"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#0**************@TK2MSFTNGP10.phx.gbl...
http://www.aspfaq.com/show.asp?id=2376

Which is this error ...
"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uO**************@TK2MSFTNGP11.phx.gbl...
Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
Can you show the EXACT error message you received (including the

0x800xxxxx
code)?

Thanks
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#O*************@tk2msftngp13.phx.gbl...
> Wow, stupid mistake by me, thanks that was it exactly.
>
> Thanks for your help
>
> "Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
> news:#S**************@TK2MSFTNGP11.phx.gbl...
> > Type that line over (and maybe the line before and after). Usually
this
> is
> > because you copied the code from somewhere and it included some
> > non-printable character that the ASP engine doesn't like.
> >
> > --
> > Aaron Bertrand
> > SQL Server MVP
> > http://www.aspfaq.com/
> >
> >
> >
> >
> > "JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
> > news:uX**************@TK2MSFTNGP09.phx.gbl...
> > > Hello All,
> > >
> > > I am having a problem calling the Timer function. I get a
compile error
> > > when I include a call to this function.
> > >
> > > Invalid character
> > > /sirenServer/INCLUDE/test.asp, line 32, column 19
> > > starttime = Timer()
> > >
> > > Here is my system setup:
> > > ASP.dll Version: 5.0.2195.6672
> > > VBscript.dll Version: 5.6.0.8515
> > > On Windows 2000 with IIS5.0 and front page server extensions

2002. > > > IE 6, VS.NET 2003. and Visual Studio 6.
> > >
> > > VBScript Engine: 5.6 Return from :
> > > response.write "VBScript Engine: "
> > > response.write ScriptEngineMajorVersion
> > > response.write "." response.write ScriptEngineMinorVersion
> > >
> > > And according to the Version Information of VBScript, the Timer
function
> > > language element was implemented in Version 5.0.
> > >
> > > Any thoughts??
> > >
> > >
> >
> >
>
>



Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Christine | last post by:
I've implemented a countdown timer for a tutorial web page that should give the user 45 minutes to complete the test, only to find that the timer is slowly 'losing' time. On average, it actually...
7
by: J. Hill | last post by:
I have a Windows Service with a timer but the .Tick event is not being fired/called. Don't know what code to include...I enabled and started the timer...I have the exact same code in a Windows...
6
by: Antti Laakso | last post by:
Hi i have function like above Public Sub halytystutkinta() Dim ds As New DataSet ds = dl2.HaeHalytys() Dim onkohal As Int16 onkohal = ds.Tables(0).Rows(0).Item("onkohalytys") halid =...
7
by: Noozer | last post by:
I have a timer on a form. It isn't firing at all. I know that the timer is enabled, and that the interval is low (4000, which should be 4 seconds). To ensure the timer wasn't being inadvertantly...
1
by: jmgro | last post by:
I have spent way too much time trying to solve the following problem: I have a datalist with a timer in the footer template. It works wonderfully except when the user pages back, then forward,...
10
by: Ryan | last post by:
I'm creating a website that monitors the status of servers using My.Computer.Network.Ping. I'm looking for a way to fire off my Ping() function every second or so. I see a Timer control...
4
by: grayaii | last post by:
Hi, I have a simple form that handles all its paint functionality like so: this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque, true); And the entry point to this...
4
by: jwriteclub | last post by:
Hello all, I have a quick question about timers in C#. I have a System.Windows.Forms.Timer timer (the kind you "drag" out of the toolbox. It looks something like this: public class...
7
by: ssecorp | last post by:
I am not clear about the results here. from timeit import Timer import Decorators def fib(n): a, b = 1, 0 while n: a, b, n = b, a+b, n-1
7
by: genesistr | last post by:
Hi, I have timer class and some classes use timer. but when i come back from timer with callback function, i can see this. properties. function Timer(dName, dCallback){ this.timer = null;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.