2 Web Browser Problem
-
I am a beginner to C#.Net and i am supposed to do these... I have a textbox for URL, a button to load the webpage onto the web browser(web1) on my windows form. After loading is complete, the user can click on image to have the image transferred to the second web browser (web2). The user can also highlight a block of text, after the mouse down is released, the block of text from web1 is to be transferred in web2. So far, I have only done the web1.navigate2(...) part. Can anybody lead me to the correct path? Thank you.
-
I am a beginner to C#.Net and i am supposed to do these... I have a textbox for URL, a button to load the webpage onto the web browser(web1) on my windows form. After loading is complete, the user can click on image to have the image transferred to the second web browser (web2). The user can also highlight a block of text, after the mouse down is released, the block of text from web1 is to be transferred in web2. So far, I have only done the web1.navigate2(...) part. Can anybody lead me to the correct path? Thank you.
Can you explain further the purpose of the second web browser? When the user clicks an image in browser 1, are you wanting the image to be downloaded locally and parsed into a web page for browser two, or are you simply wanting the browser2 to navigate to the internet url of the image that was clicked?
-
Can you explain further the purpose of the second web browser? When the user clicks an image in browser 1, are you wanting the image to be downloaded locally and parsed into a web page for browser two, or are you simply wanting the browser2 to navigate to the internet url of the image that was clicked?
The second browser actually acts as a temporary location for my actual project. I want to have the image downloaded locally, preferably saved to my relative location with the actual name of the file from the website. Anyway to do this? Please help. Thank you
-
The second browser actually acts as a temporary location for my actual project. I want to have the image downloaded locally, preferably saved to my relative location with the actual name of the file from the website. Anyway to do this? Please help. Thank you
I haven't worked with the IE control in such a long time, but I know this is possible. Are you familiar enough with the System.IO namespace that you can write the file to the relative location? I don't remember the exact methods, but there should be an event that fires whenan image is clicked with the arguments including the path of the image, once you get this then you simply download the file and use System.IO to save it out to the hard drive. If you'll trust me enough to send me the code for your current project, I'll look and see what I can remember.