Results 1 to 2 of 2

Thread: mobjIIS.response.write "<p align=center>;<a href=index.asp?lIndex=" & myIndex

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 1999
    Location
    San Diego, Ca , USA
    Posts
    44
    Hi,

    I am having problem in displaying the link inside index.asp
    I think it is something with <a href=index.asp?lIndex=" & myIndex & ">

    Can someone help me? Thanks in advance

    ''''' This code is inside vb6 using internet object as reference for for mobjIIS.response.write '''''''

    dim strpath as string
    dim lIndex as long
    dim myIndex as long

    strpath = "images\myimg.gif"
    lIndex = 1
    mobjIIS.response.write "<p align=center>;<a href=index.asp?lIndex=" & myIndex & "><Img align=center src=" & "'" &strpath & "'" & "</p>"

    ''''' This code is inside vbscript inside index.asp '''''''
    dim lngIndex

    I can not pass the following:
    lngIndex = request("lIndex")




  2. #2
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323

    ?

    I'm not sure if I'm understanding correctly but I'll give it a shot.

    It looks like you are using a QueryString in the passing URL named IIndex. The next page should be requesting the Querystring like this...
    Code:
    <%
    Dim LngIndex
    LngIndex = Request.QueryString("IIndex")
    %>
    If you think education is expensive, try ignorance.

Posting Permissions

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



Click Here to Expand Forum to Full Width