473,836 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

include page based on week of year.

I have to update a page every week. I get the page ahead of time so I used
the "scheduled includes" webbot in Frontpage only to find that I would have
to refresh the page every week to have it work. That is silly, it should run
by itself. so...
I asked the question in the FP group and I was offered this pseudocode
to do it by month which would work if it's possible to do it by week without
writing 52 seperate lines, one for each week which would change each year
and have to be rewritten each year.

<% If Now()>date("1/3/2005") then %>
<!-- #include file="includes/mar.asp" -->
<% elseif Now()>date("1/2/2005") then %>
<!-- #include file="includes/feb.asp" -->
<% else %>
<!-- #include file="includes/jan.asp" -->
<% endif %>

Now the goal for me would be something that would calculate which week of
the year (any year) it is.
i.e. Jan 1-7 = w1.htm , Jan 8-15= w2.htm etc. and return a Wx.htm for each
week.
That way all I have to do is save a wx.htm file where x= week of year.
so ... how can I caclulate what week of the year it is?
Jul 22 '05
21 1931
This script generated an error that looks familar to me as a silly mistake
in my application of it but I can't recall what it was:
Microsoft VBScript compilation error '800a0400'

Expected statement

/OYB/Test.asp, line 40

Option Explicitand it points to the First "O" in Option
"McKirahan" <Ne**@McKirahan .com> wrote in message
news:0v******** ************@co mcast.com...
"mmac" <no@thank.you > wrote in message
news:uK******** ******@TK2MSFTN GP14.phx.gbl...
> Will January 1 - 7 always be Week 1?
>
> Will Week 53 always consist of just one or two days?


yes , for this application it will.
week 53 would be bundled into week 52


[snip]

Then insert this line just before "Dim objFSO" in the solution I posted
earlier:

strOTF = Replace(strOTF, "\w53.htm","\w5 2.htm")

Jul 22 '05 #11
".:mmac:." <no@thank.you > wrote in message
news:OV******** ******@TK2MSFTN GP09.phx.gbl...
This script generated an error that looks familar to me as a silly mistake
in my application of it but I can't recall what it was:
Microsoft VBScript compilation error '800a0400'

Expected statement

/OYB/Test.asp, line 40

Option Explicitand it points to the First "O" in Option
"McKirahan" <Ne**@McKirahan .com> wrote in message
news:0v******** ************@co mcast.com...
"mmac" <no@thank.you > wrote in message
news:uK******** ******@TK2MSFTN GP14.phx.gbl...

> Will January 1 - 7 always be Week 1?
>
> Will Week 53 always consist of just one or two days?

yes , for this application it will.
week 53 would be bundled into week 52


[snip]

Then insert this line just before "Dim objFSO" in the solution I posted
earlier:

strOTF = Replace(strOTF, "\w53.htm","\w5 2.htm")


Oops, I used the wrong variable a I didn't test it; try this:

Dim strHTM
strHTM = "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strHTM = Replace(strHTM, "w53.htm","w52. htm")

Jul 22 '05 #12
Ummm... Where?
It looks like you are replacing the strOTF with strHTM but the strOTF is
used in more places. Should I replace all?
Where precisely should I replace it? i.e. the Response.Write still writes
the strOTF var.
here is the script as it is now,
<% Option Explicit
'*
Dim strOTF
strOTF = Request.ServerV ariables("PATH_ TRANSLATED")
strOTF = Left(strOTF,InS trRev(strOTF,"\ "))
strOTF = strOTF & "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FilExist s(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>

BTW, there is no Line 40 on the page as written, the server must be
recompiling something so I don't know where to look for Line 40 as refernced
in the error message.
This script generated an error that looks familar to me as a silly
mistake
in my application of it but I can't recall what it was:
Microsoft VBScript compilation error '800a0400'

Expected statement

/OYB/Test.asp, line 40

