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
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 --
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
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 =
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.
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
>
>
>
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
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
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
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
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
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,
>
>
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
13 matches
Mail list logo