Encrypt A Windows Folder?
Jul 29, 2010I ahve code which will encrypt and decrypt a file in widnows. now i want to implement my logic for a folder in windows. the folder may contain sub folders and numbe rof files.
View 4 RepliesI ahve code which will encrypt and decrypt a file in widnows. now i want to implement my logic for a folder in windows. the folder may contain sub folders and numbe rof files.
View 4 RepliesIs it possible to encrypt a file/folder in vb.net?
View 3 RepliesI want to create a Windows app called encrypt.exe. This app doesn't have UI, just takes string and return a string. I want to call this app from other Windows app or from cmd. I am using Visual Studio, what kind of project should i create?
View 9 RepliesI need some guidence to determine how to use DPAPI to encrypt passwords and server entries in the app.config. All examples I came across seem to refer to 3.5 and earlier, VS 2008, platforms. Does anyone have an example that will work for VS2010 in 4.0?
View 2 RepliesI have two windows vb.net form. I got a text file. I am trying to encrypt some data and save it to a text file with the 1st windows vb.net 2005 form. Now with the second one am trying to decrypt the data and retrieve it here.
View 3 RepliesTitle explains it what VB code could i use to have windows copy a folder and display windows progress bar?
View 1 Replieshow should i copy a file in system32 folder from resources folder .resx file of my windows application?
View 1 RepliesIm using this code in XP 32bit os to get the %windir%windowssystem32 folder path.
sysFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.System) What i want to know is that will this same code return the %windir%windowssyswow64 folder when used in windows7 (64/32bit)?
I use VB.Net 2003 and in my application I create a folder that I will use to create files in it.My problem is that under Windows 7 this folder dont have a full permissions and the files are not been created.Is there any way that I can give full access permissions to this folder?I can do it via VB.Net 200358 and via my Wise installation system.
View 3 RepliesI want to get the windows font folder with path.
View 2 Repliesi am trying to do is open a folder in a windows application, where when i click the button a folder pops up this is what folder i want to open my windows prefetch folder. so i wanna make a button. label it prefetch, and be able to click the prefetch button and have the prefetch folder open. i can open other programs such as cmd prompt and other exes. just not and folder. [Code]
View 2 Repliesis it possible to have my app protect a folder's files from being viewed by other users. like, if i set the command to protect a folder, then if anyone tries to access that folder will be prompted with a msgbox.
it probably means having a separate app loading at windows startup and constatly running in the background to make sure that folder isn't being accessed.
so much work to do and so many choices to choose from...
I have developed a VB.net 2008 application.My application is running successfully in x86 machine.I write some files in windows folder.When I test it on Windows 7 x64 machine with administrator log in there is no problem with this.If i run it with other user log in it gives me an error for access denied for files in Windows folder.
View 6 RepliesIs it possible to make VB 2008 go into Windows folder options and tick the "Display the full address in address bar" (under the view tab) ?
View 2 Replieshow can I get the name where windows is installed on a remote pc?
View 2 RepliesIf I don't grant write permissions to the folder containing my exe file, I get an 'Access to the path binReleaseprogram.exe' is denied. But if I grant it write permission I don't get the error. Why would the executable need write permissions? I'm not writing anything to the root where it resides.
View 1 RepliesIf I adjust permissions using the Security.Accesscontrol.DirectorySecurity on a directory, how can I make it so that subfolders automatically inherit the new permissions?
Brief overview of the situation is that my neighbors can't connect their Vista laptop to a shared folder on their computer running XP Home. They're getting access errors which I believe is because of the rights set on the folder. The problem is that XP Home won't let you adjust that and they're not upgrading.
I'm able to add the Everyone user to the directory I specify. But if I drag a new folder in or create a new folder, it does not have the Everyone user. Is there something I'm missing in this class that will let subfolders and files inherit the permissions?
I'm looking for a straightforward means of pulling all the users who have access to a folder with vb.net.All I need is the user name, not the type of access they have.
View 1 Repliesi want that multiple users of my application will be able to change a database of my application.
I do now write the application files to a c:ProgramData subfolder.
The problem is that i cannot write to this folder.
I tried to set its permissions automatically but this did not work either.
In which folder should the database of my application be placed so that even non administrators can change it ?
how to keep track a folder and trigger events if any new files saved into that folder , if any we are supposed to perform actions and manipulate that file ( recently came ) and then convert it to PDF file then move it to another folder if action has been successfully done delete the file from source folder and store it as PDF in the second folder...
View 4 RepliesI'm trying to access Windows XP's Application Data - but I'm having a slight issue, I am using the following code:Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)This is working correctly in any other opperating system - but Windows XP - On Windows XP it directs them to: C:Documents and SettingsAdministratorApplication Data - this is not the folder I want.I want to access: C:Documents and SettingsAdministratorLocal SettingsApplication DataI have tried to do:
View 4 RepliesHow do i use the temp folder...?or any folder...so that no one delete the file until app is closed!I want to store some files while my app is running!
View 3 RepliesI have developed an VB application for windows. The application creates a folder say "C:My_Folder", when I run the application. I want to delete that folder when I uninstall my application(through control panel > uninstall ).
View 1 RepliesI am using vb.Net 2005 for creating an application for handling windows explorer. In I have open a folder in windows explorer as a root folder. Currenty I need when I click one Search button.And after this click on All files and foldes. In Lookin combo bydefault set my Root Folder which is I set in windows explorer. For opening windows explorer I use this code.
Dim processClass As ManagementClass = New ManagementClass("Win32_Process")
Dim handler As ManagementOperationObserver = New ManagementOperationObserver
AddHandler handler.Completed, AddressOf Me.Completed
[code].....
I want to create several folders on a specified drive, some are up to 3 levels deep such as x:users\%username%Documents
%username% would be a folder created after the users actual user name
What I would like to be able to do is create these folders for each username that resides on computer including the "default user" however the rest of the built in windows accounts I do not need to do this with.
I then want to change the registry setting under each user, for example these two keys (their are more keys however but they all follow this except for the last part of the key where instead of personal it would be named videos or something):
HKUS-1-5-21-9999999999-999999999999-9999999999999-1002SoftwareMicrosoftWindowsCurrentVersionExplorerShell FoldersPersonal: "C:UsersTest UserDocuments"
HKUS-1-5-21-9999999999-999999999999-9999999999999-1002SoftwareMicrosoftWindowsCurrentVersionExplorerUser Shell FoldersPersonal: "%USERPROFILE%Documents"
specifically this value needs to change "C:UsersTest UserDocuments" and this one "%USERPROFILE%Documents"
However it is my understanding that this key is specific to each user based on the S-1-5-21-999999999999-999999999999 number which I believe is referred to a GUID.
I know how to create a folder, I know how to change other registry settings that have integers but I am stumped on this.
I've got the following problem: I need to make something that checks to see whether a file has been added to a specific folder, ifso this file needs to be printed. I heard Windows maybe has something similar built in?
[Code]...
I am working the first time now with windows installer. I made an application consisting multiple programs and one of them needs a shortcut to the user startup folder. Therefore I selected in the Installers file editor the special folder 'Users startup folder' and put there the shortcut to the program.
But when I install the programs the shortcut is placed in the common startup folder and not in the users startup folder
I am trying to work on a service where I need to export a report into a folder under the service project and email it to the user. The delete the report when complete. The issue I am having is I need to know how to access a folder under the project. I know you can use System.AppDomain.CurrentDomain.BaseDirectory to get into the bin where the excuting file is but I want to get to a folder is this possible? If not is there a way of creating the folder under the bin directory and accessing it. I can manually create a folder under the bin but didnt really want to do that.
View 1 RepliesI have a shell extension made in .NET that creates folders (think of it as a context menu New -> New Folder option clone) and uses a InputBox to input the name of the folder from the user. Instead I want to send the rename command on the folder to the already open Windows Explorer window. It should be just like how Explorer lets us name a new folder:
On searching, I found this : Windows Explorer Shell Extension: create file and enter "rename" mode. It says to use the IShellView::SelectItem function with the SVSI_EDIT flag. How do I do that with .NET?
I am building a windows application with different languages, when I change the language of a form visual basic will create a new form for me which i can change the settings for my new language and all was working fine, but recently i recognized that the images i am changing in the other language form is changing the images in the default language form, so i need to create two Resources Folders for images and manaully tells the application which folder to use.
View 3 Replies