Option Explicitand it points to the First "O" in Option
"McKirahan" <Ne**@McKirahan .com> wrote in message
news:0v******** ************@co mcast.com...
> "mmac" <no@thank.you > wrote in message
> news:uK******** ******@TK2MSFTN GP14.phx.gbl...
>>
>> > Will January 1 - 7 always be Week 1?
>> >
>> > Will Week 53 always consist of just one or two days?
>>
>> yes , for this application it will.
>> week 53 would be bundled into week 52
>
> [snip]
>
> Then insert this line just before "Dim objFSO" in the solution I posted
> earlier:
>
> strOTF = Replace(strOTF, "\w53.htm","\w5 2.htm")
>


Oops, I used the wrong variable a I didn't test it; try this:

Dim strHTM
strHTM = "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strHTM = Replace(strHTM, "w53.htm","w52. htm")

Jul 22 '05 #13
".:mmac:." <lost@sea> wrote in message
news:uf******** ******@TK2MSFTN GP12.phx.gbl...
Ummm... Where?
It looks like you are replacing the strOTF with strHTM but the strOTF is
used in more places. Should I replace all?
Where precisely should I replace it? i.e. the Response.Write still writes
the strOTF var.
here is the script as it is now,
<% Option Explicit
'*
Dim strOTF
strOTF = Request.ServerV ariables("PATH_ TRANSLATED")
strOTF = Left(strOTF,InS trRev(strOTF,"\ "))
strOTF = strOTF & "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FilExist s(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>

BTW, there is no Line 40 on the page as written, the server must be
recompiling something so I don't know where to look for Line 40 as refernced in the error message.


[snip]

Sorry, about "strHTM"; I must have had it left over from something.

The above is missing an "e" in "FileExists "; perhaps that's the error.

Also, I'd forgottne about Server.MapPath( ) -- brain cramp.

Try this and let me know.

