[Migrated content. Thread originally posted on 02 February 2009]
I was hoping someone might be familiar enough with VB code and COBOL code that they could help me write the following VB code in COBOL?strPostData = strPostData & Chr(AscB(MidB(PostData, lCount, 1))) ' Use MidB to get 1 byte at a timeThis is an example of converting the Post String that is passed through the BeforeNavigate2 event in the IE browser control. It's passed as a Variant. The code above is necessary because the PostData argument contains a SafeArray Bytes. So that code is necessary to retrieve the data. The article I found this is at http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q256195. There is also some C code there. I'm just trying to accomplish the same thing in AcuCobol. Can anyone help?
Thanks,
Rob



