@MMH

The following is the code sample

This is how i am getting the file name from the zeroth argument

static void Main(string [] args)
{

openFileName = args[0];

}



and this is how i am passing it in the formloading event

OpenProject(openFileName);

where openproject takes the filename and establishes a connection to the database at that location.

PS: I am having the same problem when i click on the exe of the application.