How to 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,
¤
¤ 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,

You've probably already been authenticated on the network. What you need is to have your Network
Admin grant the appropriate permissions for the resource you are attempting to Access.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
It actaully can't be permission, because using notepad, i can Create/write
text files on the same location that my WinForms.EXE can't !!!
 
This should work, your Winform application is just another application like notepad. Could you post the exception message being
thrown?

Willy.
PS. You don't run this from a network share don't you?
 
Back
Top