What steps will reproduce the problem?
I have attached sample application downlaod it and run it or follow
below
steps.
1. Create a test web app or use gears sample
2. Google gears caching works fine with IE and firefox
3. Create a DotNet window application.
4. Use WebBrowser Control and navigate it to your gears based URL eg.
WebBrowser1.Url = New Uri("http://localhost/GearsTest/default.aspx";)
5. Now cache gears files now IE will not send any request for cached
files
but Your application will send request for all files even cached

What is the expected output? What do you see instead?
We want that our window application (Custom DotNet browser) should
not
request files these are cached using gear. we want it should works
same as
IE.

What version of the product are you using? On what operating system?
Current version:
0.4.20.0;official;opt;win32;ie
OS: Winxp SP2

Please provide any additional information below.
I think this is separate browser than the IE like Safari and firefox,
Currently gears release its new version which supports safari. I
think
gears team have to change something in code so it works with DotNet
webbrowser control too.
Gears.BHO.SetSite(WebBrowser1) may help but when i add gears dll
reference
in my dotnet project it gives me BHO interface instead of class.



On Nov 3, 3:55 pm, Ramesh <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have same problem
>
> I used System.Windwos.Forms.WebBrowser control in this
> vb.net my application. Gears not works with this control.
>
> THANKS so much for any help.
>
> On Sep 25, 11:38 pm, Michael Nordman <[EMAIL PROTECTED]> wrote:
>
>
>
> > This question has come up several times... how to get Gears to work with an
> > embedded instance of the WebBrowser 
> > control.http://groups.google.com/group/gears-eng/browse_thread/thread/f22ce1f...
>
> > The Gears.BHO is not being loaded and initialized. The BHO is what kicks
> > Gears into configuring its network intercept hackery. Many applications
> > embed browser controls and we don't want to load Gears into them
> > indiscriminently. As an app developer, you should be able to explicitly load
> > and initialize the Gears.BHO in your application. When creating your
> > embedded browser control, you will want to...
>
> > * create an instance of the Gears.BHO COM object (it is registered in the
> > registry)
> > * get a reference to it's IObjectWithSite interface pointer
> > * call the SetSite(iunknownOfEmbeddedBrowserControl)
>
> > Caveats... should work, havent' tried it myself, we certainly don't test it
> > in this fashion.
>
> > Hope this helps.
>
> > Michael
>
> > 2008/9/25 NealLee <[EMAIL PROTECTED]>
>
> > > Kurabi, can you specify that small minor bug?
> > > I encounter the problem as TatvaSoft meet, I use the .net webbrowser
> > > control, but it seems can't access local cached files, so I can't
> > > display the page when I offline.
>
> > > On 9月5日, 下午3時10分, M.Kurabi <[EMAIL PROTECTED]> wrote:
> > > > TatvaSoft, I am currently working on a project that uses gears in a
> > > client
> > > > side application. The browser control I am using is an ATL library 
> > > > brower
> > > > control. Everything works fine except for one small minor bug.
>
> > > > On Thu, Sep 4, 2008 at 1:30 PM, Aaron Boodman <[EMAIL PROTECTED]> wrote:
>
> > > > > Gears isn't designed to be used in client-side applications. It would
> > > > > probably require significant changes in Gears in order to work well.
>
> > > > > - a- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to