473,692 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 ScriptEngineMaj orVersion
response.write "." response.write ScriptEngineMin orVersion

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 3772
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@%%N OSPAM%%hotmail. com> wrote in message
news:uX******** ******@TK2MSFTN GP09.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 ScriptEngineMaj orVersion
response.write "." response.write ScriptEngineMin orVersion

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***@TRASHasp faq.com> wrote in message
news:#S******** ******@TK2MSFTN GP11.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@%%N OSPAM%%hotmail. com> wrote in message
news:uX******** ******@TK2MSFTN GP09.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 ScriptEngineMaj orVersion
response.write "." response.write ScriptEngineMin orVersion

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@%%N OSPAM%%hotmail. com> wrote in message
news:#O******** *****@tk2msftng p13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:#S******** ******@TK2MSFTN GP11.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@%%N OSPAM%%hotmail. com> wrote in message
news:uX******** ******@TK2MSFTN GP09.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 ScriptEngineMaj orVersion
response.write "." response.write ScriptEngineMin orVersion

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***@TRASHasp faq.com> wrote in message
news:OH******** ******@TK2MSFTN GP09.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@%%N OSPAM%%hotmail. com> wrote in message
news:#O******** *****@tk2msftng p13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:#S******** ******@TK2MSFTN GP11.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@%%N OSPAM%%hotmail. com> wrote in message
news:uX******** ******@TK2MSFTN GP09.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 ScriptEngineMaj orVersion
> response.write "." response.write ScriptEngineMin orVersion
>
> 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@%%N OSPAM%%hotmail. com> wrote in message
news:uO******** ******@TK2MSFTN GP11.phx.gbl...
Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:OH******** ******@TK2MSFTN GP09.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@%%N OSPAM%%hotmail. com> wrote in message
news:#O******** *****@tk2msftng p13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:#S******** ******@TK2MSFTN GP11.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@%%N OSPAM%%hotmail. com> wrote in message
> news:uX******** ******@TK2MSFTN GP09.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 ScriptEngineMaj orVersion
> > response.write "." response.write ScriptEngineMin orVersion
> >
> > 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@%%N OSPAM%%hotmail. com> wrote in message
news:uO******** ******@TK2MSFTN GP11.phx.gbl...
Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:OH******** ******@TK2MSFTN GP09.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@%%N OSPAM%%hotmail. com> wrote in message
news:#O******** *****@tk2msftng p13.phx.gbl...
Wow, stupid mistake by me, thanks that was it exactly.

Thanks for your help

"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:#S******** ******@TK2MSFTN GP11.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@%%N OSPAM%%hotmail. com> wrote in message
> news:uX******** ******@TK2MSFTN GP09.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 ScriptEngineMaj orVersion
> > response.write "." response.write ScriptEngineMin orVersion
> >
> > 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@%%N OSPAM%%hotmail. com> wrote in message
news:#0******** ******@TK2MSFTN GP10.phx.gbl...
http://www.aspfaq.com/show.asp?id=2376

Which is this error ...
"JohnWayne" <jpatches23@%%N OSPAM%%hotmail. com> wrote in message
news:uO******** ******@TK2MSFTN GP11.phx.gbl...
Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
news:OH******** ******@TK2MSFTN GP09.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@%%N OSPAM%%hotmail. com> wrote in message
news:#O******** *****@tk2msftng p13.phx.gbl...
> Wow, stupid mistake by me, thanks that was it exactly.
>
> Thanks for your help
>
> "Aaron Bertrand - MVP" <aa***@TRASHasp faq.com> wrote in message
> news:#S******** ******@TK2MSFTN GP11.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@%%N OSPAM%%hotmail. com> wrote in message
> > news:uX******** ******@TK2MSFTN GP09.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 ScriptEngineMaj orVersion
> > > response.write "." response.write ScriptEngineMin orVersion
> > >
> > > 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
4387
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 takes an extra 35 seconds, but has taken an extra 2.5 minutes in some cases. Any ideas what might be the cause? And more importantly - the fix? Code snippet below... Thanks, Christine
7
33576
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 form and it works fine, but in the service: nothing. .... this.components = new System.ComponentModel.Container(); this.tmrTimer = new System.Windows.Forms.Timer(this.components); // // tmrTimer //
6
2050
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 = ds.Tables(0).Rows(0).Item("halid")
7
2375
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 reset I put some extra code in the subs that enable and disable the timer. They fire as expected. To test this I added a second timer with a 1 second interval. The event for this time would output the enabled status of the first timer and its...
1
2090
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, and the counter is reset. I saw in one of Kevin Spencer's comments not to put the timer in javascript on the load function, but I have to get the script to run before the page is rendered, otherwise my timer is not displayed. I have a flag "Hidden...
10
1577
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 availalble for Windows forms but it is not listed for my .ASPX page. Is there such a control? Thanks.
4
4632
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 program is like so: static void Main() {
4
1832
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 Class {
7
1990
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
2284
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; this.name = dName; this.isRunning = false; this.interval = 50;
0
8547
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8969
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8812
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7639
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6462
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5822
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2983
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.