Logon into network

  • Thread starter Thread starter A.M
  • Start date Start date
A

A.M

Hi,

My WinForm.EXE app tries to write a file into network and it failes because
it doesn't have permission and I don't know how can I login into network
from my application.

How can i logon into network from my EXE file?

Any help would be appreciated,
Ali
 
Hi Ali,

What do you mean by "wrtie a file into network"
Do you mean you want to copy/create a file to a network shared folder?

You may try to use the "net use" command line.

Here is also a KB link.
It is also used in windows Forms
306158 INFO: Implementing Impersonation in an ASP.NET Application
http://support.microsoft.com/?id=306158

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top