Set Folder Share Programmatically?
Mar 30, 2010I 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 RepliesI 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 RepliesI have the following code works fine in Windows 2000, after i moved to Windows Server 2003, it shows "Permission denied"...
View 1 Repliesis there a way to programmatically return who is using a particular file within a network share??
View 4 RepliesI'm looking for a way to programmatically view and/or modify the permission for an existing share. I'm speaking of SHARE PERMISSION, not NTFS PERMISSION, I know how to view/modify ntfs permission.
View 2 RepliesNow I upload update to a share folder inside the company network I have full
Permission access & everyone read onlyas any one out side the company can't use the program so there no password on the share folderbut I need now to protect the share folder as I have to use real IP on the database connection to allow the company branch's to access the database
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 ?
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 need to access to a server shared folder from a vb.net 2010 program, but the user in the same computer must not be able to access to the same folder. The access to this shared folder must be only permiss trough the program. (The shared folder is on a Windows server 2008 Std). It is possible for example to include user and password in the folder string?[code]...
View 2 RepliesI need to create a folder on a remote machine (The machine name and UNC path are stored in an Access 2007 database. Once the folder is created, I need to share it out with Everyone:Full Control Permissions?
View 3 RepliesI have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control?
View 1 RepliesI have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control?
View 4 RepliesI have the code to create a folder, does anyone have the code to share the folder and set the permission for everyone to have full control?
View 4 Repliesassist me to create a form in which i need to show the documets like "*.doc,*.xls,*.txt,*.pdf" which is in network share folder
View 1 Replieshow do you change a file or folder icon programmatically
View 1 RepliesI would like do this in a script task. For example i would like to be able to do something like this:
For each file as file in strDirectory
file.delete
next file
I have created a folder in DotNetNuke programmatically on the root portal directory. I just want to assign permissions to it only one time, for example I want to make it read only for authenticated users. Any advice on how to accomplish this using C# or VB.NEt?
View 1 RepliesHow to programmatically set the "compress" attribute of a folder
View 3 Repliessimple way to share, only share, in facebook? I see alot of libraries but they come with alot of code and without documentation.
View 2 RepliesHow 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 Repliesi 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.
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 Repliescan I have 2 form share the same progress bar? If so how does this work?
View 3 RepliesVisual 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]....
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 RepliesHow 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?
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 RepliesMy 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 RepliesNow 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)
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 RepliesI'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