1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Microsoft VBScript runtime error '800a005e'

Discussion in 'Optigold ISP' started by princesuhaib, Oct 20, 2007.

  1. #1
    I am getting this error :
    SEMrush
    Microsoft VBScript runtime error '800a005e'

    Invalid use of Null

    /Admin/function.inc, line 12


    this is my lines from 6-17

    for i = 1 to 10000
    begstr = "$r$"
    enstr= "$r$"
    beg = Instr(1,qstr,begstr,1) + len(begstr)

    if beg = len(begstr) then exit for
    en = Instr(beg + 1,qstr,enstr,1)
    if en = 0 then en = len(qstr) + 1

    rstr = mid(qstr,beg,en - beg)
    qstr=replace(qstr,"$r$" & rstr,"")
    resp(i)=right(rstr,len(rstr)-instr(1,rstr,"|",1))

    the red is line 12 please help me correct this thank you very much!
    Respectfully
    Suhaib
     
    princesuhaib, Oct 20, 2007 IP
    SEMrush
  2. ilter

    ilter Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    suhaib, are you resolve. Same for me.
     
    ilter, May 27, 2008 IP
  3. LittleJonSupportSite

    LittleJonSupportSite Peon

    Messages:
    386
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    beg = Instr(1,qstr,begstr,1) + len(begstr)

    You are calling qstr but qstr is defined AFTER this line. hence the NULL value.
     
    LittleJonSupportSite, May 28, 2008 IP
  4. Yankee85

    Yankee85 Peon

    Messages:
    1,072
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
  5. mnvamsi

    mnvamsi Active Member

    Messages:
    206
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    you can visit microsoft website and you can find the details about VBScript runtime error '800a005e' this error there.
     
    mnvamsi, Jul 9, 2008 IP
  6. Yankee85

    Yankee85 Peon

    Messages:
    1,072
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I left a link in my latest post.
     
    Yankee85, Jul 11, 2008 IP
  7. vare

    vare Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Have you fixed this problem yet? if so please share :)
     
    vare, Jul 14, 2008 IP
  8. AmberJN

    AmberJN Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I am having a similar error.

    Here is the code in which the error takes place.

    <pre><%= replace(objRecordset.Fields("Intake"),"*","&nbsp;")%></pre>
    Intake <textarea name="txtIntake" rows=5 cols=50></textarea><br>



    I get the error:

    Microsoft VBScript runtime error '800a005e'

    Invalid use of Null: 'replace'

    /calendar/edit_event.asp, line 99

    Any help would be appreciated.
     
    AmberJN, Aug 25, 2008 IP
  9. Twine

    Twine Peon

    Messages:
    45
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Replace it with beg = Instr(1,qstr,begstr,1) + len(begstr)

    You're not calling the right values.
     
    Twine, Feb 4, 2009 IP