There's a reasonably priced option if you look at Eldos OpenPGP Blackbox http://www.eldos.com/sbb/desc-pgp.php#[^] that I havnt seen fail yet (the trial download has everything, but you can license the OpenPGP Blackbox component on its own)
I have a question about MVVM. I have app where a have 9 buttons and they are bind to the same String from Viewmodel class. I want to update a Content of Button what i clicked with a char. How can I "block" another button from filling with button what i recently clicked?
You would need to bind to 9 different strings. You can be more clever about it obviously then having 9 string properties. Point is, if everything binds to the same string, you can't suddenly have 8 of the buttons not change by some random rule.
It gives me blank page all the time.
Anyone have a clue how to scrap this data from the table?
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.
You really should look up the various classes and methods you are using on MSDN. Directory.GetFiles with one string parameter will return an string array containing the path of all files in the directory specified in the parameter. If you want to specify a search pattern, you need to pass two string parameters, the first being the path to the directory, the second being the pattern.
The result will be a string array. You can foreach over that and pass each string into a FileInfo constructor if you wish.
I am trying to create a file on a directory where I have total power.
The File.Create (..) (as well as any other attempt to create the file even using FileStream()) always fails with the UnauthorizedException .
This is not possible since I have permission to write and create files on that directory (after all I can easily create a file by hand there).
I am running a debug instance of my program.
VS runs under my credentials.
The path is simply the debug folder of the application.
This is the same path where I was successfully reading and writing, yesterday, using the same VS, and NO change has been made since .
Something has changed for sure . But if I were the one who changed that something I wouldn't be here to pose this question.
I am not running anything which may lock the file. After all the file cannot even be created.
Running the environment as administrator even worsened things, as now the path of the file changed to something "like" root ("C:.\filename", which doen not even elaborate to a regular path).
as now the path of the file changed to something "like" root ("C:.\filename", which doen not even elaborate to a regular path).
I would suggest you have a bug in your code which is leading to an invalid path somewhere. Use your debugger to step throught the code and see the exact values of the variables that are used to create the path.
One of these days I'm going to think of a really clever signature.