Below is a snippet I found and am trying to experiment
with. Unfortunately, there's a compile time error in A97
complaining that "Response" (in line #1) is an undefined
variable. I'm unsure what is intended, so I can go no further.
If someone has an alternative for line #1 that will compile
in A97, I would appreciate the help.
Private Sub Command0_Click()
Response.Buffer = True
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.4Guysfromrolla.com/", False, _
"Richard", "Welcome"
' Actually Sends the request and returns the data:
xml.Send
Response.Write xml.responseText
Set xml = Nothing
End Sub 10 1631
MLH wrote: Below is a snippet I found and am trying to experiment with. Unfortunately, there's a compile time error in A97 complaining that "Response" (in line #1) is an undefined variable. I'm unsure what is intended, so I can go no further. If someone has an alternative for line #1 that will compile in A97, I would appreciate the help.
Private Sub Command0_Click()
Response.Buffer = True Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.4Guysfromrolla.com/", False, _ "Richard", "Welcome"
' Actually Sends the request and returns the data: xml.Send
Response.Write xml.responseText
Set xml = Nothing
End Sub
Response is an ASP object. http://psacake.com/web/gz.asp
On Mon, 26 Dec 2005 04:12:58 GMT, rkc
<rk*@rochester.yabba.dabba.do.rr.bomb> wrote: MLH wrote: Below is a snippet I found and am trying to experiment with. Unfortunately, there's a compile time error in A97 complaining that "Response" (in line #1) is an undefined variable. I'm unsure what is intended, so I can go no further. If someone has an alternative for line #1 that will compile in A97, I would appreciate the help.
Private Sub Command0_Click()
Response.Buffer = True Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://www.4Guysfromrolla.com/", False, _ "Richard", "Welcome"
' Actually Sends the request and returns the data: xml.Send
Response.Write xml.responseText
Set xml = Nothing
End Sub
Response is an ASP object.
http://psacake.com/web/gz.asp
Well, that's where it ends for me. I know nothing of ASP.
Perhaps there's something I can do in VBA that will emulate
what the Response object does. The link you furnished said
its used to send the output back to the client (browser). Will
play around with it some more.
MLH wrote:
<snip> Response is an ASP object.
http://psacake.com/web/gz.asp
Well, that's where it ends for me. I know nothing of ASP. Perhaps there's something I can do in VBA that will emulate what the Response object does. The link you furnished said its used to send the output back to the client (browser). Will play around with it some more.
The code you posted is meant to be run on a web server.
The 3Guys-from-whereever site is an ASP resource website. Anything
you find there will most likely be written in vbscript and meant
to be part of a web application. That's not to say you can't use it
as a reference for whatever you're doing. Just that it won't be a
cut and paste without a small measure of understanding what you're
cutting and pasting type of scenario.
I'd ask you to explain wtf you're trying to do, but that's not
your style.
rkc <rk*@rochester.yabba.dabba.do.rr.bomb> wrote in news:OYRrf.56970
$M********@twister.nyroc.rr.com: MLH wrote: <snip>
I'd ask you to explain wtf you're trying to do, but that's not your style.
It's very kind of you not to disturb MLH on New Year's Eve.
--
Lyle Fairfield
OT question.
In this thread, I've been seeing the replies by rkc and Lyle but no posts
from MLH. Just wondering if anyone else is noticing the same behavior?
--
Randy Harris
tech at promail dot com
I'm pretty sure I know everything that I can remember.
MLH is posting six days in the future.
Perhaps, Google will not show the post until the the world catches up.
Lyle Fairfield wrote: MLH is posting six days in the future. Perhaps, Google will not show the post until the the world catches up.
I missed that.
That's why your New Years Eve reference didn't compute.
"Lyle Fairfield" <ly***********@aim.com> wrote MLH is posting six days in the future. Perhaps, Google will not show the post until the the world catches up.
Seems to me, I'd call that "poetic justice." I'd ask you to explain wtf you're trying to do, but that's not your style.
Actually, I was trying to compare what they were using there
with something I've been using that's similar. I saw the unfamiliar
syntax and was curious. That's all. Thx for pointing out that it was
ASP related.
On Mon, 26 Dec 2005 13:21:18 GMT, Lyle Fairfield
<ly***********@aim.com> wrote: rkc <rk*@rochester.yabba.dabba.do.rr.bomb> wrote in news:OYRrf.56970 $M********@twister.nyroc.rr.com:
MLH wrote: <snip>
I'd ask you to explain wtf you're trying to do, but that's not your style.
It's very kind of you not to disturb MLH on New Year's Eve.
Sorry about the skipping of Christmas and all. I sometimes forget
to reset the time/date after changing it for testing purposes. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Copa |
last post by:
Hello,
I am testing buffering an asp page and Flushing information out to the
browser, hence i wrote the code in an asp page that follows this Message
Post.
The loops are suppose to simulate...
|
by: Steve Bywaters |
last post by:
I have the following error on a page ... I can fix it by making a large-ish
block of text (almostr 4k) a little smaller.
But what is ASP actually complaining about?
Steve
Response object...
|
by: spmm# |
last post by:
Hi!
My ASP.NET page gets a pdf-file from a SQLServer database and writes it in a
browserwindow, using Response.BinaryWrite. It basically looks like this:
public class WebForm1 :...
|
by: creative |
last post by:
When request is initiated at the client system, the Web Server may take tens of second to couple of minutes
Mean while user gets annoyed and cliks Refresh Button several times
"Is it Possible to...
|
by: hoenes1 |
last post by:
I've got an aspx-Page "SendFile.aspx" which is called by a Link on
"ShowListOfFiles.aspx" and sends the file in the OnLoad Eventhandler.
The filename to download is stored in a Session variable....
|
by: john |
last post by:
The standard method to transmit a file from an aspx page to a browser
is to stream the file to the response then end the response. The HTML
code generated by the aspx page is discarded, and the...
|
by: Jim Rodgers |
last post by:
I have a big asp file that has an error under certain conditions -- totally
repeatable. However, it only fails when I set response.buffer = True at the
top. WHen I set it False in order to debug...
|
by: twiggy182 |
last post by:
Hi,
I really need you help because I'm not very familliar with ASP and I
could not find any solution to my problem.
To put you in situation, I have a CGI to which I send a file name, and
that...
|
by: myth0s |
last post by:
(After thinking about it, maybe this should have been posted in the .NET forum...)
Hi,
I have a stored procedure in SQL Server that sends me a 3000+ char pre-formatted XML string. I use "FOR...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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,...
| |