Hi.
I am trying to use NetUseAdd (netapi32) in a VB6 program to create a use record for a share on a server using credentials other than those of the current user. It seems to create the use record (i.e. when I type "net use" at the command line, I see that the share is listed). However, when I try to access files in that share from my program, I get permission denied errors. I was under the impression that all accesses to that share would be done using the credentials that the use record was created with in the current session. Any clue what I could be missing???
help help help
katie
I am trying to use NetUseAdd (netapi32) in a VB6 program to create a use record for a share on a server using credentials other than those of the current user. It seems to create the use record (i.e. when I type "net use" at the command line, I see that the share is listed). However, when I try to access files in that share from my program, I get permission denied errors. I was under the impression that all accesses to that share would be done using the credentials that the use record was created with in the current session. Any clue what I could be missing???
help help help
katie