VS 2008 : Create And Make A Folder Hidden From User?
Oct 20, 2009How would i create and make a folder hidden from user?
View 3 RepliesHow would i create and make a folder hidden from user?
View 3 RepliesI want a code to create a hidden folder , Sub Folders , And files in the FoldersHow can I do thatI usually use the following code to create a folder
If My.Computer.FileSystem.DirectoryExists("c:Test") = False Then
My.Computer.FileSystem.CreateDirectory("c:Test")
End If
[code].....
Is it possible to make a folder that is password protected that is only viewable by your application? I want to make a program that can make such a folder and allow access to it only through the program.
View 6 RepliesHow do I create HIDDEN files and folder (eg. a config file to store program settings) in VB.net?
View 2 RepliesHow do i make a folder that my program makes hidden. I am using (MkDir)
View 5 RepliesI am creating a VB .NET app that uses the user's Application Data to store data. Can an unprivileged user create a folder in the top level of their Application Data directory? I am trying to create the app's folder if it doesn't already exist for that user.
View 3 RepliesHow would i make it so my application can turn/off the hidden folder option?
View 9 RepliesI want to make 5 attachment options in that 4 out of the 5 are hidden.but when he clicks "more attachment" link it will show the other 4.Im using ASP.NET with VB?
View 2 RepliesI want to make a program that makes hidden shortcuts in drive c the files I want to add shortcuts for is in C:/program files/common files/apple/apple application support I want shortcut for all files and folders in this directory
View 4 RepliesI'm making a program that search for files with the specified extension. It also shows hidden files. How can I make the hidden files get a different color in the Listview? And how do I do that with only the hidden files?
View 5 RepliesHow can I allow the user to create a new folder and tell it where to be saved? I was thinking of using the savedialog but I don't know how to use it for folders instead of files.
View 3 RepliesI have a sub in my app that creates a folder called logs. I'd like to ask the user where they want to create the folder (explorer?) maybe even let them name it whatever they want. Also there will be text files created in that folder, so they will have to be saved in whatever folder the user creates.
Here's the sub.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnServerDiagnostics.Click
Using p1 As New Process
p1.StartInfo.UseShellExecute = False
p1.StartInfo.CreateNoWindow = True
[Code] .....
Visual Basic 2008/2010 - Save Page As, create a Folder, upload the folder to a specific ftp site I am working on this vb app that will goto a specific site, click on a button(i am still working on the button process) do a save page as, create a folder, save those files to a folder and then upload that folder to a ftp site.
[Code]...
I have am Explorer form and I want to be able to use a treeviewNode and all of its contents to create a windows folder structure.Each Treeviewnodes would be used to create a folder.
The problem I have is that I am using a SaveFileDialog Form to allow the user to specify where the Folder structure should be created and it only accepts a file as input or end point.
How can I get the SaveFileDialog form to accept a folder, e.g the desktop, without specifying a document in the folder?
I have discovered Environment.SpecialFolder.MyDocuments and My.Computer.Filesystem.SpecialFolder.MyDocuments
I know how to check if the folder exists, but it's awfully difficult to find a way to create a folder in a 'special folder'.
How do I programmatically create a folder in the users 'My Documents'?
I am going to show you how to create a browsefolderdialog. All this does it popup to the user and let them choose a folder.
For this you need:
1 Button
1 Textbox
Double click your button and add in the
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim BrowseFolder As New FolderBrowserDialog
[CODE]........
This sets your textbox1.text to what ever folder is selected. After that you can do whatever you want with your selected folder. This is how it will work when you are done: [URL]
I currently have a program that allows users to download files into a folder of there choice. I currently have 10 different forms all with a text box to show folder location and a browse button for user to find it, but what I want to do is create a form that will appear at the start where the end user can enter the folder location so that they don't have to enter the folder path for every download they want to do. How would I go about doing this I have a textbox, browse button and an OK button but have no idea what to do next.
View 1 RepliesI am designing a program that will backup a user's profile in Windows XP. So far, the only snag I've come across is copying the 'Signatures' folder from 'C:Documents and SettingsUSERNAMEApplication Data$MicrosoftSignatures' I believe the issue is that the 'Application Data' folder is hidden. [code]...
View 10 RepliesThe specific features I want to produce is it doesn't place on the form, it places in the little box at the bottom and when CustomUserControl.Show() is called it shows as a dialog boxI'm sorry if I misspelled something or my grammar is wrong, I've never done well in those subjects.
View 1 RepliesI have tested a few applications downloaded from net. They are surely database applications but when I checked in the folder where the application is installed, there is no database (no mdb, sdf etc.) When I install my application, my databases are always in the folder.
What is the trick to make them invisible but they should still work.
How would I get the current user's folder?Example:"C:Documents and SettingsOwner"
View 1 Repliesabout a week since I started. Now I'll just ask my questions straight away:I want to make a program which allows the User to create stuff, say a survey. What I want them to be able to do is,
1. Decide the headline
2. Decide the layout of the survey
3. Import pictures
4. create new pages, like a form.
And then save this survey to a file which can be opened either by itself or by using some sort of viewer program. And I want the user to be able to put in answers to questions in the survey which wont be visible when you open the file in the viewer program. Now I dont expect you to write the program for me, just give me ideas on how to solve them, where I can learn about methods to get there and so on.
How to get the User (Username) folder? I mean C:/Users/Username, D:/Users/Username or C:/Documents and Settings/Username ...Don't remeber exactly
View 2 RepliesI have the following code: Basically, I have the textbox hidden until the user checks the checkbox, then, they can type the directory of which they want to open (crude approach I know, I'm just getting the feel for it)however with the code the way it is, no matter what I type in the text box, it brings in the same directory every time.. been messing with this for hours at wits end with it [code].....
View 13 RepliesI have a script that checks a version table from one mdb (server) and compares it to the same table in another mdb (user folder), if the version number is mismatched it needs to replace that file from the server, to the user folder. The problem is, how to get the OLEDB connection to the user folder since, the folder destination is
E:Configurator & UserName & Detail2004.mdb
How to set this up?
Here is my code:
Dim UserName As String = Environment.UserName.Substring(Environment.UserName.LastIndexOf("") + 1)
Dim connectionString2 As String = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:Configurator" & UserName & "Detail2004.mdb"
Dim con2 As New Data.OleDb.OleDbConnection(connectionString2)
Dim cmd2 As Data.OleDb.OleDbCommand
I want to create a directory and a folder , i have 2 textboxes.
Firstly i want to open and select a path and display it in textbox 1, then i`ll use textbox 2 too create the folder.
I don't know what went wrong, but I am not able to create a folder using the following code
My.Computer.FileSystem.CreateDirectory(Environ("%UserProfile%") & "Desktopabc")
I'm using Windows Task Scheduler Wrapper to schedule the tasks (basically to launch an exe console every two minutes or so) in a .net desktop application.However, I don't want it to pop-up the console every 5 minutes or even once. How do I hide it? I understand if I was using vb.net to launch the exe, there are several things I could have done. However, I am using windows task scheduler to launch it.
View 1 RepliesI want to store my log files in the user's Application Data folder (to avoid all the hassle with Windows 7/Vista UAC permissions). By default, though, the app creates the folder structure like thisAppData/CompanyName/AssemblyName/AssemblyVersion/I just want a single folder without the AssemblyName and AssemblyVersion. Other than removing that info from the project, is there any other to just create a single
View 1 RepliesBut I am trying to get to the Personl folder of the current user in windows 7. Now there are two special folders: MyDocuments and Personal However they both lead to C:Users{USERNAME}Documents Shouldn't Personal lead to one back from that?
View 3 Replies