That worked Stefan! Thanks so much! I've learned a lot from this thread! :o)
Tracy
>
lcExePath = ["] + fullpath(m.lcIvansApp) + [" ] + m.lcIvansParams
>
>or
>
>
lcExePath = '"' + fullpath(m.lcIvansApp) + '" ' + m.lcIvansParams
>
>The call to FULLPATH() is a safety measure because the value is taken from an .ini file. It ensures that the exe path is fully qualified and it also trims the text. This way the app will either be started with a fully qualified path or CreateProcess() will fail, but it cannot happen that the app gets started 'a little' - i.e. in an unusable state - just because somebody put a partial path or an unqualified name into the .ini ...
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"