Hi,

Please remove @ and than try otherwise please tell me exact problem wat u r
facing...


---Thanks---
Anuj Sharma

On Mon, Feb 20, 2012 at 2:42 PM, Pratiksha Saxena <
pratiksha.sax...@gmail.com> wrote:

> Hi ,
>
> I have a c# window application.
>
> I am trying to open a Test.jpg file which is on another computer shared
> folder.The shared folder has full control to everyone.
>
> However it is giving me error.
>
> *Win32 Exception was caught.*
> *Logon failure: unknown user name or bad password*
>
>
>
>    private void CheckPath()
>         {
>             try
>             {
>
>
>                 string spath = @"\\10.205.48.125\sysvol\Test.jpg";
>                 SecureString s = getpassword();
>
> System.Diagnostics.Process.Start(spath,"Administrator",s,"Validation");
>
>                 this.Opacity = 0;
>             }
>
>
>
> //Used to secure password.
>    protected SecureString getpassword()
>         {
>             SecureString secureString = new SecureString();
>             string myPassword = "ongc@123";
>
>             foreach (char c in myPassword)
>                 secureString.AppendChar(c);
>
>             secureString.MakeReadOnly();
>             return secureString;
>         }
>
>
> Please can someone help me.
>
> Thanks
> Pratiksha
> (M) 9999774442
>
> --
> You received this message because you are subscribed to the Google
> Groups "DotNetDevelopment, VB.NET <http://vb.net/>, C# .NET, 
> ADO.NET<http://ado.net/>,
> ASP.NET <http://asp.net/>, XML, XML
> Web Services,.NET Remoting" group.
> To post to this group, send email to dotnetdevelopment@googlegroups.com
> To unsubscribe from this group, send email to
> dotnetdevelopment+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
> or visit the group website at http://megasolutions.net
>



-- 






--Thanks & Regards :

    Anuj Sharma

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to dotnetdevelopment@googlegroups.com
To unsubscribe from this group, send email to
dotnetdevelopment+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to