Welcome!
Log In
Create A New Profile
Home
>
WinDev Forum
> Topic
Advanced
WD28 - Passing Parameter to Application
Posted by
JP
Forum List
Message List
New Topic
JP
WD28 - Passing Parameter to Application
March 27, 2024 09:00AM
Registered: 5 years ago
Posts: 234
Hi All
Is it possible to pass a parameter to a WD28 application at its start-up e.g. MyApp.exe "Par1" , "Par2" ?
TIA
Reply
Quote
Al
Re: WD28 - Passing Parameter to Application
March 27, 2024 09:24AM
Admin
Registered: 5 years ago
Posts: 299
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
Reply
Quote
JP
Re: WD28 - Passing Parameter to Application
March 27, 2024 10:56AM
Registered: 5 years ago
Posts: 234
Thanks Al,
That's exactly what I needed!
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Author:
Subject:
Help information
BBcode help
Smileys help
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.
[Please, enable JavaScript to see the code]
Enter code:
Message:
JP Wrote: ------------------------------------------------------- > Hi All > > Is it possible to pass a parameter to a WD28 > application at its start-up e.g. MyApp.exe "Par1" > , "Par2" ? > > TIA
[Please Enable JavaScript]