Rad 10-->dteStartDate = Timer()
'massa kod
Response.write "//-->Sidan tog "& FormatNumber((timer() - dteStartDate)*1000,2) & "ms. att ladda.<--//"& vbcrlf &_
"</body></html>"
Type mismatch
cal.asp, line 10
Går det inte att göra så här?
5 svar · 203 visningar · startad av Jesper T
Rad 10-->dteStartDate = Timer()
'massa kod
Response.write "//-->Sidan tog "& FormatNumber((timer() - dteStartDate)*1000,2) & "ms. att ladda.<--//"& vbcrlf &_
"</body></html>"
Type mismatch
cal.asp, line 10
Går det inte att göra så här?
Borde gå bra. Hur ser rad 1-11 ut?
Kommer här:
<%@ Language=VBScript %>
<% Option Explicit %>
<!--#include file="nameday.inc"-->
<%
response.buffer=true
Dim dDate, dYear, dMonth, dDaysInMonth, iCounter, sClass, sMonthName, iCounter2
Dim iLinesize, sHead, Conn, sql, RS, sOutput, iWeekNo, sColor, sNclass, sValid, user
Dim datum, yyyy, aManad, aDag, aAr, mm, skip, sel, selected, smDag, x, days, y, bgColor
Dim borderColor, fontColor, manad, allPost, privat2, dteStartDate, timer
dteStartDate = Timer()
Dimma inte timer (på rad 9).
Ok, jag hade dimmat timer. Det funkar nu!
hahah, pling