Thank you Andrew - that's brilliant!!
John Weller 01380 723235 07976 393631 > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Andrew Stirling > Sent: 23 January 2012 10:04 > To: [email protected] > Subject: Re: User Manual as PDF > > oops! the url should be > http://www.ml-consult.co.uk/foxst-26.htm > > Kind regards > > Andrew Stirling > 01250 874580 > [email protected] > http://www.calcpay.co.uk > HMRC Accredited UK payroll program > > On 23/01/2012 10:00, Andrew Stirling wrote: > > Hi John > > Use ShellExecute > > this will open the pdf in the clients default pdf reader > > > > > > * set declaration re Introducing ShellExecute() > > * http://www.ml-consult.demon.co.uk/foxst-26.htm > > DECLARE INTEGER ShellExecute IN shell32.dll ; > > INTEGER hndWin, ; > > STRING cAction, ; > > STRING cFileName, ; > > STRING cParams, ; > > STRING cDir, ; > > INTEGER nShowWin > > > > lcFile = 'mymanual.pdf' > > > > cAction = "open" > > ShellExecute(0,cAction,lcFile,"","",1) > > > > Kind regards > > > > Andrew Stirling > > 01250 874580 > > [email protected] > > http://www.calcpay.co.uk > > HMRC Accredited UK payroll program > > > > On 23/01/2012 09:23, John Weller wrote: > >> I want to include an option in the menu bar to open the user manual in a > >> separate window as a PDF - what do I do? I have the manual as a PDF. > >> > >> TIA > >> > >> John Weller > >> 01380 723235 > >> 07976 393631 > >> > >> > >> [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.

