Hi at all Someone can help me to understand what i must to do to open an remote file on a remote machine? i m able to open the file only if there was a previusly connection with that remote machine. If there wasn't when i execute my Application give me access denied. How can i pass username and password? or how can i execute a logon via C# before the opening of the file? ie if i exec start->run->\\xxx.xxx.xxx.xxx\c$ it gives me the Authentication Shell . i'd like to do the Authentication before to do the operations on the remote file. Any help will be approcied Tks in advance PIT