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. _______________________________________________ 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.

