send some parameter value to exe file

  • Thread starter Thread starter BigAbility
  • Start date Start date
B

BigAbility

there is a execution file with some parameter which is title property .
this file is a windows form file and also exe file . Not DLL file.
i'd like to execute it another program.

when another program start it i want to change it's title property

i think it can be used Process.Start method but it's not send parameter.

how can i solve this?
 
BigAbility said:
there is a execution file with some parameter which is title property .
this file is a windows form file and also exe file . Not DLL file.
i'd like to execute it another program.

when another program start it i want to change it's title property

i think it can be used Process.Start method but it's not send parameter.

how can i solve this?

What exactly do you mean by "parameter" here? If it's a command line
parameter, you certainly can use Process.Start - you can either use the
overload which takes two strings, or create a ProcessStartInfo with the
command-line arguments in.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top