Const FILE_SHARE = 0 Const MAXIMUM_CONNECTIONS = 25 Dim strComputer As String = "." Dim objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" _ & strComputer & "\root\cimv2") Dim objNewShare = objWMIService.Get("Win32_Share") Dim errReturn = objNewShare.Create _ ("C:\Temp", "Temp", FILE_SHARE, _ MAXIMUM_CONNECTIONS, "MyFolder") i doubleClick temp folder Remote Computer return error access denied on file help me
BatUlzii
Posts
-
Help Me i use Win32_Share Class -
Help!!!! Trying to create shared folder. VB.NETgive me please for expamle using system.security.permissions
-
Help!!!! Trying to create shared folder. VB.NET -
give me please dataGridi need a groupDataGrid control in visualbasic
-
How do I create graphics are same in different areashow to create 600dpi graphics
-
How do I create graphics are same in different areas::Example code here: -------------------------------------------------------------------------------------------------------------- Private Function draw(ByVal g As Graphics) As Integer Dim sf As New SizeF g.MeasureString("hello world!", New Font("Arial", 9), sf) Return sf.Width End Function Private Sub pd_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles pd.PrintPage draw(e.Graphics) End Sub Private Sub mySub() Dim g As Graphics ' What should I do here with g in order to get equal results from draw() functions ' in pd_PrintPage() and in mySub()? draw(g) End Sub Tell me please if it is possible.
-
Help Me [modified]How to Create SharedFolder in visualbasic sharedFolder-> 1.One Folder Choose 2.right click in mouse 3.sharing and security...