Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / December 2005

Tip: Looking for answers? Try searching our database.

Not sure I understand what Response.buffer is really about

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MLH - 26 Dec 2005 03:57 GMT
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
rkc - 26 Dec 2005 04:12 GMT
> Below is a snippet I found and am trying to experiment
> with. Unfortunately, there's a compile time error in A97
[quoted text clipped - 21 lines]
>
> End Sub

Response is an ASP object.

http://psacake.com/web/gz.asp
MLH - 26 Dec 2005 12:01 GMT
>> Below is a snippet I found and am trying to experiment
>> with. Unfortunately, there's a compile time error in A97
[quoted text clipped - 25 lines]
>
>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.
rkc - 26 Dec 2005 13:10 GMT
<snip>

>>Response is an ASP object.
>>
[quoted text clipped - 5 lines]
> 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.
Lyle Fairfield - 26 Dec 2005 13:21 GMT
rkc <rkc@rochester.yabba.dabba.do.rr.bomb> wrote in news:OYRrf.56970
$ME5.46795@twister.nyroc.rr.com:

> <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.

Signature

Lyle Fairfield

MLH - 31 Dec 2005 19:31 GMT
>rkc <rkc@rochester.yabba.dabba.do.rr.bomb> wrote in news:OYRrf.56970
>$ME5.46795@twister.nyroc.rr.com:
[quoted text clipped - 5 lines]
>
>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.
Randy Harris - 26 Dec 2005 14:38 GMT
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?

Signature

Randy Harris
tech at promail dot com
I'm pretty sure I know everything that I can remember.

Lyle Fairfield - 26 Dec 2005 14:49 GMT
MLH is posting six days in the future.
Perhaps, Google will not show the post until the the world catches up.
rkc - 26 Dec 2005 15:02 GMT
> 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.
Larry Linson - 26 Dec 2005 20:24 GMT
> 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."
MLH - 31 Dec 2005 19:29 GMT
>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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.