Click here to Skip to main content
13,901,395 members
Rate this:
Please Sign up or sign in to vote.
See more:

I may have an idea in programming practice. I want to create a copy prohibit flag in Visual Basic that goes by its class. The same way or even a better way than the SCMS (Serial Copy Management System). Here would be the following steps:

1. Create a public class routine module that includes the following parameters:
copyProhibit, fileInput, fileTarget
along with StreamReader and StreamWriter libraries.

2. Create a try..catch..finally routine block in the customized class module:
    copy the file

catch on err number
    copy prohibited

That's one idea. Another idea is to make a non-copyable file block. That is, once the files are placed in the file block, they can't be copied back onto the hard drive or to another offline storage medium.

Can this be done in VB 2008, and if so, P-code it to C?

Thanks in advance for your response.
Updated 25-May-12 19:15pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190306.1 | Last Updated 26 May 2012
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100