How to open an external program with attributes

Discussion forum about all things Team Developer 5.x and 6.x
heide
Germany
Posts: 2
Joined: 05 Apr 2019, 12:22
Location: Germany

How to open an external program with attributes

Post by heide » 05 Apr 2019, 12:24

Hello dear helpful people,

I can not find any information about how to open an external .exe via path with attributes. Any ideas?

Thanks a lot,
Kevin

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 2924
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: How to open an external program with attributes

Post by Dave Rabelink » 05 Apr 2019, 14:48

Hi Kevin,

If you mean by "attributes" the command line arguments, you can use this function:

Code: Select all

Call SalLoadApp( 'c:\\myapplication\\example.exe', 'one two three' )
Where 'one two three' are 3 arguments passed to the application.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

heide
Germany
Posts: 2
Joined: 05 Apr 2019, 12:22
Location: Germany

Re: How to open an external program with attributes

Post by heide » 08 Apr 2019, 14:24

Hello Dave,

such an easy solution... Thanks a lot nontheless!

Cheers,
Kevin

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 1 guest