I am using win sdk function WNetAddConnection3 to map network drive. it works fine in win98 but does not work at all in win2000. Any suggestion ideas? Thanks for your help in advance. Sheetal
WNetAddConnection3 works in Win2000, so something else must be wrong. On the Win2000 machine, can you do the same mapping using 'net use' from the command line (logged in as the same user the application runs under)? What is the exact code you are using? What error code does WNetAddConnection3 return when you try it?