IE 3.0 WebBrowser Control: Getting the PostData
Posted on 1997-06-17
When using the WebBrowser control to access web pages that submit form data, I want access to the posted data (URL encoded string) that is returned by the BeforeNavigate event. I can access the URL and Header strings but the PostData array seems to be empty. LBound(PostData) generates a type mismatch error and the TypeName(PostData) function returns "Empty" for non-form pages and "Empty()" when submitting on pages with form data. Posted data is correctly being sent back to the server; I just can't seem to access it in the event callback.