Click here to Skip to main content
15,905,563 members

Comments by Anuruddha_r (Top 6 by date)

Anuruddha_r 6-Nov-14 14:57pm View    
Ok ....... using my posted code i removed my files's read and write permission nw i can't open a file... so i want to give that same file to read and write permission so then i can open that file
Anuruddha_r 6-Nov-14 14:56pm View    
Ok ....... using my posted code i removed my files's read and write permission nw i can't open a file... so i want to give that same file to read and write permission so then i can open that file
Anuruddha_r 6-Nov-14 14:17pm View    
i use below code to remove read write permission of a file How Can I Give W/R permission Back
Anuruddha_r 26-Oct-14 2:26am View    
http://www.howtogeek.com/howto/windows-vista/add-any-application-to-the-desktop-right-click-menu-in-vista/

i created app .. and link that.exe like that link... when we write click on a folder and then i can run my new app .. so all i want is get a path of write clicked folder to my app
Anuruddha_r 26-Oct-14 2:19am View    
in progamme.cs
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Form1 p = new Form1();
// Application.Run(new Form1());
if (args.Length > 0)
{
p.pathkey = args[250];
}
Application.Run(p);
}

in form 1.cs


private string _pathkey;
public string pathkey
{
get { return _pathkey; }
set { _pathkey = value; }
}
private void Form1_Load(object sender, EventArgs e)
{
if (this.pathkey != null)
{
textBox1.Text = pathkey;
}
}