Welcome! Log In Create A New Profile

Advanced

WD28 - Passing Parameter to Application

Posted by JP 
JP
WD28 - Passing Parameter to Application
March 27, 2024 09:00AM
Hi All

Is it possible to pass a parameter to a WD28 application at its start-up e.g. MyApp.exe "Par1" , "Par2" ?

TIA
Al
Re: WD28 - Passing Parameter to Application
March 27, 2024 09:24AM
Hello JP,

The CommandLine() function can retrieve parameters nominated when the exe starts but you may find the using an ini file and INIRead() will give more flexibility.

Regards
Al
JP
Re: WD28 - Passing Parameter to Application
March 27, 2024 10:56AM
Thanks Al,

That's exactly what I needed! thumbs up
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: