I was hoping that there is a better way rather than handling myself each and every special character might appear in my input string.
When I tried to launch html form instead of ASP, I can pass input string as dialog arguments from my C++, which handles all special characters perferctly!
Only...
I tried Html encoding, and having same problem.
I tried with simple \n in the input string:
function DisPlayMsg()
{
var outputstr
outputstr = "<%= Server.HTMLEncode(Response.BinaryWrite(Request.BinaryRead(Request.TotalBytes))) %>"
alert(outputstr)
}
And after server process:
function...
Hello,
I am posting string data from C++ application, which uses activex webbrowser control, to ASP. The only way i can post this string in binary using safearray.
Anyhow, I am able to successfully read this string in ASP server and assign it to client script varible using following statement...
Thanks Sheco. Request.BinaryRead method helped. I am able to see whatever string POSTed from my C++ code when added Response.BinaryWrite(Request.BinaryRead(a)) line to my ASP.
That confirms that ActiveX control successfully posing the data.
Can you help me how to parse this banary to read actual...
Hello,
I am VC++ programmer. I am novice to ASP. I am using CWebBrowser2(ActiveX control) to navigate some user-written ASP pages from my application. When I navigate from my CWebBrowser2 control, I am telling it to use POST transaction instead of GET transaction and sending some Post data...
Hello,
Our system developed using VC++ with COM. Our new requirement is to launch user written ASP forms from our system. To achieve this I added CWebbrowser2 control in our dialog and launched ASP pages using Navigate method. The problem is that we need to pass some input data to these ASP...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.