>No exe accepts "arrays" as parameters directly, an exe can only accept a string of parameters.Um, well, that's not quite accurate. In order to send more than one parameter to an application, you define the Main like this:
[STAThread]
static void Main(string[] args)
{
if (args.Length > 1)
Application.Run(new Form1());
}
Sure looks like an array to me. <g>
Maybe VB is different? I dunno ...
~~Bonnie
>No exe accepts "arrays" as parameters directly, an exe can only accept a string of parameters. How the exe handles those parameters is up the the developer of the exe. Look at the command you are using, intellisense shows you that it needs a string value. All you need to do is suppy the data in the proper object (in this case a string) for the command and you'll be fine.
>
>>Hi Ben
>>
>>Thanks for that, but that’s what I am getting confused about, doesn’t the main program that I am calling expect and array?
>>Tia
>>Stuart