473,672 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Detect if Offline Files is being used

How do I detect if Offline Files is being used on the My Documents folder?

Thanks.
Nov 23 '05 #1
1 2498
It seems I can get this information from the registry in Win2K and WinXP:
[HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Windows \CurrentVersion \NetCache]
"Enabled"=dword :00000000 (disabled)
"Enabled"=dword :00000001 (enabled)

So now I'm working out how reliable it is to check only this registry key
value, or if I also need to check other values in this registry key, such as
NoMakeAvailable Offline, NoConfigCache, and GoOfflineAction .

And also wondering - what if the Offline Folders are enabled, but the My
Documents folder's right-click option 'Make Available Offline' has been
deselected. How will I figure that out?
Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2124
by: yasir | last post by:
I am using Watcher to detect any file renamed event. From time to time, or when lot of files gets renamed at the same time, Watcher fails to detect some files. I have set the InternalBuffereSize to 64 (i think it is 64MB, please correct me if i am wrong). I move the indication file to another folder once the processing is completed. I am thinking to take care of this problem by checking if the processes has actually was done on this file...
1
5750
by: Chris | last post by:
I want to detect the version of the JVM that is being used by the browser, for both IE & Firefox (and maybe also Opera & Safari if possilbe). I have searched around the web for such a program, however it seems that all I can find is people that have done it by means of a Java appplet. This is all very well, but it doesn't help me because I want to return the result (version & Supplier) to the browser to fill in a webform. I would prefer...
4
8322
by: Mountain Bikn' Guy | last post by:
I am having serious problems with the following IDE bug: Could not write to output file 'x.dll' -- 'The process cannot access the file because it is being used by another process. ' and BUG: "Could Not Copy Temporary Files to the Output Directory" Error Message When You Build a Solution That Contains Multiple Projects I have tried all the solutions in Microsoft Knowledge Base Article - 313512.
1
1375
by: pHines | last post by:
I have my entire source code directory available on my laptop via Offline Files. The directory structure is housed on my server and made available offline on the laptop using Windows 2000. When I do a build on the server, everything is fine. When I do it on the laptop while connected to the server, everything is fine. But when I do it on the laptop while not connected to the server (working offline), I get internal compiler errors. If...
1
2421
by: Stephen Adam | last post by:
Hi there, I have written a custom validation control which checks to see of an input field is not empty and contains only numeric data. I was using a regular expression validation control but was unable to get it fail if a field was blank. My problem now is that while my custom validation control will detect if a field matches my requirement and will display a error message if it doesnt, it wont stop it from being used and sent to my...
8
14023
by: shandra | last post by:
I have a file I need to delete or truncate. I tried using the KILL command in VB6. I tried using the file.delete command in VB.net. I tried manually deleting, renaming, and copying over the file... but nothing works. I keep getting the error: Cannot delete access_log: it is being used by another person or program. I tried shutting down services, I tried killing processes using the task manager, I tried rebooting, and still, I get...
0
835
by: KUTTAN | last post by:
How can i determine whether a file is being used by a any process ? senario I am creating some pdf files on a server and mails it to some people as attachment. After it i have done the coding to delete all files in the perticular directory Since the files are being appended to mail i am getting error like "the file is being used by other process......" So how can i deter mine that a file is used by any process
1
26301
by: eran otzar | last post by:
I've got a problem wich cant manage to overcome although it might seem fairly simple. I've got a chat program, in wich i want to enable users to change user pics at runtime. There's a picture box winch is set to an image with the name of a certain peer for example : "C:\\FriendLy\\Users\\eran\\Pictures\\eva.jpg" Now what i need is to replace this picture and override it. The first thing i do is copy it to a new location (becuase i dont...
1
1644
by: Wes Chmiel | last post by:
When VB program opens excel file that someone else has open, I don't get name of the user; all all I get "file being used". What can I do to see the username? Workbooks.Open(Filename:="P:\QualityAssurance\WrkBooks-Net\Motor Inspection\Purchased Motors.xls").RunAutoMacros Which:=xlAutoOpen
0
8503
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8419
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8844
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7472
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4439
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2836
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2092
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1836
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.