Link to home
Start Free TrialLog in
Avatar of siono7
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!
Avatar of armoghan
armoghan
Flag of Pakistan image

see the following link for posting data
http://support.microsoft.com/default.aspx?scid=kb;EN-US;313068
and instead of using axWebBrowser1 of Form1, use the object of form2 to get the results in that
Avatar of siono7
siono7

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
Avatar of armoghan
armoghan
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Accept armoghan