You might think this is simple, well i cant figure it out?!?! Running Explorer i have that down easy but i cannot figure out how to make it go to LocalAppData folder. I need it to go to this to show a list of files to the user.
I want to make a program that is similar to Windows Explorer. It will have a button that when you click it it opens a FolderBrowserDialog and it will have an area that displays the contents of the selected folder. I want to have a label that displays the current folder path (i.e. 'USERDocuments...') and I also would like a feature to search all files on the computer.Also, is it possible that when I click on a file in the contents of the selected folder it displays its information (i.e. Name, Size, etc.)? And can I also make it so that if you double click on another folder in the current folder's display it opens that folder? And can I have a button to go up one directory?
I want to open explorer to a specific destination but both shell() and process.start() are not opening explorer. They both open other applications like calc and notepad though. It works fine when debugging but not after I publish.
I use vb.net 2005, I open a folder with help of explorer.exe( explorer.exe ,/e,/root, D:ewfolder ) , when folder open in windows explorer , I right click on any subfolder and move mouse on context menu that time this explorer.exe use CPU 99% , why? But I normal case explorer.exe is use 40 to 45 % CUP. How I set it normal.
I want a walkthrough on how to use an Explorer Form. Basically I want to click on a treenode and see all its children on the list view. This means i want to populate a list view at runtime when i click on a tree node.
I want to run a exe . using Process.Start(My.Settings.dirt3fold & "dirt3.exe") it runs but than displays a error (not my program,the actually exe) .I believe this is because it will only run if its run through windows explorer . is there a way to get around this ,maybe use a shortcut or something .
I wrote a backup utility that synchronizes a list of folders. Errors appear in a list. In the list I can right-click to retry, exclude the folder next time, or open the folder in explorer to examine.When I shell to explorer I get an AccessViolationException. Form1 opens Form4 with Form4. ShowDialog(), and that's where the error occurs. The error does not occur within Form4 where the shell function is called. memory must be getting trashed somehow.I've used two methods, Shell and System.Diagnostics.Process.Start. Each produces similar results. Shell waits awhile before causing the error, but Process.Start causes the error immediately.This is VB.Net 2010 using framework 4, though I did resolve a shell problem once before with VBA by writing out a VBScript file then shelling to the VBScript file.
I wrote a backup utility that synchronizes a list of folders. Errors appear in a list. In the list I can right-click to retry, exclude the folder next time, or open the folder in explorer to examine.
When I shell to explorer I get an AccessViolationException. Form1 opens Form4 with Form4.ShowDialog(), and that's where the error occurs. The error does not occur within Form4 where the shell function is called. Memory must be getting trashed somehow.I've used two methods, Shell and System.Diagnostics.Process.Start. Each produces similar results. Shell waits awhile before causing the error, but Process.Start causes the error immediately.
This is VB.Net 2010 using framework 4, though I did resolve a shell problem once before with VBA by writing out a VBScript file then shelling to the VBScript file. I don't think the process being started is isolated enough. It's sharing memory or something else.
All schdoc.internetexplorer object becomes system.windows.form.webbrowser..That's actually webbrowser control rather than internet explorer object. Also if webbrowser1 is the object, I cannot hide the object remove toolbar, status bar, and many other things.
am using vb2008, and i was wondering how to to get the content in an input field in a webpage displayed in Internet Explorer, so when i hit a button for example, i get the content of the input field(usually texbox) in a textbox inside my app. note that am not talking about using the web browser component, but a running instance of ie
IS there any chance that I can connect to AD using database explorer solution in VS 2010 Pro.I know I can add that by code but it will be so easier if I can use database explorer.
create a file explorer which will enable you to select a file from any folder,and be able to filter the results from size,date,etc.
show all the results of a selected folder in a list and then filter it according to the user's needs,which is kinda like the "search" or "find" function in windows.
I want to be able to display a file in windows explorer. I have been able to open the parent folder, but I would like to have a specific file selected in explorer. What VB .Net Code would I use to do this?
I am writing a bootstrapper program to which I'd like to associate a file. I'd like the bootstrap app to store the path and name of the file the user's selected in Windows Explorer. I can get the directory name using the Environment.CurrentDirectory property. how to get the filename though.
I'm trying to create a program where I can hold my own files and be able to put a password upon opening the program. Once I put the password in, I'd then be able to access, make changes, and open my files that I choose to put in there. I did try this, but I get UnauthorizedAccessException. I get it when it reaches:
For Each mDirectory As IO.DirectoryInfo In mNodeDirectory.GetDirectories in TreeView1_BeforeExpand Private mRootPath As String = "C:Users"
I have work on vb.net 2005, and want to create a small application for handle windows explorer by my application. In this application my needs are.Open Windows explorer on user define Root folder. For example Root Folder is D:ABC and in this root folder some sub folder are present (Number of folder depend on users). For example in under d:ABC three more subfolder are present 1.NSHARMA 2.APOORE 3.SKHANNA, name of folder is user login name in application.
I have work on vb.net 2005, and want to create a small application for handle windows explorer by my application. In this application my needs are.Open Windows explorer on user define Root folder. For example Root Folder is D:ABC and in this root folder some sub folder are present (Number of folder depend on users).
For example in under d:ABC three more subfolder are present 1.NSHARMA 2.APOORE 3.SKHANNA, name of folder is user login name in application.I need when NSHARMA login in application then in D:ABC folder only show NSHARMA folder and other folder will hide, D:ABC folder are present on Common Path.In this Application one more common Subfolder under D:ABC it's Name is SharedFolder, it will Share between all user , it can access by at same time all login users and only how will be see it how is permission for it. For Example NSHARMA and APPORE have permission for this then only they will see this subfolder. Then APOORE and SKHANNA will be login in application that time APOORE will see it and SKHANNA does not see it.
I have use VB.Net 2005, I want to create an application , in this I want to open a particular Folder (for example D:/MyFolder) , in windows explorer and windows explorer open in some one vb.net control(which I can not know, it may be Panel) and control windows explorer tool bar by vb.net( enable and disable).
I want to be able to make Internet Explorer navigate to the "about:blank" page every time its user navigates to a wesite that is blocked by the HOSTS file. Does anyone know the code that I can use to do this?
So there only only two threads on the forum regarding killing explorer.exe, and neither one answers the question.Does anyone know how to kill explorer.exe (yes the Windows shell) and keep it from re-spawning? It is obviously possible, since taskkill does it. And for the moment I am using taskkill to accomplish this. But it sure would be nice to have a coded solution.
And yes I know what will be disabled when I kill explorer.exe, and yes this is exactly what we (the company at which I am employed) want to happen so please don't just tell me this is a BAD IDEA, like all the other forums on the internet have done to the people who have asked this.I have tried using the approach of looping through the array returned from Process.GetProcessesByName("explorer"), then killing each one of those returned processes. I have tried this in C++ with the native API... just in case there was some difference in the way the .NET libraries called things... In both cases explorer exits for a few seconds, then comes right back. The behaviour I would like to duplicate is that of "taskkill /f /im explorer.exe"
I'm looking for a way to click and drag an item out of a listview, and get the explorer path I dropped the file on, so I can write data to that location.