Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do use a remote share on a different domain?

Status
Not open for further replies.

dm7941

Programmer
Sep 8, 2000
125
US
I need to connect to a remote data source via code using specific login name and domain. I can do it brute force using a call to a command prompt and net use:

net use f: \\computername\sharename password /user:domain\user

I can use the MPR.DLL to connect to resources, but I have not figured out how to add the domain into the username. . .any help would be appreciated!

David Moore
dm7941@sbc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top