Thanks for your reply.
But I think its possible, as its already done by one vendor of our client, since its their IP, we do not have access to the source code. That DLL imposes all IRM rights that includes expiry date too.
One of two things can do this. Either the application supports it, or the file system supports it.
For the file system, you'd have to write an extension to the file system.
For an application, you'd have to write some kind of Add-In for that application that replaces the app's load/save functionality.
You can't just "throw in" an expiration date into the document properties and expect that to work on every instance of the application. For instance, throwing an expiration date into a Word document doesn't do anything unless that copy of Word has this extension installed. BUT!! What's to stop the user from opening the document on a copy of Word that DOESN'T have the extension installed?? NOTHING!! The document must be encrypted somehow to get around this kind of functionality limitation. You need to stop other copies of Word from opening up the document.
As for how to replace the load/save functionality, I have no idea.
Thanks for the reply Dave,
Well, I got some clue from MOSS ECM Starter Kit, where they have given some information about custom IRM protector.
If I get anything concrete out of it, will definitely share.
If any one has already done some work on it, please do share.
I am in a trouble. I have done an application with Oracle and C#. I have created the setup.exe also. The application will work in oracle client installed systems. Is there any way to run the application without installing Oracle Client?
Can anyone knows the answer, please kindly help me....
Thank you Michael...
But, i have done that method also. Still its not working.
First time, the error got is Missing OraOps9.dll.
I've added OraOps9.dll into the setup file. Still not working. The error shows, the specified path is incorrect. Cannot find Such file or directory...
Anyway, thanks a lot for the reply to my question...
Im using c# asp.net 2.0. In a dataset im having one column value as either 0 or 1,if the row value is 1 means the checkbox should be checked and its 0 means the checkbox should be unchecked in the gridview,im having the checkbox column as a template column.im having one checkbox column.How should i achieve this..
Put one more label in this checkbox column. the DataField of this label should be mapped to the actual field from database.
In Item_DataBound() event of GridView, you can check whether the value is 0 or 1. then, find the checked box control and check or uncheck based on the value..
I am having my first work in generating hipaa edi streams, validating edi streams using XML schema!Could anyone please tell me some ideas to do this? This is my first work, so i have to do more careful, It will be really thankful,if you help me! please help me!
i have to finish this work in C#.net! Please help me!
I have to search a string "AssemblyVersion" and if i get this string i have to comment it, and also add comment in front of this string ,
if this string is already commented then it will not comment again...
I have to search this string in Assemblyinfo.cs file and this file is in different project.
How do i Solve this problem?
If anyone know that how to search the string and comment it then plz tell me as soon as
Is there a way to have StreamReader start reading a file from the end? I know there is no method, but is there some type of way using the stream class?
I have some large files where the data that needs to be gathered is at the very end and looking to cut down on the processing time.
BTW using 1.1
I am having trouble with closing a form created in a seperate thread. This is what I am trying to accomplish: I have a program that runs in the taskbar. When a user double-clicks a key, a form is created in a new thread and is shown on top of all other forms. When the user clicks anywhere outside the form, the thread will close, but the program will continue to run in the background. This is similar to the Google Desktop functionality. The code works the first time the form is created in a new thread, but if the form has been closed once, you have to click on the form to make it active and then click outside of it before it will close. I have tried using the Deactivate and LostFocus events, but they both only work the first time the form is shown. Any suggestions would be greatful. I have included a snippet of code below.
Thank you for the suggestion. My problem though is trying to get the form to Hide/Close once the user clicks/types outside the form. Is there an event fired when this happens that I am not aware of or do I need to use a global hook? If I was to use a hook, how do I know that the source of the hook was not within the form?
you might be able to use .ActiveForm.Close() if you call it from the same thread which generated(showed) the form, else you'll get a "cross-thread exception"
Is this form some type of information "pop-up" ? if so you could just call .Show() and then set a timer to call the .ActiveFrom.Close() on it. Also keep your current if you click on it and then click away it closes.
This would be a better user experience, as they don't have to keep clicking away close the dialog.
another problem is that you are calling abort() to your thread and not allowing it to exit cleanly
All threads should include a method to stop their execution loop, .abort() is to throw an exception on a soft-locked thread. A situation where you know that it should have quit already but it is stuck in some loop.
The exception doesn't allow the thread to finish its task. Think what will happen if a thread was in the middle of saving some file that was only 1/2 written when it was aborted.