I was wondering if there is a way to drag and drop a html file to a C# form and keep the formatting. I can drag a html file and have it create a link in a rich textbox, but that’s not what I need. Ideally I’m trying to make it so I can drag a webpage into some sort of textbox in a C# application, so I can parse the information and sort it.
Share
you can use web browser control , here is the link :
There is an example :
In drag drop event , you should catch the filename and it contents and then you can display those on the webBrowser Control.