siono7
asked on
Webbrowser Control - Copy contents of one control to the other
Hi,
I've got a windows form with two webbrowser controls; wb1 and wb2
I navigate to "webform1.htm" in wb1
wb1.navigate("webform1.htm ")
I programmatically fill out some details in webform1 and now comes the tricky part. I want to either...
Post webform1 and get the result to appear directly in the browsercontrol wb2
or
Post webform1 and then copy the result from webform1 to webform2
Can anyone help? Thanks in advance!
I've got a windows form with two webbrowser controls; wb1 and wb2
I navigate to "webform1.htm" in wb1
wb1.navigate("webform1.htm
I programmatically fill out some details in webform1 and now comes the tricky part. I want to either...
Post webform1 and get the result to appear directly in the browsercontrol wb2
or
Post webform1 and then copy the result from webform1 to webform2
Can anyone help? Thanks in advance!
and instead of using axWebBrowser1 of Form1, use the object of form2 to get the results in that
ASKER
Thanks for your answer armoghan, it seems to be the right solution but when I post the form to the second browser control with all the post data and the header information, I get an error saying that I have to enable cookies. Have you any idea why this is?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Accept armoghan
http://support.microsoft.com/default.aspx?scid=kb;EN-US;313068