I have written an application using the main fn like this " static void Main(string args)" so that when i double click on the file associated with my App it opens automatically my code is
private void MainFrm_Load(object sender, EventArgs e)
string argus = System.Environment.GetCommandLineArgs();
,and it works fine but one problem
i got the opened file name like this
and it should be like this
"D:\My Data\My Main Phone Book.pbf"
and i don't know why pls any body has a solution for this