RE: VFP Display a PDF

2016-07-12 Thread Michael Glassman
Not to be snarky, but http://lmgtfy.com/?q=Display+PDF+in+Visual+FoxPro. My favorite is to use ShellExecute, as Ted has already mentioned (https://www.foxite.com/archives/easy-way-to-display-pdf-file-in-vfp-form-00 00397819.htm), but the methods discussed at

VFP Display a PDF

2016-07-12 Thread Desmond Lloyd
Good afternoon, Does anyone have a quick and dirty way to display a PDF from VFP either in a form, or natively using Adobe Reader? Any assistance would be GREATLY appreciated... Regards, Desmond --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body --

Re: VFP Display a PDF

2016-07-12 Thread Ted Roche
Use ShellExecute() http://leafe.com/archives/full_thread/485262 On Tue, Jul 12, 2016 at 5:04 PM, Desmond Lloyd wrote: > Good afternoon, > > Does anyone have a quick and dirty way to display a PDF from VFP either in > a form, or natively using Adobe Reader? > > Any

Re: VFP Display a PDF

2016-07-12 Thread rafael copquin
In addition to all the answers you've got so far, I use this method: Add the _shellexecute class from the _environ.vcx class library that ships with VFP 9 to a form Name it 'launcher' and run this code from the click event of a button: Local cDocName cDocName =

Re: Menu

2016-07-12 Thread Sytze de Boer
Thank you all for trying to help me. Recap the problem. All sub menus of my mainmenu were greyed out, but not any procedures All problems solved when I noticed my mainform was set to modal I think I wasted 4 hours on this. The project budget is 176 hours so I should be ok. Thank you again.

Re: Menu

2016-07-12 Thread Sytze de Boer
Hi Koen, thanks for trying to assist. My main form does indeed have the DO WINB18.MPR in the Init On Tue, Jul 12, 2016 at 8:03 PM, Koen Piller wrote: > Sytze > The main menu is usualy called in the init of your mainform and not from > your main.prg > Regards > Koen > > >

Re: Menu

2016-07-12 Thread Koen Piller
Sytze, The correct, full syntax is: Do mainmenu.mpr With This, .T. where mainmenu is to be replaced with your mainmenu name Regards, P.S. If that is like that, than upload a. your mainmenu.mpr b. your mainform.scx + mainform.sct 2016-07-12 10:46 GMT+02:00 Sytze de Boer

Re: Menu

2016-07-12 Thread Koen Piller
Sytze The main menu is usualy called in the init of your mainform and not from your main.prg Regards Koen Op dinsdag 12 juli 2016 heeft Sytze de Boer het volgende geschreven: > I think I'm going nuts > > I have created a menu, its called WINB18 > I can see the 4 files

Menu

2016-07-12 Thread Sytze de Boer
I think I'm going nuts I have created a menu, its called WINB18 I can see the 4 files (mnx,mnt, mpr and mpx) If I issue the command, DO WINB18.MPR, all options on the menu work just fine But, if I load the menu from my MAIN.prg, the menu shows, BUT the only options that fire are those setup as a

Re: VFP Display a PDF

2016-07-12 Thread Ted Roche
On Tue, Jul 12, 2016 at 6:39 PM, rafael copquin wrote: > In addition to all the answers you've got so far, I use this method: > > Add the _shellexecute class from the _environ.vcx class library that ships > with VFP 9 to a form > > Name it 'launcher' > > and run this code

Re: VFP Display a PDF

2016-07-12 Thread mbsoftwaresolutions
On 2016-07-12 18:11, Ted Roche wrote: Use ShellExecute() http://leafe.com/archives/full_thread/485262 Deja Vu! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this

Re: Menu

2016-07-12 Thread Laurie Alvey
Just a thought, have you inadvertently SET SKIP OF anywhere? Laurie On 12 July 2016 at 10:17, Koen Piller wrote: > Sytze, > > The correct, full syntax is: > > Do mainmenu.mpr With This, .T. > > where mainmenu is to be replaced with your mainmenu name > > Regards, > >

Re: Menu

2016-07-12 Thread Laurie Alvey
In my apps I don't have a "main" form. I call the menu.mpr in the main prg. No problems. Sytze, have you tried regenerating the menu (in case something went wrong)? Laurie On 12 July 2016 at 09:03, Koen Piller wrote: > Sytze > The main menu is usualy called in the init