A1VBCode Forums

Runtime Error 5: Invalid procedure call or argument


http://www.a1vbcode.com/vbforums/Topic28246.aspx

By Arasi - 10/5/2009

Hi all,
       I am trying to extract the texts from a web page and write it to a text file.
       I am able to read the text by using internetexplorer.application but when I try to write it to the notepad sometimes it gives Runtime Error 5: Invalid procedure call or argument.
       Microsoft VB Help says that it happens bcoz of "An argument probably exceeds the range of permitted values."

Can someone help me to get rid of this problem.

Thanks in advance.

-Arasi