That was my guess - I setup a loop that calls ShellExecute repeatedly and 
used the loop index as the first parameter hoping to have multiple 
instances on the screen.  Nothing seemed to change.  Do I need to open a 
window for each instance and pass that handle to ShellExecute?

Related question - Is there a way to control the size and location of the 
window the app comes up in? Can one force it to stay minimized?

TIA - Joe
 
On Wednesday, July 09, 2008  4:38 PM, MB Software Solutions General 
Account wrote:
>
>Date: Wed, 09 Jul 2008 16:38:33 -0400
>From: MB Software Solutions General Account
>To: [EMAIL PROTECTED]
>cc:
>Subject: Re: pdf in vfp
>
>Joe Yoder wrote:
>> I've been playing with the same code and have the pdf come up some of the
>> time and some of the not.  ShellExecutes always returns 42 whether it
>> works or not.  Has anyone else seen this or have an explanation?
>>
>> I tried it with .doc files and had Word come up almost every time.  The
>> return code is always 33.
>>
>> Also tried .txt files - always failed always returned 42.
>>
>> I am curious about the first parameter.  What does "hwnd" represent?
>>
>> TIA - Joe yoder
>
>
>It's the Windows Handle, iirc.
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to