468,321 Members | 1,843 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

how to detect if an application is set to "work offline"



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

Nov 17 '05 #1
0 1026

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Kimmo Laine | last post: by
51 posts views Thread by Tony Sinclair | last post: by
5 posts views Thread by mkaushik | last post: by
8 posts views Thread by mdh | last post: by
4 posts views Thread by eqq2002 | last post: by
1 post views Thread by AliRezaGoogle | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.