Hi Stephan, Before accessing a file for your processing, try opening a file with a WRITE access on it. If the file open fails with denied WRITE access, then another thread (Windows) might be using it. U can use this logic for any case (Files being copied, New file being created by another thread, etc.) Hope this helps...:) Regards, Krista
KKrista
Posts
-
problems with FileSystemWatcher -
Hardware related errorHi Dave, Thanks for the reply. The above was actually reported by a SCSI Device. Regards, Krista
-
Hardware related errorHi, Can anyone let me know, what does the following error mean? "Read channel calibration error" Thanks in advance. Krista
-
Some Info Needed on Digitally Signing DriversHi Mike, Thanks for the info. A detailed explanation of how the driver signing will have to be carried out will be more helpful to me. Thanks in advance, KKrista
-
Some Info Needed on Digitally Signing DriversHi, As I am unaware of the process of digitally signing the drivers, can anyone help me by giving some materials on the same. The signing process should be general to all OS. Links to some sites will also be helpful. Thanks in Advance, KKrista
-
CPU usage during File TransferI am using an API call to do the file transfer..
-
CPU usage during File TransferHi, I have a Windows application which actually carries out a file transfer operation from a SCSI device to the local directory. However during the file transfer and DB updates, the CPU usage shoots up to 100%. Can anyone help me in optimizing the CPU usage? Thanks in Advance, KKrista
-
InheritanceChanging the modifiers of the inner controls from a default 'private' to 'public' may serve ur purpose. Regards, KKrista
-
Pattern Matching in C#How about using RegularExpressionValidator control of C#? -- modified at 4:25 Tuesday 5th June, 2007
Regards, Murali
-
Retreving text from treeview problem. [modified]Do u have any root node set to the tree view?
Regards, Murali
-
Dependancy between methods of a classHi Chris, U r right.. We can view the references of the methods on right click of them. However I am in need of a tool that will take a class as input and give me the interdependancy of methods as the output. Could u please suggest me on that?
Thanks in advance, Murali
-
How to deal with reference variable in C#?While calling the method, pass the 'reference' variables as SomeMethod(ref varInput); Then in the definition of the Method u have to use the same reference variable as, public void SomeMethod(ref varInput) { //Give ur implementation here. }
Regards, Murali
-
How to communicate between two Dot Net applicationWhile developing ur application, in the app.config file, create a key (say 'instancenumber'). Then at runtime, set the key to a value (say '1','2',etc.) based on the instance of the application running. This will enable you to associate information specific to each instance.
Regards, Murali
-
Dependancy between methods of a classHi All, Can anyone suggest me a tool that will display the dependancy between methods of a class. That is, which method calls which other method of the class.
Thanks in advance, Murali
-
How to deal with reference variable in C#?Reference variables are surely supported in C#. I think the problem under this case might be the use of variable without declaration.
Regards, Murali
-
How to communicate between two Dot Net applicationHi Devesh, One of the easiest way is to use a common file between the applications. The other way would be to use the config file and have some keys specific to each process. To know if ur application is running, u can search for ur application name in the Processes list of the machine where u have to search at.
Regards, Murali
-
Binding TreeView Control to an ArraylistHi Manoj, Thanks for your reply. I am able to add nodes into the tree view without any problem. However, I want to bind an Arraylist to the TreeView so that the TreeView is controlled whenever the Arraylist is modified (Addition/Deletion of Users). Is that possible?
Thanks in advance, Murali
-
Binding TreeView Control to an ArraylistHi, I am developing application in which an Arraylist has a list of users. I also have a TreeView to show the users in the list. Can anyone tell me how to bind the TreeView Control to the Arraylist?
Thanks in advance, Murali
-
Chatting using WebService as the central ServerThanks for the info. Do you have a sample application on this regard?
Thanks in advance, Murali
-
Chatting using WebService as the central ServerHi, I am developing a chatting application with a Web Service as the central monitoring Server. The Web Service methods will be used by the clients (Windows and Web) to Add User, Send and Recieve messages. Can anyone help me in realizing this functionality as I have less knowledge on Web Service? A sample code with this regard will also be helpful
Thanks in advance, Murali