Home Forums Programming General C# - Passing parameters on launch RE: C# - Passing parameters on launch

  • Hi,

    Thank you for the risk you took as I sincerely appreciate the help and is working as needed. =)

    I also need to have this parameter decide on what image to display and what database to point to.

    For eample, if the value is not zero than show picturebox "B" instead of the default "A".

    Same for database, I have two databases as I want to use the same front end for two different companies for the time being (which is what this parameter is really going to be used for. If the value is not zero than connect to based "B" instead of the default "A". However, I would like to keep the same connectionstring name.

    Are these options possible? I have been digging in but isn't as clear cut as I thought it would be.

    Thanks again for your help!!!