|
I would realy like to make it transparent to the users so that when they open the stub file it automatically starts restoring the file. I am not sure if queuing is the best solution in this case.
I know with other HSM products the code is only installed on a server. Users who has a share on this server does not have to install any code on their desktops to be able to activate the restore. They just need to open the stub file on the share they are mapped to and the restore starts.
I am not concerned so much about the user application timing out as long as the restore starts.
I tried using the Filewatcher class to sit on the server and watch for accessed stub files but I find that if I open a file it's accessed time does not always change and filewatcher does not trap it. Any ideas why that may be?
|
|
|
|
|
No, I haven't seen that problem, and I use use it.
I have seen the buffer overflow problem mentioned on msdn, but as far as I know, the buffering problem still triggers an event in my case anyway.
See the Notes Section above the example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiofilesystemwatcherclasstopic.asp
hope that helps,
progload
|
|
|
|
|
I did a Google on that problem and I only found a few references, if it was fixed by a service pack or whatever I've not found anything about it. But, like I said, I haven't seen mine do it.
I do have server 2003 all up-to-date.
here's a reference to that problem:
http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic1649.aspx
|
|
|
|
|
I didn't say the extension had to be installed on the client.
You really don't have a choice here. The FileSystemWatcher class only triggers events well after they have occured, not during the occurance. It also gets slower and slower at triggering events the bigger the directory tree you want to it monitor. Try having it monitor your entire C: drive and watch what happens...
Now, you CAN put a stub in place of the file, but when the client double clicks the file, it's the CLIENT that runs the stub code, not the server. Since the client knows nothing of the tape backup system and will most likely NOT have rights to it at all, you've got a huge problem. This is only solvable by code running on the server and the only time this code will get executed is when the file system get an Open request and follows the installed chain of extensions.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I found an article that talked about HSM reparse point. It deletes the content of a file and creates a reparse point(stub) in it's place. When the application opens the stub it does not know any different. Are you familiar with this and how to create it in code?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2kmag00/html/ntfspart1.asp?frame=true
|
|
|
|
|
Reparse Points[^]
Yes, I'm familiar with the concepts. No, I haven't written any code for it.
What you're looking for is the Windows Installable File System (IFS) Kit. It has everything needed to write a reparse point filter driver for NTFS. Since your writing a kernel mode driver, you really can't use VB.NET or any of the managed languages to do it. It is HIGHLY (can't stress this enough!) recommended to use C++ to write this...
Windows Installable File System Kit for Windows 2003 SP1 and below[^]
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks
I will try to find a c++ programmer to help me with this.
|
|
|
|
|
i have an access file with on table and 3 fields (ID, name, image) and datatype for image feild is ole object. i want to store the image as a n Encrypted image or even converted to a binary. so i want to create a vb.net project that add images and store them in the database as an Encrypted image(binary).could anyone help me on this.
|
|
|
|
|
You can get the data from an image, just specify the format. Then you can encrypt that, if you like.
|
|
|
|
|
Singapore? What are you doing in Singapore?
Vacation? Please tell me you're not on CodeProject in the middle of a vacation?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
|
With what?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=3412&lngWId=10
|
|
|
|
|
can anyone post any code to validate email address and web address... i need help here... ^^ thank you
|
|
|
|
|
There are examples of using Regular Expressions all over the 'net for validating the format of an email address. An example of which you can find here[^] on CodeProject.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi to all.
Please help me. I have to connect an autorefractor machine with my medical software so that the readings directly comes into my software and get stored in my database. i donot know where to start can anybody give me a hint. my platform is visual basic 6. and mysql .
any help will be highly appreciated.
thanks
Monica
|
|
|
|
|
I may be able to give you a hand.
Normally, the data is aquired thru the PC's serial port to the autorefractor own PC software.
You'll need to specify the brand and model of the autorefractor and if or what software you have for it, And I'll see what I can dig up about it.
progload
|
|
|
|
|
Thanks very much for replying me. I want to know that the interface will be provided by the brand or i have to code it. should i ask about it to some of the vendors . will they know anything about it.
|
|
|
|
|
I would amagine that if they are good vendors, not just salesmen, that they would know.
Otherwise, I would get the Information on the specific model right from the manafacturer.
decoding serial data is not hard if you know the format of the data.
but if they provide the software interface you may just need to import it into your software.
progload
|
|
|
|
|
|
Have you tried the Manufacturer?, by the way what brand and model is it, maybe I can help find it...
progload
|
|
|
|
|
These are the brands Humphrey,goldman,Zeiss, .Thanks a lot for helping me so much. i think i can atleast see the way to go as i was totaly in dark before this.
thanks
|
|
|
|
|
aparently Zeiss and Humphrey are the same company
here is a link to the software for them:
http://168.143.167.66/humphrey/HFA12_5Letter.html
I'll search around and see what else I can find
|
|
|
|
|
woop's the other link may be wrong, it's for the field one... here is the link to the autorefractor you must register apparently..
http://168.143.167.66/
|
|
|
|
|
Looks like goldman only makes the lenses,
I would download their software and check it out, see how it stores the data and go from there.
Let me know if you need some more help.
progload
|
|
|
|