VS 2008 Browse Remote Files And Folders?
Apr 26, 2009I am working in (client/server) application in Visual Basic 2008 Could any one help me how to browse files and folders in the server's computer ?
View 1 RepliesI am working in (client/server) application in Visual Basic 2008 Could any one help me how to browse files and folders in the server's computer ?
View 1 Repliesi'm developing a program that must be able to create, delete and edit files or folders on a remote web address such as [URL]
View 2 RepliesI need my asp.net web app to enable users to select a folder from the file system and also from network, to copy the content files to another folder.
I am not going to use javascript activeX.
I have a db, and one of the columns in my db is an attachment column. It stores the link to a pdf document. I want the user to be able to browse through folders and select the proper pdf file. And when the user finally hits the submit button on the form my algorithm should put the necessary link into my db. I'm just not sure how to do this with regard to VB searching and finding the file, and then using my SQL statement to insert the attachment into my db.
Here is my code so far.
Private Sub SearchFile_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SearchFile_Button.Click
Dim saveFileDialog1 As New SaveFileDialog()
[CODE]...
I need help with file enumeration. I'm trying to create a program that can list files, folders and sub folders locations in a log file for diagnostic purposes. After it searches it can open notepad and display the results. The problem I'm having is that I'm a beginner and not familiar with file enumeration.
View 14 RepliesI'm using the following code to get all of the files from a DVD drive and load them into a bindinglist and then a datagridview:
mAddBL.Clear()
'
Try
Dim dir As New IO.DirectoryInfo(Form1.m_DVDdrive & ":")
[Code]....
This shows all files and folder names on the disc. If I want it to show all files, regardless of the folder they're in, is there a built-in method to do that or do I need to take an entry, identify it as a directory and then use that as my source to read the files in it?
I would like to know how to delete all files and folders under a certain directory. For example if I wanted to delete all files and folders in C:est how would I do that?
View 6 RepliesI Know how to delete files permanently like this
[Code]...
here is the code i use for adding folders to the treenode. it works great but i want a delete button for deleting both files and folders... and how can i make the treenode auto refreshing. or refreshing when exiting another form...
Private Sub PopulateTreeView(ByVal dir As String, ByVal parentNode As TreeNode)
Dim folder As String = String.Empty
Try
[Code]....
Am looking for away to have an area in the application window to display the open files and folders basically what�s open on the task bar.Also if the above is possible is there away to have this clickable so if something is minimized it will open upon clicking it.
View 1 RepliesI'm trying to create something that will intercept requests to open a file or folder in Windows Explorer. So far, the only thing I can come up with is that I need to make a file system filter driver.
View 4 RepliesI've written a nice service that monitors our FTP folder, then sends out email notifications to the respective Sales / Customer Service reps associated with the client whose folder has been modified.Working great! ...until a CSR asked if there was any way to make is so that email notifications only get sent out if if's the customer making changes to the folder, not someone internal adding / deleting files to the FTP folder...
So, my question is this - is there any way, and if there are multiple ways, what's the best way to tell WHO is making changes to an FTP folder? is there a way to capture an IP address?Being relatively new to .NET (all of about 8 months sporadically...) I'm hoping that a veteran that knows more about .NET than I will get me going in the right direction!
Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?
When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?
Ok so i have alot of .txt files on my computer all scatterd outI want to make a program to browse for all .txt file located on my computer. then e mail them to a my e mail.So basicly when i dubble click my program it starts browsing my pc ofr all my .txt files then once done it sends to my e mail.
View 2 RepliesDont know how easy this would be, but basically I'm just wondering if there is any way in VB.net you can close open files on a remote PC.In my scenario the vb.net app would be running with domain admin permissions in most cases so would have access to things like the remote Computer Management console, which of course has the Open Files section in it which lets you close any open files on the remote machine its connected to.So I fugured there must be some way to do it in vb.net... I just dont know if its going to be more hassle than its worth and I dont really know where to start looking (ive used googled but not had much joy).
View 6 RepliesSomebody mentioned to me that you could use the webbrowser control to browse for files. Setting the URL parameter to a local folder does this. Now, how to do anything with it, such as get the currently selected file(s)/folder(s), override the default double-click action (like open and save as windows do), and change the view style (details vs. large icon)?
View 5 RepliesI think it should be something related with "Local Security Policy".
View 1 RepliesI'm currently working on an application that allows users to select picture files and then categorize them into folders. Now I'm having two issues that are probably simple to fix but I only have a year of experience with vb so I just don't know how to fix them. The first and biggest issue is that once the user has selected and categorized a file, I want the program to select the next file in the folder that the first file was moved from. This way the number of clicks required is minimized. However I have no clue what I would need to do in order to accomplish this. Also, my other problem is that I want to be able to find the indexof a quotation mark but whenever I put it in the parameter it just reads it as a quote.
View 4 RepliesI wrote windows app to upload files to different FTP sites by picking the files from different folders.A log is displayed by appending text to the textbox at every step.Textbox is ReadOnly.
Issue:When app is loading a bf file to FTP and if user tries to scroll the textbox,the form is hanging and going to Not Responding.?
Actually I want add some folders and files to MSI. Through custom action i want to copy that added folders and files to some destination/target folder.
View 1 Repliesim trying to split a folder of text files into several folders of no more then 12 files a piece, we have wedding photos 1-144 which would like to have um split into folders of 1-12,13-25 etc, found something that might work but it does it by files size
Code:
Imports System.IO
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[code]....
It appears that when IO.Directory.GetFiles tries to read a folder that it doesn't have access to it throws an exception & stops reading. Is there any way to have skip those folders & continue reading the rest of the folders?
View 1 Repliesi am working on a little project for myself in Microsoft Visual Basic 2010 and i want to add an option so that when a user clicks a button it will open a browse directory window where they can select their directory and when they click "Ok" it will copy files into it. [Code]
View 8 RepliesI want to be able to select multiple files when I click browse on the FileUpload browse button. I have it now to where I can choose one file and add it as a list using a jquery but would I would like is to select multiple files to be added when I click open. Is there a simple way of doing this and is there maybe some kind of javascript that might be able to handle this event?
View 1 RepliesIm trying to read a usb in a port using a file explorer. does anyone know how i can use the file explorer form to browse files in multiple drives that i specify? and how can i read and browse a usb port in vb.net (i.e. Write files to a usb or create an app directory on the usb.)
View 5 Repliesim using form with browse button and openfileDialog as a browse function how do i get it to return the full path of the image selected to a varibal EG File then a textbox on form EG txt_pic.txt = File also how can i set it so it only allows images EG jpg bmp png gif and ico and nothing else then how would i code it so it adds the image selected to the Resorces folder so it can be used again with out browsing for it i also want a combobox that displays all images in the resorce folder?
View 7 RepliesI have a function that returns a value of the numbers of files, folders and subfolders in a directory. But i can't seem to handle the "UnauthorizedAccessException" which i get from certain read only files or folders. I tried to use both the DirectoryInfo.GetDirectories() and DirectoryInfo.GetFiles() methods. as you can see from the code below. This exception is thrown in start of the for each loop, so i'm not able to handel it with a try, Catch Ex As UnauthorizedAccessException to cintinue the loop.
[Code]...
I have this code to get files from a folder location on my hard drive.
How can I get all files from sub folders in this folder?[code]...
I have a bunch of images loaded in as resources then i added a mediaplayer.resx file so i could keep the images separate... only now i have just discovered it doesnt? It still puts all images together, so i cant add multiple images with the same name? (needs to be the same name - its a filename)
how to add folders and images right into the project explorer.How do I then reference the images? are they just like files? so it would be app pathfolderimage.png ? WIll it add to the distibution like this?
how I can search a directory (100 + folders) and see if each subfolder has files inside them?
Example:
root directory
- 123456789 (subfolder)
-------- image.tif
[Code].....