Hi,
You need to use
Environment GetCommandLineArgs function to access your parameters. you need to check what is the entry point of your application. there you need to get and process your parameters.
You also need to specify appropriate exception or further message if parameter are missing.
Something like,
using namespace System;
int main()
{
Console::WriteLine();
array<String^>^arguments = Environment::GetCommandLineArgs();
Console::WriteLine( "GetCommandLineArgs: {0}", String::Join( ", ", arguments ) );
}
(Code from MSDN)
Hope this works for you,
Thanks
-Amit Gajjar