Remotely Create Folder, Assign Full Control?
Oct 29, 2010
I need to create a shared folder on the desktop for a specific user on a specific pc and assign full control sharing and security permissions for only tat user and a domain admin user. I need to do this for 300+ PCs. Going to each user manually and askin them if i can do tat on their pcs is very time consuming.
Is there a way i can code this and do this remotely where i can input,
1)the computer name/IP Address
2) the folder name i want to create
3) the user for which i have to create it for (just basically goin to doc and settin.>user name> desktop )
and i can achieve the folder creation for tat user with full control to that user and a domain admin user for sharing and security
View 4 Replies
ADVERTISEMENT
Jun 11, 2011
I 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 Replies
Feb 7, 2011
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 Replies
Oct 25, 2011
I use the following code in order to check if certin user exists in the DACL:
Dim l_managemantObject As ManagementBaseObject() = CType(securityDescriptor.Properties("DACL").Value, ManagementBaseObject())
For Each mObject As ManagementBaseObject In l_managemantObject
l_name = CType(mObject.GetPropertyValue("Trustee"), ManagementBaseObject).Properties("Name").Value.ToString
If CType(mObject.GetPropertyValue("Trustee"), ManagementBaseObject).Properties("Domain").Value IsNot Nothing Then
[Code]...
View 1 Replies
Nov 17, 2011
How to get the folder name from the full path of folder?This is file path,
"c:projects
oottwsdlprojdevlopeta2 ext"
Here text is the folder name.But i want to get the folder containing text, that is beta2
View 1 Replies
Sep 5, 2009
I started learning programming using VB.NET a few months ago, so I'm still like a total noob at this, and I'm not experienced enough with the Microsoft Visual Basic Library to get my answer. I have done some Google searches, and still haven't found any relevant answers.
Okay, suppose I want make a VB.NET desktop app. that displays the number "1" in a textbox when a button is pressed... I can easily make that program, but what if I want the program to, on my remote command, display the number "2" instead when the button is pressed?
Is it possible to write code that reads gmail messages? I know that gmail is pretty open about it's SMTP and POP ports and stuff.[code]...
View 4 Replies
Feb 5, 2009
I have an application in visual basic .net 2008 that allows us to configure our application on different servers, as part of this I need the ability to start/stop windows services on remote machines from the application.I am currently using the following code
[code]...
View 1 Replies
Jun 30, 2011
I have created a VB.NET program using windows forms. The program runs on a remote PC and displays information on a screen. The computer does not even have a mouse or keyboard connected to it. The program shows the information based on the file that is loaded.I want to be able to change this file remotely to another file that is already on the remote PC. I can't use a graphical remote desktop client as we have very limited bandwidth.So, my idea is to change the file using the command prompt.I'm not sure how to do this. Should I use something like this and load DosModule first:[code]How would I then read commands that is send to the program? I also only want one instance of the program running.
View 1 Replies
May 1, 2011
Is there a way to override/modify/create the left-side shortcut buttons in the SaveFileDialog or OpenFileDialog controls? Defaults are "My Recent Documents", "Desktop", "My Documents", "My Computer", "My Network"... how would I change "My Recent Documents" to "My Super Cool Folder"?
View 1 Replies
Jan 6, 2009
At my house we got 6 computers and 5 laptops. Not I want to be able to control them remotely without using external dekstop management or something else. So i can control when my kids can use the computer or not
So I came up with the idea of creating an irc server that listens to commands that I type from my main computer. The commands are no problem for me to program but the irc server itself looks pretty hard. I've been looking on google but cant find a good source to learn it. some other ideas than using irc protocol?
View 1 Replies
Jul 10, 2010
1. I want to know how the checked list box can get generated by a folder full of mp3's
2. I want the search funktion to refresh the list so it is only the typed in textbox1 that are showed but in the same way it is now
i use 1 textbox and 1 checkedlistbox
Public Class Form1
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
'Retrieve the item's Checkedlistbox
[code].....
View 5 Replies
Jun 19, 2012
I'm trying to write a program. This should be a simple task for most of you, but I have taken one class of programming back in High School so I'm kinda lost.
The program needs to do the following:
-Open AutoCAD File
-File=>Export=>PDF=>Save
-Close AutoCAD
If possible to select a whole folder full of these AutoCAD drawings and have the program run a loop until all the files in the folder have been exported into a pdf file.
View 19 Replies
Aug 22, 2011
I have searched and found many articles and code that writes a directory structure to an XML file. However, I'm not having much luck finding/altering code that gives each sub folder a different name. I'm trying to put into XML a folder full of audio files. They are music - artist - album - file. Music is the root folder and file are the audio files but every piece of code calls artist and album the same name. eg
[Code]...
View 2 Replies
Nov 30, 2009
With a function being passed a full path to a file, such as C:someFolderanotherFoldersomeXML.xml, determine whether the folder exists. Is there a smarter/better/more elegant way of doing this? Here is my implementation:
[code].....
View 2 Replies
Nov 21, 2010
I installed the new one. I then imported an old project made using vb 2008 EE.I found that a few errors were reported.In the project I addressed some function from a dll called "rsource.dll". I used the following function call:Public Declare Function rs_init Lib "rsource.dll" Alias "init" () As Double.The other different thing is the projevt was developed on a 32 bit OS but since then I have upgraded to 64bit (if this makes any difference). he other thing is where is the debugger PAUSE button. has it been removed from vb 2010?Also when i run debug it seems to create the exe in the Build output target folder instead of the default bindebug folder why is this?
View 5 Replies
Mar 15, 2012
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]...
View 2 Replies
Feb 9, 2011
I have the following directory structure in my asp.net webdirectory i want when any body access anypage inside my admin folder then it auto redirect to login page of admin folder until they login
View 1 Replies
Sep 30, 2010
I have the following code works fine in Windows 2000, after i moved to Windows Server 2003, it shows "Permission denied"...
View 1 Replies
Mar 4, 2011
After I run the setup to install the program, I will use the program to capture image and answer a survey.Having said that, I have a folder contains image of image capture and database using Ms Access 2007 in my program . Is it possible to make it both in one zip folder (Embedded both together in one folder and locate it in desktop?
View 6 Replies
Oct 25, 2010
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'?
View 4 Replies
Jun 22, 2009
My name is Orens Xhagolli and I am a between Beginner-Intermediate level. I am trying to create a little game with nice-looking and good options in Visual Basic.net. A good game needs to run in full screen. (Because the new directX is not suitable for my age (13) I don't want to use it and beacuse its a bit difficult to use it.) I read a few answers in MSDN forums but the full screen there doesn't take the entire screen ( The taskbar is visible ).
View 10 Replies
Mar 20, 2012
I am trying to assign values to controls in another form and I created a procedure(sub) to do this I was using myOtherForm.Label1.Text = "Value" but it is giving me an error saying expression does not produce a value
View 1 Replies
Apr 11, 2009
how i must go about creating a folder say "pics" in my root and then upload a images from the file upload control in into that "pics" folder? If you don't want to give me all the code, i will be happy with a nice link also to show me how this will be done in VB.NET (C# is also ok).
View 2 Replies
Jul 13, 2011
mbedde resources writing to temp folder and they all works fine but i have the exe that requires the files in a folder example folder1 , my path isMy.Computer.FileSystem.SpecialDirectories.Temp for all the files im using but how can i addMy.Computer.FileSystem.SpecialDirectories.Temp.folder1to string so it creates the folder and i can write the two files to this one instead of regular temp ????
View 18 Replies
Mar 3, 2011
How do you use a parameterized query to make the (last_name, first_Name) appear in the same combo box? I know how do drag them over from the DATA SOURCES menu, but I am trying to combine them. So instead of it being two separate combo boxes with both last_name and first_name), it want it to find the the names with first and last name in the same combo box.
View 2 Replies
Apr 28, 2010
I have an access file .mdb which gets installed with app at installation, non amdin acocunts can only read and not write to file unless you manually change permissions on that file giving full control to all users
Is there a way at installation this can be done ?
View 1 Replies
Jan 15, 2011
I would like to refer to a control but i do not know its number but i do know that it is a ComboBox. I was told to use this
Me.Controls("ComboBox" & 1 + i).Text
Which would get the text property of the i +1 ComboBox. However when run this I get an ullReferenceException was unhandled error. What an I doing wrong?
View 5 Replies
Jun 22, 2009
I've created a progress bar and it works fine but I'm trying to create a bit of code that informs the user that the progress bar is full and the operation is complete:
[code]...
This is the code for my progress bar, which works fine, but due to the Maximum condition not being a simple 100 value im having problems creating a timer that can display a msgbox when the progress bar is full.
View 7 Replies
Jun 21, 2010
I have created a CustonControl (NOT a usercontrol) and defined a DependencyProperty as following
[code]...
View 1 Replies
Dec 21, 2010
how to create a panel full of items (textboxes, buttons, labels, ...) and save it as a class with all it's properties so I can create it and place as object on other panel. My goal is to create an application with menu on the side and change workspace (the part on the rest of the form) between 3 or more possible different "workspaces" (made by the classes).
View 5 Replies