I'm writing a VB.Net application which will be used by multiple users on multiple computers. My application needs to open a PDF file on the same network that only one net user has the access to it.
I had two ways in my mind to do it:
(1) Using System.Diagnostics.Process.Start(filename, username, password, domain).
I got an error message says: The parameter is not correct.
(2) To log in the network as the user who has the access.
Just couldn't find the way after searching online for hours.
Anyone has VB.Net experience, please help me out here. Or just provide a little hint. Your reply will be greatly appreciated.
VB.Net problem. Please Help!!!
所有跟帖:
• check topics in impersonation -tty- ♂ (0 bytes) () 12/05/2008 postreply 16:25:44
• Thank you so very much. I'll go check right now. -貝兒- ♀ (0 bytes) () 12/05/2008 postreply 20:50:26