>>>
>>>Try:
>>>
>>>lnResult =Shellexecute(0, tcCommand, ["] + tcFileName +["], tcParameter,tcDirectory,tnShowCommand)
>>>
>>>
>>>
>>
>>So far what I see in your example that I am thinking of changing is adding the double quotes around the file name. In my code I simply pass the file name that includes the folder location of the file. I may change it in my code too; but I am thinking of any possible side effect that I may have with these double quotes. And as I mentioned, on my computer, my sample file works without double quotes. The only other thing is maybe his OS (I believe Windows 7) could be blocking my app. Possible?
>
>I am with Windows 7 and have no problems.
I have Windows 7 too and no problem. What Sergey said about 64-bit version could be the only possible cause. But if so, I don't know how to address it.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham