Can someone help with this please. Standalone Windows 7 machine if I set a directory sharable by Everyone I can leave the SetCredentials line out of the code completely and it works fine. If I add a user name and or Password and use the below the return is always Logon Failure: Unknown User name or Bad Password. I am not on a domain.
SMB1.SetCredentials("UsrName", "PW", "")
SMB1.Initialize("RetSub")
SMB1.SetCredentials("UsrName", "PW", "")
SMB1.Initialize("RetSub")