2 Replies - 1174 Views - Last Post: 07 September 2009 - 06:12 PM Rate Topic: -----

#1 BenCarson  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 07-September 09

Http wrappers InSTR error

Post icon  Posted 07 September 2009 - 10:03 AM

Hello there, im currently coding a small program in visual basic 6, it uses httpwrappers, it needs to send data to the site to login, in the wrapper on this line:

   HostX = Left$(Tempfile, InStr(1, Tempfile, "/") - 1)


is highlighted yellow with an invalid procdure or argument runtime error 5, i am going crazy , ive been coding for 2 years but i cant seem to get past this one:P lol, thankyou in advanced,

Ben Carson

Is This A Good Question/Topic? 0
  • +

Replies To: Http wrappers InSTR error

#2 raziel_  Icon User is offline

  • Like a lollipop
  • member icon

Reputation: 464
  • View blog
  • Posts: 4,255
  • Joined: 25-March 09

Re: Http wrappers InSTR error

Posted 07 September 2009 - 01:53 PM

that dont give us much info. is it posible you dont have "/" in Tempfile variable?
Was This Post Helpful? 0
  • +
  • -

#3 thava  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 180
  • View blog
  • Posts: 1,606
  • Joined: 17-April 07

Re: Http wrappers InSTR error

Posted 07 September 2009 - 06:12 PM

seems the left function has some negative values
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1