Expert Help needed for browser control

Major problem for me: Everytime I change the Offline property on the browser control to True, it goes back to False. I need the offline property to remain True, because I need the browser to read from cache first.

My application is consuming a great deal of bandwidth, because it's not reading from the cache. I need expert help here!

Many kind thanks in advance,
John AccountAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The bool offline is just a state indicator and does nothing to affect wininet behavior. What you need to do is set the offline/online globaly thru wininet. The below link has a sample api to do just that thru setoptions:
John AccountAuthor Commented:
Whereas I think I now understand that Offline property is used to render a boolean value indicating whether or not the browser is online or offline, I don't know how the link you provided would help me to achieve what I want to achieve, pradapkumar.

Here's the problem: Everytime my browser control goes to a web page, it re-downloads everything, instead of reading it from cache first; hence draining bandwidth from my web server.

Here's what I want to achieve: If the page is in cache, grab it and all it's associated files from there first.
On every time browser searches the web page from cache first. And compare it with available version in appropriate web server if the available version is(i.e. time stamping) different one then the browser selects to download the latest version from the web server. If the available in chache is same version then it reads the page from chache and displays it. This is actually what happened in the browsers. To make ur browser control working in off line then u can try as following :
Step 1. Open web browser(i.e. internet explorer)
Step 2. Click on File -> Work Offline this will make ur browser to work off line.
Step 3. Then u can open ur application see what happens there, it will work for u.

with best wishes.
N.Pradap Kumar

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.