Results 1 to 2 of 2

Thread: ADODB.Stream

  1. #1
    Join Date
    Dec 1969

    Default ADODB.Stream

    Okay here&#039;s my situation: I want to use the following code to read the html off of another website. This code works just fine if I link it to a local html or asp file, but I can&#039;t seem to access any foreign URL.<BR><BR>&#060;%<BR>Dim stmData<BR>Set stmData = Server.CreateObject ("ADODB.Stream")<BR>stmData.Open "URL= il%20and%20Gas", adModeRead, adOpenStreamFromURL<BR>stmData.Charset = "ascii"<BR>Response.Write stmData.ReadText<BR>stmData.Close<BR>Set stmData = Nothing<BR>%&#062;<BR><BR>Can someone please tell me what I&#039;m doing wrong? Is it even possible for me to do what I&#039;m asking? Any advice or information would be much appreciated!<BR><BR>--Chris <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: ADODB.Stream

    Try using xml dom object instead. BTW does it give you ane error? If so is it a security error?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts