M
Mark Kamoski
Hi--
How can one detect, programmatically, if an application is set to "work
offline"?
The situation is this. I have a project hosted at a site on the web. When I
am developing locally, I simply check "work offline" and then I can run the
VS.NET debugger and step-through code, and so on. When I am ready to
"publish" my changes, I simply uncheck "work offline" and the web syncs
just fine.
However, the idea is to have the application "know" when it is set to "work
offline" so it can use the local database instead of the one at my hosting
location.
Do you happen to know how this can be done in code?
Please advise.
Thank you.
--Mark
How can one detect, programmatically, if an application is set to "work
offline"?
The situation is this. I have a project hosted at a site on the web. When I
am developing locally, I simply check "work offline" and then I can run the
VS.NET debugger and step-through code, and so on. When I am ready to
"publish" my changes, I simply uncheck "work offline" and the web syncs
just fine.
However, the idea is to have the application "know" when it is set to "work
offline" so it can use the local database instead of the one at my hosting
location.
Do you happen to know how this can be done in code?
Please advise.
Thank you.
--Mark