Click here to Skip to main content
15,913,467 members
Home / Discussions / C#
   

C#

 
GeneralGraphics files stumper... Pin
new_phoenix17-Jan-05 16:12
new_phoenix17-Jan-05 16:12 
GeneralRe: Graphics files stumper... Pin
cobyjone17-Jan-05 16:21
cobyjone17-Jan-05 16:21 
GeneralRe: Graphics files stumper... Pin
new_phoenix24-Jan-05 10:40
new_phoenix24-Jan-05 10:40 
GeneralRe: Graphics files stumper... Pin
Christian Graus17-Jan-05 17:24
protectorChristian Graus17-Jan-05 17:24 
GeneralRe: Graphics files stumper... Pin
new_phoenix18-Jan-05 6:15
new_phoenix18-Jan-05 6:15 
GeneralRe: Graphics files stumper... Pin
Christian Graus18-Jan-05 8:41
protectorChristian Graus18-Jan-05 8:41 
GeneralRe: Graphics files stumper... Pin
Corinna John17-Jan-05 19:53
Corinna John17-Jan-05 19:53 
GeneralRe: Graphics files stumper... Pin
new_phoenix18-Jan-05 6:31
new_phoenix18-Jan-05 6:31 
Not certain exactly how to embed a watermark in a .gif file. Isn't a .gif file the equivalent of a raster graphics file, while a watermark would require something like a vector-based photoshop file so that the watermark could be somehow extracted and compared to some text value? Also, I would need to be able to overwrite them when more current files are available.

I like the idea of changing the properties of the files to readonly, system and hidden that smbecker had suggested, but then I would need to also be able to hide the folder in which the files are stored. If I embedded them as a binary file somehow, if that is what you mean, could that be overwritten utilizing a binary writer in System.IO.BinaryWriter, or something?

I need to be able to have the user overwrite the files when properly interacting with the application, but I do not want the user to be able to overwrite the graphics files while the program is not running. Otherwise, the user could set the graphics to something that is an unintended usage for the program.

Could you kindly enlighten me about how to store the graphic files in a .dat file that could be overwritten by the application when the user interacts with the program properly? I also need to be able to prevent the user from deleting the folder or the files entirely so some interaction with the O/S is necessary via the System.IO.FileAttributes.System interface which restricts what the user can do with files.

Also, with above Windows 2000, graphic files when right-clicked have permissions provided, could C# interface with these properties and change those when the application interacts with them properly when running? To see what I mean, simple right-click on a graphics file when using above Windows 2000. Could these permissions be interfaced with as well as utilizing the .Hidden and .System and .ReadOnly attributes of FileAttributes?

I seriously doubt that an end user would know that they would be required to not only find the file folder, then the files, then change the attributes of the files, and then change the permission to the files provided by right clicking on them. Would these steps be enough to protect the graphic files?

I would appreciate more assistance. Thanks Unsure | :~
GeneralRe: Graphics files stumper... Pin
Skynyrd18-Jan-05 10:25
Skynyrd18-Jan-05 10:25 
GeneralRe: Graphics files stumper... Pin
Corinna John19-Jan-05 19:44
Corinna John19-Jan-05 19:44 
Generalunsorted column schema Pin
paulb17-Jan-05 16:10
paulb17-Jan-05 16:10 
GeneralDetect sender page Pin
ABBASI_RA17-Jan-05 15:35
ABBASI_RA17-Jan-05 15:35 
GeneralRe: Detect sender page Pin
Stefan Troschuetz18-Jan-05 0:21
Stefan Troschuetz18-Jan-05 0:21 
Generaldatagrid lookup field Pin
ABBASI_RA17-Jan-05 15:33
ABBASI_RA17-Jan-05 15:33 
GeneralExcel database for C# Pin
Syasya Mortensen17-Jan-05 14:06
Syasya Mortensen17-Jan-05 14:06 
GeneralRe: Excel database for C# Pin
Christian Graus17-Jan-05 15:55
protectorChristian Graus17-Jan-05 15:55 
GeneralRe: Excel database for C# Pin
Syasya Mortensen17-Jan-05 16:22
Syasya Mortensen17-Jan-05 16:22 
GeneralRe: Excel database for C# Pin
Rob Graham17-Jan-05 17:02
Rob Graham17-Jan-05 17:02 
GeneralRe: Excel database for C# Pin
Syasya Mortensen25-Jan-05 13:59
Syasya Mortensen25-Jan-05 13:59 
GeneralNovell C# LDAP - Thread does not own the semaphore exception Pin
Edbert P17-Jan-05 12:33
Edbert P17-Jan-05 12:33 
General.NET Version Pin
Edbert P17-Jan-05 13:53
Edbert P17-Jan-05 13:53 
GeneralFormating doubles Pin
Flack17-Jan-05 11:43
Flack17-Jan-05 11:43 
GeneralRe: Formating doubles Pin
Christian Graus17-Jan-05 12:25
protectorChristian Graus17-Jan-05 12:25 
GeneralRe: Formating doubles Pin
Stefan Troschuetz17-Jan-05 21:13
Stefan Troschuetz17-Jan-05 21:13 
GeneralWindows Installer questions... Pin
new_phoenix17-Jan-05 11:24
new_phoenix17-Jan-05 11:24 

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.