Click here to Skip to main content
15,920,217 members
Home / Discussions / C#
   

C#

 
AnswerRe: Custom Listbox with Only Left Key Enabled Pin
Martin#29-Aug-07 21:07
Martin#29-Aug-07 21:07 
GeneralRe: Custom Listbox with Only Left Key Enabled Pin
Sukhjinder_K29-Aug-07 21:32
Sukhjinder_K29-Aug-07 21:32 
GeneralRe: Custom Listbox with Only Left Key Enabled Pin
Martin#29-Aug-07 21:51
Martin#29-Aug-07 21:51 
GeneralRe: Custom Listbox with Only Left Key Enabled Pin
Sukhjinder_K29-Aug-07 22:06
Sukhjinder_K29-Aug-07 22:06 
QuestionHow to impose expiry date to various documents using C# Pin
sachinkalse29-Aug-07 20:01
sachinkalse29-Aug-07 20:01 
AnswerRe: How to impose expiry date to various documents using C# Pin
Dave Kreskowiak30-Aug-07 6:28
mveDave Kreskowiak30-Aug-07 6:28 
GeneralRe: How to impose expiry date to various documents using C# Pin
sachinkalse30-Aug-07 20:50
sachinkalse30-Aug-07 20:50 
GeneralRe: How to impose expiry date to various documents using C# Pin
Dave Kreskowiak1-Sep-07 4:08
mveDave Kreskowiak1-Sep-07 4:08 
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.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: How to impose expiry date to various documents using C# Pin
sachinkalse2-Sep-07 15:14
sachinkalse2-Sep-07 15:14 
QuestionCan run Oracle application without installing Oracle Client? Pin
Anez.A29-Aug-07 19:48
Anez.A29-Aug-07 19:48 
AnswerRe: Can run Oracle application without installing Oracle Client? Pin
Michael Sync29-Aug-07 20:03
Michael Sync29-Aug-07 20:03 
GeneralRe: Can run Oracle application without installing Oracle Client? Pin
Anez.A29-Aug-07 20:26
Anez.A29-Aug-07 20:26 
AnswerRe: Can run Oracle application without installing Oracle Client? Pin
jith - iii29-Aug-07 20:36
jith - iii29-Aug-07 20:36 
GeneralRe: Can run Oracle application without installing Oracle Client? Pin
Anez.A29-Aug-07 21:12
Anez.A29-Aug-07 21:12 
AnswerRe: Can run Oracle application without installing Oracle Client? Pin
darkelv29-Aug-07 23:35
darkelv29-Aug-07 23:35 
QuestionCheckbox column in a grid view... Pin
Dotnetkanna29-Aug-07 19:39
Dotnetkanna29-Aug-07 19:39 
AnswerRe: Checkbox column in a grid view... Pin
Michael Sync29-Aug-07 20:02
Michael Sync29-Aug-07 20:02 
AnswerRe: Checkbox column in a grid view... Pin
Revathij29-Aug-07 20:15
Revathij29-Aug-07 20:15 
Questionc# Pin
shashankshekhar29-Aug-07 18:56
shashankshekhar29-Aug-07 18:56 
AnswerRe: c# Pin
Michael Sync29-Aug-07 19:56
Michael Sync29-Aug-07 19:56 
AnswerGiven this is the C# forum, don't you think it would look terrible if all threads had the subject 'C#'? Pin
Vikram A Punathambekar29-Aug-07 20:54
Vikram A Punathambekar29-Aug-07 20:54 
QuestionHelp about Hipaa edi!! Pin
Kumar!29-Aug-07 18:45
Kumar!29-Aug-07 18:45 
Questionhow to search string in different file and comment it [modified] Pin
Situ1429-Aug-07 18:15
Situ1429-Aug-07 18:15 
AnswerRe: how to search string in different file and comment it Pin
WhiteGirl2329-Aug-07 22:49
WhiteGirl2329-Aug-07 22:49 
QuestionStart reading from end of file Pin
TheJudeDude29-Aug-07 18:09
TheJudeDude29-Aug-07 18:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.