I have a VBScript as follows:
Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P")
Dim adoStream : Set adoStream = CreateObject("a dodb.stream")
Const bGetAsAsync = False ' wait for response
Const adTypeBinary = 1 ' ado typelib constants
Const adModeReadWrite = 3
Const adSaveCreateOve rwrite = 2
Const ForReading = 1, ForWriting = 2, ForAppending = 8
sSource = "https://website.com/download/companyname.200 60101.zip"
sSaveName = "companyname.20 060101.zip"
sSavePath = "C:\temp\di r\"
xmlHTTP.Open "GET", sSource, bGetAsAsync, "username", "pass"
xmlHTTP.Send
'
With adoStream ' write the file to local disk
..Type = adTypeBinary ' as BINARY
..Mode = adModeReadWrite
..Open
..Write xmlHTTP.respons eBody ' write data (as binary)
..SaveToFile sSavePath & sSaveName, adSaveCreateOve rwrite
..Close
End With
This is great when specifying an individual file, but I need to grab the
last modified file each morning. The file will take on the format of
companyname.200 60101.zip Do I need a GET statement or something? 6 3982
I'm not sure I'm understanding you correctly. Are you asking how you can dynamically generate
sScource and sSaveName to use the current date?
If that's the case, you can just use the following to create the string:
DateTime.Now.Ye ar
DateTime.Now.Mo nth
DateTime.Now.Da y
If you just need the current file from the webserver and the date will not always be the current
date, you can create an asp page on the webserver that would look in the directory, and use
File.GetLastWri teTime(fileloc)
The page could then return the value of sSaveName. Your program would then need to look at that
page first. Read the results and set it into sSaveName and sSource.
Did I get the question right?
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 04:46:27 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote: I have a VBScript as follows:
Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") Dim adoStream : Set adoStream = CreateObject("a dodb.stream")
Const bGetAsAsync = False ' wait for response Const adTypeBinary = 1 ' ado typelib constants Const adModeReadWrite = 3 Const adSaveCreateOve rwrite = 2 Const ForReading = 1, ForWriting = 2, ForAppending = 8
sSource = "https://website.com/download/companyname.200 60101.zip" sSaveName = "companyname.20 060101.zip" sSavePath = "C:\temp\di r\"
xmlHTTP.Open "GET", sSource, bGetAsAsync, "username", "pass" xmlHTTP.Send ' With adoStream ' write the file to local disk .Type = adTypeBinary ' as BINARY .Mode = adModeReadWrite .Open .Write xmlHTTP.respons eBody ' write data (as binary) .SaveToFile sSavePath & sSaveName, adSaveCreateOve rwrite .Close End With
This is great when specifying an individual file, but I need to grab the last modified file each morning. The file will take on the format of companyname.20 060101.zip Do I need a GET statement or something?
I believe you're on the right track, but I'm a VBScript newbie. What would
the code look like incorporated into what I already have?
"Tome" wrote: I'm not sure I'm understanding you correctly. Are you asking how you can dynamically generate sScource and sSaveName to use the current date? If that's the case, you can just use the following to create the string: DateTime.Now.Ye ar DateTime.Now.Mo nth DateTime.Now.Da y
If you just need the current file from the webserver and the date will not always be the current date, you can create an asp page on the webserver that would look in the directory, and use File.GetLastWri teTime(fileloc) The page could then return the value of sSaveName. Your program would then need to look at that page first. Read the results and set it into sSaveName and sSource.
Did I get the question right?
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 04:46:27 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote:
I have a VBScript as follows:
Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") Dim adoStream : Set adoStream = CreateObject("a dodb.stream")
Const bGetAsAsync = False ' wait for response Const adTypeBinary = 1 ' ado typelib constants Const adModeReadWrite = 3 Const adSaveCreateOve rwrite = 2 Const ForReading = 1, ForWriting = 2, ForAppending = 8
sSource = "https://website.com/download/companyname.200 60101.zip" sSaveName = "companyname.20 060101.zip" sSavePath = "C:\temp\di r\"
xmlHTTP.Open "GET", sSource, bGetAsAsync, "username", "pass" xmlHTTP.Send ' With adoStream ' write the file to local disk .Type = adTypeBinary ' as BINARY .Mode = adModeReadWrite .Open .Write xmlHTTP.respons eBody ' write data (as binary) .SaveToFile sSavePath & sSaveName, adSaveCreateOve rwrite .Close End With
This is great when specifying an individual file, but I need to grab the last modified file each morning. The file will take on the format of companyname.20 060101.zip Do I need a GET statement or something?
With which suggestion was I on track?
If it's the first one it would be as follows:
Dim d1 As DateTime = DateTime.Now
sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip"
sSource = "https://website.com/download/" + sSaveName
If it's the other suggestion, it's a little more involved.
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 07:34:40 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote: I believe you're on the right track, but I'm a VBScript newbie. What would the code look like incorporated into what I already have?
"Tome" wrote:
I'm not sure I'm understanding you correctly. Are you asking how you can dynamically generate sScource and sSaveName to use the current date? If that's the case, you can just use the following to create the string: DateTime.Now.Ye ar DateTime.Now.Mo nth DateTime.Now.Da y
If you just need the current file from the webserver and the date will not always be the current date, you can create an asp page on the webserver that would look in the directory, and use File.GetLastWri teTime(fileloc) The page could then return the value of sSaveName. Your program would then need to look at that page first. Read the results and set it into sSaveName and sSource.
Did I get the question right?
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 04:46:27 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote:
>I have a VBScript as follows: > >Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") >Dim adoStream : Set adoStream = CreateObject("a dodb.stream") > >Const bGetAsAsync = False ' wait for response >Const adTypeBinary = 1 ' ado typelib constants >Const adModeReadWrite = 3 >Const adSaveCreateOve rwrite = 2 >Const ForReading = 1, ForWriting = 2, ForAppending = 8 > >sSource = "https://website.com/download/companyname.200 60101.zip" >sSaveName = "companyname.20 060101.zip" >sSavePath = "C:\temp\di r\" > >xmlHTTP.Open "GET", sSource, bGetAsAsync, "username", "pass" >xmlHTTP.Send >' >With adoStream ' write the file to local disk >.Type = adTypeBinary ' as BINARY >.Mode = adModeReadWrite >.Open >.Write xmlHTTP.respons eBody ' write data (as binary) >.SaveToFile sSavePath & sSaveName, adSaveCreateOve rwrite >.Close >End With > >This is great when specifying an individual file, but I need to grab the >last modified file each morning. The file will take on the format of >companyname.20 060101.zip Do I need a GET statement or something? > >
The first suggestion, but I get an error:
Line 4 Character 8 Expected end of statement. I've modified the code to
look like this:
Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P")
Dim adoStream : Set adoStream = CreateObject("a dodb.stream")
Dim d1 As DateTime = DateTime.Now
Const bGetAsAsync = False ' wait for response
Const adTypeBinary = 1 ' ado typelib constants
Const adModeReadWrite = 3
Const adSaveCreateOve rwrite = 2
Const ForReading = 1, ForWriting = 2, ForAppending = 8
sSource = "https://website.com/download/" + sSavename
sSaveName = "companynam e." + + d1.ToString("yy yyMMdd") + ".zip"
sSavePath = "\\servername\D ownloads\"
xmlHTTP.Open "GET", sSource, bGetAsAsync, "ID", "PW"
xmlHTTP.Send
'msgbox MONTH(now()) & "%" & DAY(now())
'IF InStr (targetfile, ".zip") THEN 'AND InStr (targetfile, YEAR(now()) &
RIGHT("0"& MONTH(now()),2) & DAY(now())) THEN
'With iMsg
'Set .Configuration = iConf
'End If
With adoStream ' write the file to local disk
..Type = adTypeBinary ' as BINARY
..Mode = adModeReadWrite
..Open
..Write xmlHTTP.respons eBody ' write data (as binary)
..SaveToFile sSavePath & adSaveCreateOve rwrite
..Close
End With
"Tome" wrote: With which suggestion was I on track?
If it's the first one it would be as follows:
Dim d1 As DateTime = DateTime.Now sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip" sSource = "https://website.com/download/" + sSaveName
If it's the other suggestion, it's a little more involved.
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 07:34:40 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote:
I believe you're on the right track, but I'm a VBScript newbie. What would the code look like incorporated into what I already have?
"Tome" wrote:
I'm not sure I'm understanding you correctly. Are you asking how you can dynamically generate sScource and sSaveName to use the current date? If that's the case, you can just use the following to create the string: DateTime.Now.Ye ar DateTime.Now.Mo nth DateTime.Now.Da y
If you just need the current file from the webserver and the date will not always be the current date, you can create an asp page on the webserver that would look in the directory, and use File.GetLastWri teTime(fileloc) The page could then return the value of sSaveName. Your program would then need to look at that page first. Read the results and set it into sSaveName and sSource.
Did I get the question right?
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 04:46:27 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote:
>I have a VBScript as follows: > >Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") >Dim adoStream : Set adoStream = CreateObject("a dodb.stream") > >Const bGetAsAsync = False ' wait for response >Const adTypeBinary = 1 ' ado typelib constants >Const adModeReadWrite = 3 >Const adSaveCreateOve rwrite = 2 >Const ForReading = 1, ForWriting = 2, ForAppending = 8 > >sSource = "https://website.com/download/companyname.200 60101.zip" >sSaveName = "companyname.20 060101.zip" >sSavePath = "C:\temp\di r\" > >xmlHTTP.Open "GET", sSource, bGetAsAsync, "username", "pass" >xmlHTTP.Send >' >With adoStream ' write the file to local disk >.Type = adTypeBinary ' as BINARY >.Mode = adModeReadWrite >.Open >.Write xmlHTTP.respons eBody ' write data (as binary) >.SaveToFile sSavePath & sSaveName, adSaveCreateOve rwrite >.Close >End With > >This is great when specifying an individual file, but I need to grab the >last modified file each morning. The file will take on the format of >companyname.20 060101.zip Do I need a GET statement or something? > >
Because it's not all of your code I don't know what's causing that error. I would look at line 4 in
your code.
I did notice the following though:
1) The following lines need to be placed in this order. You have them backwards.
sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip"
sSource = "https://website.com/download/" + sSavename
2) You have two plusses in the following line. It should look like the line above:
sSaveName = "companynam e." + + d1.ToString("yy yyMMdd") + ".zip"
Other than that, you'll have to debug your error... if you copy the below code into the load event
of a new windows program you will see that it produces the desired results:
Dim d1 As DateTime = DateTime.Now
Dim sSource As String
Dim sSaveName As String
sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip"
sSource = "https://website.com/download/" + sSaveName
MessageBox.Show (sSaveName)
MessageBox.Show (sSource)
---Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 10:24:49 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote: The first suggestion, but I get an error:
Line 4 Character 8 Expected end of statement. I've modified the code to look like this:
Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") Dim adoStream : Set adoStream = CreateObject("a dodb.stream") Dim d1 As DateTime = DateTime.Now
Const bGetAsAsync = False ' wait for response Const adTypeBinary = 1 ' ado typelib constants Const adModeReadWrite = 3 Const adSaveCreateOve rwrite = 2 Const ForReading = 1, ForWriting = 2, ForAppending = 8
sSource = "https://website.com/download/" + sSavename sSaveName = "companynam e." + + d1.ToString("yy yyMMdd") + ".zip" sSavePath = "\\servername\D ownloads\"
xmlHTTP.Open "GET", sSource, bGetAsAsync, "ID", "PW" xmlHTTP.Send
'msgbox MONTH(now()) & "%" & DAY(now()) 'IF InStr (targetfile, ".zip") THEN 'AND InStr (targetfile, YEAR(now()) & RIGHT("0"& MONTH(now()),2) & DAY(now())) THEN 'With iMsg 'Set .Configuration = iConf 'End If
With adoStream ' write the file to local disk .Type = adTypeBinary ' as BINARY .Mode = adModeReadWrite .Open .Write xmlHTTP.respons eBody ' write data (as binary) .SaveToFile sSavePath & adSaveCreateOve rwrite .Close End With
"Tome" wrote:
With which suggestion was I on track?
If it's the first one it would be as follows:
Dim d1 As DateTime = DateTime.Now sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip" sSource = "https://website.com/download/" + sSaveName
If it's the other suggestion, it's a little more involved.
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 07:34:40 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote:
>I believe you're on the right track, but I'm a VBScript newbie. What would >the code look like incorporated into what I already have? > >"Tome" wrote: > >> I'm not sure I'm understanding you correctly. Are you asking how you can dynamically generate >> sScource and sSaveName to use the current date? >> If that's the case, you can just use the following to create the string: >> DateTime.Now.Ye ar >> DateTime.Now.Mo nth >> DateTime.Now.Da y >> >> If you just need the current file from the webserver and the date will not always be the current >> date, you can create an asp page on the webserver that would look in the directory, and use >> File.GetLastWri teTime(fileloc) >> The page could then return the value of sSaveName. Your program would then need to look at that >> page first. Read the results and set it into sSaveName and sSource. >> >> Did I get the question right? >> >> ===Tome >> http://www.pcdotcom.com >> >> On Wed, 1 Mar 2006 04:46:27 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote: >> >> >I have a VBScript as follows: >> > >> >Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") >> >Dim adoStream : Set adoStream = CreateObject("a dodb.stream") >> > >> >Const bGetAsAsync = False ' wait for response >> >Const adTypeBinary = 1 ' ado typelib constants >> >Const adModeReadWrite = 3 >> >Const adSaveCreateOve rwrite = 2 >> >Const ForReading = 1, ForWriting = 2, ForAppending = 8 >> > >> >sSource = "https://website.com/download/companyname.200 60101.zip" >> >sSaveName = "companyname.20 060101.zip" >> >sSavePath = "C:\temp\di r\" >> > >> >xmlHTTP.Open "GET", sSource, bGetAsAsync, "username", "pass" >> >xmlHTTP.Send >> >' >> >With adoStream ' write the file to local disk >> >.Type = adTypeBinary ' as BINARY >> >.Mode = adModeReadWrite >> >.Open >> >.Write xmlHTTP.respons eBody ' write data (as binary) >> >.SaveToFile sSavePath & sSaveName, adSaveCreateOve rwrite >> >.Close >> >End With >> > >> >This is great when specifying an individual file, but I need to grab the >> >last modified file each morning. The file will take on the format of >> >companyname.20 060101.zip Do I need a GET statement or something? >> > >> > >>
This still doesn't work. It gets held up on the "As" keyword. Expects and
end of statement. I can't believe its this difficult to download the last
modified dat file from a HTTPS:// website to a network drive. I've Googled
this and have come up with nothing so far.
"Tome" wrote: Because it's not all of your code I don't know what's causing that error. I would look at line 4 in your code.
I did notice the following though:
1) The following lines need to be placed in this order. You have them backwards. sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip" sSource = "https://website.com/download/" + sSavename
2) You have two plusses in the following line. It should look like the line above: sSaveName = "companynam e." + + d1.ToString("yy yyMMdd") + ".zip"
Other than that, you'll have to debug your error... if you copy the below code into the load event of a new windows program you will see that it produces the desired results:
Dim d1 As DateTime = DateTime.Now Dim sSource As String Dim sSaveName As String
sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip" sSource = "https://website.com/download/" + sSaveName
MessageBox.Show (sSaveName) MessageBox.Show (sSource)
---Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 10:24:49 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote:
The first suggestion, but I get an error:
Line 4 Character 8 Expected end of statement. I've modified the code to look like this:
Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") Dim adoStream : Set adoStream = CreateObject("a dodb.stream") Dim d1 As DateTime = DateTime.Now
Const bGetAsAsync = False ' wait for response Const adTypeBinary = 1 ' ado typelib constants Const adModeReadWrite = 3 Const adSaveCreateOve rwrite = 2 Const ForReading = 1, ForWriting = 2, ForAppending = 8
sSource = "https://website.com/download/" + sSavename sSaveName = "companynam e." + + d1.ToString("yy yyMMdd") + ".zip" sSavePath = "\\servername\D ownloads\"
xmlHTTP.Open "GET", sSource, bGetAsAsync, "ID", "PW" xmlHTTP.Send
'msgbox MONTH(now()) & "%" & DAY(now()) 'IF InStr (targetfile, ".zip") THEN 'AND InStr (targetfile, YEAR(now()) & RIGHT("0"& MONTH(now()),2) & DAY(now())) THEN 'With iMsg 'Set .Configuration = iConf 'End If
With adoStream ' write the file to local disk .Type = adTypeBinary ' as BINARY .Mode = adModeReadWrite .Open .Write xmlHTTP.respons eBody ' write data (as binary) .SaveToFile sSavePath & adSaveCreateOve rwrite .Close End With
"Tome" wrote:
With which suggestion was I on track?
If it's the first one it would be as follows:
Dim d1 As DateTime = DateTime.Now sSaveName = "companynam e." + d1.ToString("yy yyMMdd") + ".zip" sSource = "https://website.com/download/" + sSaveName
If it's the other suggestion, it's a little more involved.
===Tome http://www.pcdotcom.com
On Wed, 1 Mar 2006 07:34:40 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote:
>I believe you're on the right track, but I'm a VBScript newbie. What would >the code look like incorporated into what I already have? > >"Tome" wrote: > >> I'm not sure I'm understanding you correctly. Are you asking how you can dynamically generate >> sScource and sSaveName to use the current date? >> If that's the case, you can just use the following to create the string: >> DateTime.Now.Ye ar >> DateTime.Now.Mo nth >> DateTime.Now.Da y >> >> If you just need the current file from the webserver and the date will not always be the current >> date, you can create an asp page on the webserver that would look in the directory, and use >> File.GetLastWri teTime(fileloc) >> The page could then return the value of sSaveName. Your program would then need to look at that >> page first. Read the results and set it into sSaveName and sSource. >> >> Did I get the question right? >> >> ===Tome >> http://www.pcdotcom.com >> >> On Wed, 1 Mar 2006 04:46:27 -0800, SQLcat <SQ****@discuss ions.microsoft. com> wrote: >> >> >I have a VBScript as follows: >> > >> >Dim xmlHTTP : Set xmlHTTP = CreateObject("M icrosoft.XMLHTT P") >> >Dim adoStream : Set adoStream = CreateObject("a dodb.stream") >> > >> >Const bGetAsAsync = False ' wait for response >> >Const adTypeBinary = 1 ' ado typelib constants >> >Const adModeReadWrite = 3 >> >Const adSaveCreateOve rwrite = 2 >> >Const ForReading = 1, ForWriting = 2, ForAppending = 8 >> > >> >sSource = "https://website.com/download/companyname.200 60101.zip" >> >sSaveName = "companyname.20 060101.zip" >> >sSavePath = "C:\temp\di r\" >> > >> >xmlHTTP.Open "GET", sSource, bGetAsAsync, "username", "pass" >> >xmlHTTP.Send >> >' >> >With adoStream ' write the file to local disk >> >.Type = adTypeBinary ' as BINARY >> >.Mode = adModeReadWrite >> >.Open >> >.Write xmlHTTP.respons eBody ' write data (as binary) >> >.SaveToFile sSavePath & sSaveName, adSaveCreateOve rwrite >> >.Close >> >End With >> > >> >This is great when specifying an individual file, but I need to grab the >> >last modified file each morning. The file will take on the format of >> >companyname.20 060101.zip Do I need a GET statement or something? >> > >> > >> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Norvell |
last post by:
I just noticed that recently the javascript I was using to format and
display the last modified date of my web page is always reporting the
current date instead. It used to work fine. This is true both on the
university web server on which the page is hosted and the local mirror I
keep on my desktop (SuSE 8.2 Linux). It is a new university, but my
desktop filesystem is the same as before. I can see with "ls -l" that the
modified date of...
|
by: stan |
last post by:
I am working on some documentation in html format and I would really like to display
the date the html file, itself was modified. I am writing my documentation in vi and
the html server involved is Apache.
This is a conversion effort from MS Frontpage 2000. In Frontpage, there's a feature
that allows the document's modification date to be displayed in the document, but I
tried this with a javascript that I downloaded via the Internet, but...
|
by: Gary Paris |
last post by:
When bringing up VS 2003, there is a list of projects on the projects tab
which include the name of the project and date modified. Why doesn't the
date modified change when I modify the project?
For instance there was a project that I created on April 1st. The modified
date still says 4/1/05 but I have modified the project each day since.
Anybody know why?
Thanks,
|
by: Dennis Marks |
last post by:
There seems to be a major program with the automatic display of the
last modified date. Using the javascript "document.lastModified"
sometimes returns the correct date and sometimes 1 Jan 1970 depending
the the browser.
Using SSI LAST_MODIFIED can return the last modified date, ISP system
boot date, or many others.
The only last modified date that I have been able to use with any
consistancy is the SSI flastmod command.
|
by: laredotornado |
last post by:
Hello, Does anyone know how (or if) I can figure out the last time a
web page was last modified if my only access to it is via HTTP (a web
browser). Right now, I'm looking at "Page Info" options. There is a
"Modified" field but I think that is telling me the time that the file
was downloaded to my machine.
Any advice is greatly appreciated, - Dave
| |
by: AP |
last post by:
Is there anyway to determine what the modified or create date is for a
file? In my example I am uploading a text file using the following to
select the filename: GetOpenFileName Lib "COMDLG32.DLL". Is there
anyway to point to that file and return the information about the file
properties? Size, date modified, created, etc?
Thanks
|
by: Steel |
last post by:
Hi at all
it is the first time that I use PHP and I need only to modify the last
modified date of a file
I maked a FIRST little script like this:
$FileName="myfile.txt";
$Today =strtotime('2006-01-20 00:00:00');
touch($FileName,$Today)
|
by: IdleBrain |
last post by:
Hello All,
Is it possible to obtain the last Modified date for the source code
from within the application?
If yes, please let me know how it is done.
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I format the Last-Modified date with
javascript?
-----------------------------------------------------------------------
Apparently, ` new Date() ` reads it correctly, though problems
can occur if the browser returns only two digits for the year.
In particular, time zone, field order and separators may vary.
It is also reliant on the server's...
|
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...
|
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,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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,...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |