Click here to Skip to main content
15,908,175 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Getting DOS output Pin
sthotakura20-Apr-07 7:58
sthotakura20-Apr-07 7:58 
GeneralRe: Getting DOS output Pin
johnjsm20-Apr-07 11:10
johnjsm20-Apr-07 11:10 
QuestionHow do you add code snippets Pin
directred20-Apr-07 1:25
directred20-Apr-07 1:25 
AnswerRe: How do you add code snippets Pin
Dave Kreskowiak20-Apr-07 4:28
mveDave Kreskowiak20-Apr-07 4:28 
QuestionUPLOADING IMAGE USING OPEN FILE DIALOG Pin
klaydze19-Apr-07 22:10
klaydze19-Apr-07 22:10 
AnswerRe: UPLOADING IMAGE USING OPEN FILE DIALOG Pin
Christian Graus19-Apr-07 23:52
protectorChristian Graus19-Apr-07 23:52 
GeneralRe: UPLOADING IMAGE USING OPEN FILE DIALOG Pin
klaydze20-Apr-07 15:46
klaydze20-Apr-07 15:46 
QuestionDirectory share and fileshare problem [modified] Pin
battulga19-Apr-07 21:56
battulga19-Apr-07 21:56 
i use following code:

--------------------------------------
private sub ShareFolder()
Dim ct As New DirectoryEntry("WinNT://" +
SystemInformation.ComputerName + "/LanmanServer")
ct.AuthenticationType = AuthenticationTypes.Signing Or _
AuthenticationTypes.Sealing Or _
AuthenticationTypes.Secure
ct.Username = Nothing
ct.Password = Nothing
Dim shares As DirectoryEntries = ct.Children
Dim share As DirectoryEntry =
ct.Children.Add("foldersharename", "fileshare")
share.Properties("path").Add("c:\new folder")
share.CommitChanges()


end sub
-------------------------------------


After calling ShareFolder function,"c:\new folder" folder was shared.
But when opening the folder from any other computer than mine through
LAN (Local Area Network), "\\Tulgaa\foldersharename is not accessible. You
might not have permission to user this network resource. Contact the
administrator of this server ot find out if you have access
permissions" msg is thrown. When I share a folder manually from
Explorer, all is fine.


How to solve this problem, tell me please !!!


Tulgaa



-- modified at 2:33 Saturday 21st April, 2007
AnswerRe: Directory share and fileshare problem Pin
Dave Kreskowiak20-Apr-07 3:43
mveDave Kreskowiak20-Apr-07 3:43 
GeneralRe: Directory share and fileshare problem Pin
battulga20-Apr-07 21:05
battulga20-Apr-07 21:05 
GeneralRe: Directory share and fileshare problem Pin
Craster23-Apr-07 5:06
Craster23-Apr-07 5:06 
QuestionResize Image Pin
nitin_ion19-Apr-07 19:53
nitin_ion19-Apr-07 19:53 
AnswerRe: Resize Image Pin
Christian Graus19-Apr-07 19:59
protectorChristian Graus19-Apr-07 19:59 
GeneralRe: Resize Image Pin
nitin_ion21-Apr-07 21:02
nitin_ion21-Apr-07 21:02 
GeneralRe: Resize Image Pin
Christian Graus21-Apr-07 23:53
protectorChristian Graus21-Apr-07 23:53 
GeneralRe: Resize Image Pin
TwoFaced22-Apr-07 7:04
TwoFaced22-Apr-07 7:04 
GeneralRe: Resize Image Pin
Christian Graus22-Apr-07 12:09
protectorChristian Graus22-Apr-07 12:09 
QuestionComplex Calculator Pin
Aptiva Dave19-Apr-07 17:29
Aptiva Dave19-Apr-07 17:29 
AnswerRe: Complex Calculator Pin
The ANZAC19-Apr-07 19:11
The ANZAC19-Apr-07 19:11 
AnswerRe: Complex Calculator Pin
The ANZAC20-Apr-07 0:53
The ANZAC20-Apr-07 0:53 
GeneralRe: Complex Calculator Pin
Aptiva Dave20-Apr-07 14:51
Aptiva Dave20-Apr-07 14:51 
GeneralRe: Complex Calculator Pin
Aptiva Dave21-Apr-07 18:36
Aptiva Dave21-Apr-07 18:36 
QuestionRowChanged DataTable Event proplme Pin
ora-dbaabode19-Apr-07 13:38
ora-dbaabode19-Apr-07 13:38 
AnswerRe: RowChanged DataTable Event proplme Pin
Polymorpher19-Apr-07 16:25
Polymorpher19-Apr-07 16:25 
QuestionDLL Initialization Pin
Polymorpher19-Apr-07 12:16
Polymorpher19-Apr-07 12:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.