D,
I am not sure what you mean by ---
> I only need to get web page change something in html
> document and either move on or send something back..
But, I recently posted a little short code snippet on my blog -
http://dotnetjunkies.com/WebLog/sahi.../06/42130.aspx
that lets you easily retreive a URL and save it as MHT. Instead of saving,
you could get a string out of it, and work with it.
That right there is unmanaged code (uses interop), but there are other
managed ways to acheive this goal too. Unfortunately none of them allow you
to save as MHT but you might not need to do that.
- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik
"Djavdet" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi everyone,
> I need to work with web sites from my program but i don't need to show
> web site content.. I only need to get web page change something in html
> document and either move on or send something back..
> Basically pretty much the same what usually people would do with IE but
> no windows...
> I thought that it would be easier to implement using AxWebBrowser
> ActiveX control, but I can't figure out how to set that OCXState field
> if I don't create object within WinForm. If don't set it , I get
> InvalidActiveXStateException...
> So I guess my question is, how to use AxWebBrowser control without
> WinForm or maybe there is a better way to solve my problem?
> Thanks
> D.
>