<% Option Explicit
'*
Dim strOTF
strOTF = "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strOTF = Replace(strOTF, "w53.htm","w52. htm")
strOTF = Server.MapPath( strOTF)
Response.Write strOTF & "<br>"
'* remove the above line after testing.
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FileExis ts(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>
Jul 22 '05 #14
error still,

Microsoft VBScript compilation error '800a0400'
Expected statement
/OYB/Test1.asp, line 39
Option Explicit
^
Also there is NO line 39 in the code, Thats annoying. It's like I'm not
closing a tag.
"McKirahan" <Ne**@McKirahan .com> wrote in message
news:O9******** ************@co mcast.com...
".:mmac:." <lost@sea> wrote in message
news:uf******** ******@TK2MSFTN GP12.phx.gbl...
Ummm... Where?
It looks like you are replacing the strOTF with strHTM but the strOTF is
used in more places. Should I replace all?
Where precisely should I replace it? i.e. the Response.Write still writes
the strOTF var.
here is the script as it is now,
<% Option Explicit
'*
Dim strOTF
strOTF = Request.ServerV ariables("PATH_ TRANSLATED")
strOTF = Left(strOTF,InS trRev(strOTF,"\ "))
strOTF = strOTF & "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FilExist s(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>

BTW, there is no Line 40 on the page as written, the server must be
recompiling something so I don't know where to look for Line 40 as

refernced
in the error message.


[snip]

Sorry, about "strHTM"; I must have had it left over from something.

The above is missing an "e" in "FileExists "; perhaps that's the error.

Also, I'd forgottne about Server.MapPath( ) -- brain cramp.

Try this and let me know.

<% Option Explicit
'*
Dim strOTF
strOTF = "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strOTF = Replace(strOTF, "w53.htm","w52. htm")
strOTF = Server.MapPath( strOTF)
Response.Write strOTF & "<br>"
'* remove the above line after testing.
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FileExis ts(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>

Jul 22 '05 #15
One more note,
If I comment out "Option Explicit" then I get the path to the file printed
on the web page
i.e. E:/www/domain.com/directory/w3.htm
SO that looks like the script is doing the job but the presentation is
wrong. Hmmm.

"McKirahan" <Ne**@McKirahan .com> wrote in message
news:O9******** ************@co mcast.com...
".:mmac:." <lost@sea> wrote in message
news:uf******** ******@TK2MSFTN GP12.phx.gbl...
Ummm... Where?
It looks like you are replacing the strOTF with strHTM but the strOTF is
used in more places. Should I replace all?
Where precisely should I replace it? i.e. the Response.Write still writes
the strOTF var.
here is the script as it is now,
<% Option Explicit
'*
Dim strOTF
strOTF = Request.ServerV ariables("PATH_ TRANSLATED")
strOTF = Left(strOTF,InS trRev(strOTF,"\ "))
strOTF = strOTF & "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FilExist s(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>

BTW, there is no Line 40 on the page as written, the server must be
recompiling something so I don't know where to look for Line 40 as

refernced
in the error message.


[snip]

Sorry, about "strHTM"; I must have had it left over from something.

The above is missing an "e" in "FileExists "; perhaps that's the error.

Also, I'd forgottne about Server.MapPath( ) -- brain cramp.

Try this and let me know.

<% Option Explicit
'*
Dim strOTF
strOTF = "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strOTF = Replace(strOTF, "w53.htm","w52. htm")
strOTF = Server.MapPath( strOTF)
Response.Write strOTF & "<br>"
'* remove the above line after testing.
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FileExis ts(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>

Jul 22 '05 #16
".:mmac:." <lost@sea> wrote in message
news:#i******** ******@TK2MSFTN GP15.phx.gbl...
One more note,
If I comment out "Option Explicit" then I get the path to the file printed
on the web page
i.e. E:/www/domain.com/directory/w3.htm
SO that looks like the script is doing the job but the presentation is
wrong. Hmmm.

"McKirahan" <Ne**@McKirahan .com> wrote in message
news:O9******** ************@co mcast.com...


[snip]
Try this and let me know.

<% Option Explicit
'*
Dim strOTF
strOTF = "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strOTF = Replace(strOTF, "w53.htm","w52. htm")
strOTF = Server.MapPath( strOTF)
Response.Write strOTF & "<br>"
'* remove the above line after testing.
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FileExis ts(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>


Did you add any other code above my script?
"Option Explicit" should be the first line in the script or try:

<%@ Language="VBScr ipt" %>
<% Option Explicit
The reason you see the path+filename is because of the first Response.Write
(for testing).

If the file doesn't exist then the script won't do anything more per:

"If objFSO.FileExis ts(strOTF) Then"

Does the file exist?

Also, please try the latest version which uses "Server.MapPath ()".
Jul 22 '05 #17
The other respondents are working with you on the code to read and send the
file contents. Just one note:

If the html files are being created from word documents by word then they
will contain a complete HTML document. If you include that in a page that
also generates an HTML document then you will end up with duplicate <HTML>,
</HTML>, <BODY>, </BODY> tags. This may confuse the browser. You will need
to extract the data that you want to embed in your page from the HTML
document that you read in.

If you are only going to display the page as it was created by word then
just do a response.redire ct to it once you determine the path.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
".:mmac:." <no@thank.you > wrote in message
news:ug******** ********@TK2MSF TNGP12.phx.gbl. ..
The included file is a doc file, created by a secretary, converted to a ..htm web page within Word and then dropped into a directory on the server and
then it's my job to "include" it on the page. It isn't generated by any
automated process.
If I understand the question.
The VB script solution is testing the limit of my knowledge but I am keeping up so far. :-)

"Mark Schupp" <no****@nospam. com> wrote in message
news:eW******** ********@TK2MSF TNGP15.phx.gbl. ..
Are the includes just generating static HTML (as is hinted in the later
part
of the post)?

If so use script to compute the name of the file based on the date and use the filesystem object to read the contents, then write it out to the
client
(may be able to use server.execute as well). If the included html is the
same for all pages then you might even want to cache it in an application variable and only read the file on the first day of the week.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
".:mmac:." <lost@sea> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
I have to update a page every week. I get the page ahead of time so I
used
the "scheduled includes" webbot in Frontpage only to find that I would

have
to refresh the page every week to have it work. That is silly, it should
run
by itself. so...
I asked the question in the FP group and I was offered this
pseudocode
to do it by month which would work if it's possible to do it by week

without
writing 52 seperate lines, one for each week which would change each

year and have to be rewritten each year.

<% If Now()>date("1/3/2005") then %>
<!-- #include file="includes/mar.asp" -->
<% elseif Now()>date("1/2/2005") then %>
<!-- #include file="includes/feb.asp" -->
<% else %>
<!-- #include file="includes/jan.asp" -->
<% endif %>

Now the goal for me would be something that would calculate which week of the year (any year) it is.
i.e. Jan 1-7 = w1.htm , Jan 8-15= w2.htm etc. and return a Wx.htm for

each
week.
That way all I have to do is save a wx.htm file where x= week of year.
so ... how can I caclulate what week of the year it is?



Jul 22 '05 #18
Thanks for your persistance with this.
here is the whole page of code:

<%@ Language="VBScr ipt" %>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR " content="Micros oft FrontPage 6.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<title>Using FSO</title>
<meta name="Microsoft Theme" content="111, default">
<meta name="Microsoft Border" content="tlb, default">
</head><body>

<p>&nbsp;

<% 'Option Explicit
' This Works!!! 1-17-05
'*
Dim strOTF
strOTF = "Week" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strOTF = Replace(strOTF, "Week53.htm","W eek52.htm")
strOTF = Server.MapPath( strOTF)
' Response.Write strOTF & "<br>"
'* remove the above line after testing.
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FileExis ts(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>
</p></body></html>
If I comment out the "Option Explicit" as shown above, the page runs fine
now, (not sure what changed, but it works, thank you. :~}but..

If I don't comment out the "Option Explicit" I get this error:
Microsoft VBScript compilation error '800a0400'
Expected statement
/OYB/Test1.asp, line 41
Option Explicit
^
Is this going to be a problem?

"McKirahan" <Ne**@McKirahan .com> wrote in message
news:Pp******** ************@co mcast.com...
".:mmac:." <lost@sea> wrote in message
news:#i******** ******@TK2MSFTN GP15.phx.gbl...
One more note,
If I comment out "Option Explicit" then I get the path to the file
printed
on the web page
i.e. E:/www/domain.com/directory/w3.htm
SO that looks like the script is doing the job but the presentation is
wrong. Hmmm.

"McKirahan" <Ne**@McKirahan .com> wrote in message
news:O9******** ************@co mcast.com...


[snip]
> Try this and let me know.
>
> <% Option Explicit
> '*
> Dim strOTF
> strOTF = "w" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
> strOTF = Replace(strOTF, "w53.htm","w52. htm")
> strOTF = Server.MapPath( strOTF)
> Response.Write strOTF & "<br>"
> '* remove the above line after testing.
> '*
> Dim objFSO
> Set objFSO = CreateObject("S cripting.FileSy stemObject")
> If objFSO.FileExis ts(strOTF) Then
> Dim objOTF
> Set objOTF = objFSO.OpenText File(strOTF,1)
> strOTF = objOTF.ReadAll( )
> Set objOTF = Nothing
> End If
> Set objFSO = Nothing
> '*
> Response.Write strOTF
> %>


Did you add any other code above my script?
"Option Explicit" should be the first line in the script or try:

<%@ Language="VBScr ipt" %>
<% Option Explicit
The reason you see the path+filename is because of the first
Response.Write
(for testing).

If the file doesn't exist then the script won't do anything more per:

"If objFSO.FileExis ts(strOTF) Then"

Does the file exist?

Also, please try the latest version which uses "Server.MapPath ()".

Jul 22 '05 #19
".:mmac:." <lost@sea> wrote in message
news:#a******** ******@tk2msftn gp13.phx.gbl...
Thanks for your persistance with this.
here is the whole page of code:

<%@ Language="VBScr ipt" %>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR " content="Micros oft FrontPage 6.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<title>Using FSO</title>
<meta name="Microsoft Theme" content="111, default">
<meta name="Microsoft Border" content="tlb, default">
</head><body>

<p>&nbsp;

<% 'Option Explicit
' This Works!!! 1-17-05
'*
Dim strOTF
strOTF = "Week" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strOTF = Replace(strOTF, "Week53.htm","W eek52.htm")
strOTF = Server.MapPath( strOTF)
' Response.Write strOTF & "<br>"
'* remove the above line after testing.
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FileExis ts(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
'*
Response.Write strOTF
%>
</p></body></html>
If I comment out the "Option Explicit" as shown above, the page runs fine
now, (not sure what changed, but it works, thank you. :~}but..

If I don't comment out the "Option Explicit" I get this error:
Microsoft VBScript compilation error '800a0400'
Expected statement
/OYB/Test1.asp, line 41
Option Explicit
^
Is this going to be a problem?


[snip]

"Option Explicit" is used to ensure that all variables are declared before
they're used.

If it only works without then remove it.

I'd probably write it like the following:

<%@ Language="VBScr ipt" %>
<% Option Explicit
'*
Dim strOTF
strOTF = "Week" & Int((DatePart(" y",Date())+6 )/7) & ".htm"
strOTF = Replace(strOTF, "Week53.htm","W eek52.htm")
strOTF = Server.MapPath( strOTF)
'*
Dim objFSO
Set objFSO = CreateObject("S cripting.FileSy stemObject")
If objFSO.FileExis ts(strOTF) Then
Dim objOTF
Set objOTF = objFSO.OpenText File(strOTF,1)
strOTF = objOTF.ReadAll( )
Set objOTF = Nothing
End If
Set objFSO = Nothing
%>
<html>
<head>
<title>Using FSO</title>
</head>
<body>
<p><%=strOTF% ></p>
</body>
</html>
Jul 22 '05 #20

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

Similar topics

2
5229
by: androtech | last post by:
Hello, I'm looking for a function that returns a date range for a specified week number of the year. I'm not able to find functions like this anywhere. Any pointers/help would be much appreciated. TIA
7
15153
by: Shuffs | last post by:
Could someone, anyone please tell me what I need to amend, to get this function to take Sunday as the first day of the week? I amended the Weekday parts to vbSunday (in my code, not the code attached), yet when I ran it for 28/09/2003 (UK date format) it returned Week 39. I would have expected it to return Week 40. However, I'm really stuck and my head is busting over this, so any pointers would be gratefully appreciated. Many thanks...
7
2120
by: peter | last post by:
I have created a MS Access query where one of the fields displays the week number. The field is a date value that uses the ww format to display the week number. However, when I try to create a calculation such as *2 I get an incorrect value. For example, if the week number is 11 and I multiply it by 2 I get an answer of 21. How do I convert the displayed week number into an integer value so that I can then perform a calculation on it?
9
3425
by: Ray | last post by:
I need to convert the normal calendar to show the week no., the period no. and the financial year. The financial year format is as follows:- Date start: 2 May, 2005 7 days a week, 4 weeks a period and 13 periods a year. normally 52 weeks per year but one 53-week a year every 6 years. The 53th week is included in period 13. Can someone advise any idea how to construct such conversion.
3
6105
by: Steph. | last post by:
Hi, When I use the "Calendar.GetWeekOfYear" function (with "fr-BE" as CultureInfo and Monday as the first day of week) I get : Friday 31/12/2004 : week = 53
5
3233
by: bruce24444 | last post by:
I have a database which assigns warranty claims to people with a main screen showing number of files assigned to each person. The number assigned shows day, week, month and year numbers so they can be evenly distributed. The problem I'm having is getting the query to return a number of files for the current date. Week, month and year appear to work fine. Below are the SQL's for both day and week. Any suggestions as to what's wrong...
10
2245
by: nicolai | last post by:
There are plenty of scripts that load html into a page based on the day of the week, month, or randomly, but I would like to load a different page every day of the year. I would like to give a script a list of 365 html pages and have it load a new one into that page each day Thanks in advance
3
5842
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, is there a way if you are given a Year and a Week an easy way to go back say 26 weeks ago from given year/week. for example, given: 2008/16 26 weeks prior is: 2007/43 thanks,
0
9825
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9673
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,...
1
10602
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
10260
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7795
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
6984
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
5653
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...
2
4023
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3116
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.