I have a small program which tries to save a file in network shared drive.
It will successfully save , if I login to that server once by myself using username password. The server is joined to domain as well as mine. I don't need to type domain name while i access the files on that server. I just use username and password.
If I restart my pc and try to run the program again, it will show error as the credentials haven't stored in my PC.
i want to include the username and password in my code .
how I do.?
I want to show screenshots in the forum how I do.?
What I have tried:
xlWorkBook.SaveAs(Filename:="\\10.51.199.49\log\CHANN SOFTWARE\test.xlsx", FileFormat:=51, ReadOnlyRecommended:=False, CreateBackup:=False)