Share Folders Over Net?
Jun 6, 2011
i am working on a app. and i need to know how can i share floders that the app will use to save flies over the net. i was thinking about crearting a data base that would save all the files on to it , and then share the data base with fellow co workers, but i do not know how to add a excel file or word doc. in the database. i am pretty new to all of this so any help would be great. the app is writen in visual studio 2010.
basical it will let the user access the file he needs to compelte his work off shore. the files are created and saved as he needs them. once he is finished, i need the app to send the floder to some type of server ( dont have a server yet) so that the office and other co workers can see the files when they run the app.
View 1 Replies
ADVERTISEMENT
Feb 29, 2012
I am trying to list folders under a specific share example: \servernameshare I want the list to display in a listbox named folderlistBx I do not want to see file names or subfolders, just a list of folders
Private Sub ListBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBtn.Click
Dim FS As New FileSystemObject
[Code].....
View 1 Replies
Jun 21, 2010
I have a directory structure as follows;
ad_folder
--folderA
--folderB
--folderC[code]....
at I do not know the number of or the names of the folders, they can be different in different cases, I only have the root path.how I can display folder contents in VB.net and the code worked but couldn't figure out how to create the arrays and display only folders within folders starting with "ad_".
System.IO.DirectoryInfo and System.IO.FileInfo to be used for getting the folders.A literal control can be used to create javascript arrays in ASP.NET. These js arrays can then be used on the client side.
View 3 Replies
Feb 1, 2010
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 Replies
Sep 22, 2010
I have seen lots of examples with a treeview to list folders then display the folders context in a listview.
But what id like is a checked treeview, that not only displays the folder list, but the actually folder contents as well.
View 2 Replies
Mar 13, 2010
I use the code below to fill the list box and it works great. But i need it to only look in the \Software and \Software\FolderName Foldername could be any folder in the Software folder i need it to get all the .exe from software folder and only one more folder deep no more.
[Code]...
View 3 Replies
Apr 7, 2010
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 Replies
May 7, 2012
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?
View 5 Replies
Oct 13, 2009
Is there a quicker way to check directories? For example I want to check if the folder "A Folders" contains folders from 000A all the way to 999A then lists the folder that are missing? Do you think this is possible?
[Code]...
View 15 Replies
Feb 27, 2012
simple way to share, only share, in facebook? I see alot of libraries but they come with alot of code and without documentation.
View 2 Replies
Dec 14, 2009
How to start vb.net application from a shared file in LAN I mean that the application is installed in my PC but I want other users to get access to this application using my shared file.
View 8 Replies
Jun 11, 2009
I've looked in System.IO. but I can't find anywhere to get the unc share name of a path/drive.Anyone know how to get the unc share name of a folder, i.e. 'O:MyFolder'.
View 4 Replies
Feb 17, 2009
I have to do an application that share a folder and his sub folder.
This application have to run on Vista computer.
What's the best way for share a folder ?
View 1 Replies
Jun 21, 2010
can I have 2 form share the same progress bar? If so how does this work?
View 3 Replies
Apr 26, 2011
Visual Studio 2008 / Windows 7 / .net framework 3.5 / Windows forms application
My applicaiton has the following App.Config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
[Code]....
View 1 Replies
Apr 16, 2011
I have created a Bus Booking Website [URL]. I want to share the bus booking form with other sites so that they use our services.How can do I this using vb.net?
View 2 Replies
Feb 12, 2011
How can I connect to a network share without using System.Diagnostics.Process.Start?
I need to connect to a network share and get feedback if it already exists.
Can I use some kind of API?
View 1 Replies
Apr 23, 2010
My problem relates to executing an application located on a network share and getting various security exceptions in trying to do so. By far the greatest number of replies to this sort of problem relate to creating a new Code Group under Runtime Security Policy in the .NET Framework (v2 in this case) Configuration tool. However try as I might, and I've spent hours, trying various things with the config tool (and with caspol), I just cannot get my app to work.Still fails on things like reading command-line parameters and displaying a web page in a WebBrowser control or firing up a browser using Process.Start. In fact I've regressed to creating a VB6 version for this particular task as time is off the essence. Which works fine! As I mentioned lots of people have posted on this topic and not s few of them seem not to have resolved their issues either. So I was wondering if anyway had come up with a definitive solution for this problem which, in my case, seems to affect XP machines only? Seems to work OK on Vista, 7, 2003 Server, etc - although I haven't run exhaustive tests in these environments.
View 1 Replies
Oct 22, 2009
My company got a new server, with a new sever share name, etc. I also moved my project from 'My Documents' to the C: Drive. I went through all my code and replaced the old path info to the new path. Tried to publish and received errors stating my temporary key was no longer valid. I googled that error and tried a solution. I created a test certificate and the app published as expected.
View 2 Replies
Nov 4, 2011
Now I have finished my another really small program. I have tryed to publish in several ways but with now result. So how can I publish it easily? I will share it so I'd like to have just one "setup" file which creates the another necessary files. (or just one bigger file?) but the main thing is that I dont want to start share 4-5 files...
I get it worked on my computer, that's not a problem. But then I upploaded all of the files (4-5) to mediafire, destroyed program from my computer and downloaded those files: Program didnt worked: Sayd just "U havent downloaded all necessary files" (something like that).
Well I think it's possible also to publish to new wep site. In fact I tryed to make wep site (with www.nettisivu.org ) (finnish quite good wep-page-creater) but the same result: no results at all. If this is the easier way, how I could upload my program straight to that site? In that "wep-page-creator" the final site looks that: xxxxx.nettisivu.org and editing page looks: xxxxx.nettisivu.org/wp-admin/page.php?action=edit..... (xxxxx=my name for site)
View 2 Replies
Apr 17, 2010
I have an app with my own class "something".So, Im going to one of the my modules and declare public var as a class. After fillup this class by date, I would to get this date from the other module of my app. But there this var is unavailavle (its mean I have to redeclare it again. Its mean I'll lost
View 7 Replies
Jan 13, 2009
I'm new to VB2008 and SQL Server. I have two forms (frmCustomer and frmDetail). The frmCustomer has a datagridview containing general data of customers, and a button to open frmDetail, which contains each customers detail information. All data modification is done on frmDetail (add, delete, and edit). Currently, both forms are binded to the dataset (same table). When the two forms are loaded, each form performs a FILL function that retrieves the data from SQL Server. In addition, all modifications done on frmDetail does not show up on frmCustomer until I perform the FILL function again on both forms. Seems like I'm maintaining 2 sets of data from the same table, and I think I'm doing more work than I have to. I'm sure there are ways to make this easier, such as bind both forms to a single dataset, so I don't have to do everything twice.
View 1 Replies
Feb 17, 2012
Is it possible to share subscripted variables and their data between forms? So far I can't see the variables I made public in one form, in a second form.
View 5 Replies
Apr 30, 2009
I'm writing a console app to take care of our automated user creation process which was previously done by a batch file. I need to check if a users network share exist on any of 38 servers but seem to be having trouble finding info on how to do it. From what i can tell i need to use the netapi32.dll and the NetShareCheck function, but i'm not sure how to do it.
this is what i have so far, but it isn't working as it should. it seems to be returning 2311 in almost all cases exept if i use uppercase on the server and device and the device starts with C.
Imports System.Runtime.InteropServices
Public Class NetApiWin32
Declare Unicode Function NetShareCheck Lib "netapi32.dll"
[Code].....
View 1 Replies
Oct 5, 2010
my old vb6 "WNetAddConnection2 Lib "mpr.dll" no longer work in vb.net 2010. at run time i get "PinvokeStackImbalance was detected".How can connect to network share ?
View 2 Replies
Sep 8, 2011
I have a few pdfs I am trying to display in a winform app I am writing.
Is there a way to grab these apps from a share drive on a network, loop through the directory and display them?
View 2 Replies
May 13, 2010
I developed a Visual Basic Program in my laptop. I can run the program form my C Drive and works perfectly.
Then I put the program in a Share Drive and:
1. If I run the program from my laptop but in the Share Drive I get this Error[url]...
2. If I run the program from my desktop and the Share Disk it is works perfectly.
3. If I run the program from a different user desktop and the Share Disk I get this error[url]...
I suppose it is a Security Issue or something like that but I am not totally sure and I do not know how to fixe it.
View 4 Replies
Mar 30, 2010
I have Client-Server environment and developed a project for Client-Server.I need to share a folder of my Server machine programmatically using VB.NET
View 2 Replies
Aug 6, 2009
I have used the same code as Good4You here[url]...
My task now is to set "<Computer>administrators" to have "full scces" and "Everyone" to have "Change" on the newly created network share.
View 3 Replies
Sep 8, 2009
I have written small a software. I want to install it on a server and and make it accessible for all the other users on network.
How can I retrieve the server name (the computer program installed) with .NET?
Also, sharing the "Program Files" folder doesn't look like a smart idea for making the program accessible from the other computers.
View 2 Replies