Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying FOXinCLOUD
Message
De
08/04/2014 04:02:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxInCloud
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598208
Message ID:
01598245
Vues:
98
>HI

Hi Jorge,
Please find answers below

>I'm trying FOXINCLOUD and seem ok. I had started with an small application to see how it works.
>I downloaded the free adapter and run my code and it was 99% compatible except for one line ( wait windows '"pause") that
>was converted automatically.

We prefer 'adapted' rather than 'converted': once adapted to FoxinCloud, your application code will run in the web browser, and on the desktop as usual. Having a single code base, any modification on your code will apply to both Web and Desktop versions of your application.

Though a minor detail, this is worth reminding because FoxInCloud is the only system that offers such a smooth transition between desktop and Web: no need to rewrite your application and/or learn a new technology, not even learn HTML/CSS/JS; once you've got through the process described in the document available at http://foxincloud.com/how-to.php?&howto=azTutoAll, and using the free downloads available at http://foxincloud.com/download.php, you're ready to go.

You may also benefit from the set of 7 video tutorials available at https://www.youtube.com/playlist?list=PLE18E09A1068D8C82

>On the second converting Stage, the programa ask for OCX file and other stuff that i don't use in my code, but it finished the converting procedure and produced a test code based on mine.
>I understand that this test code can be compiled in visual fox and should run ok, but it don't.
>It is asking about some AH.h and GDIPLUS.h files missing I had heard about GDIPLUS.h before but never used. AH.H seem to be file fron Foxincloud but really don't know.

This is a path issue when compiling your project.
Note that FAA (FoxinCloud Adaptation Assistant) has added some new source files to your project: ab*.prg, awPublic.prg, aw.vc?
AB.h (not AH.h) and GDIPLUS.h are include files that are available within sub-folders of VFP9\

To include these folders in your Set("PATH"), just type the following command:
do (home(1) + 'tools\ab\ab')
Make sure to execute this command whenever you deal with your adapted project.

Once you install FAS (FoxinCloud Application Server), you'll get a shortcut on your desktop setting this PATH automatically at VFP startup.

You might also want to learn more by browsing the contents of home(1) + 'tools\ab\' and sub-folders

>I write to Thierry Nivelet i told me to post this question here.

Thanks for posting! By doing so, other developers can benefit from your experience.



>Need help about what OCX file it is asking, why? and about were are the missing files.

These OCX are free PDF viewers that FoxInCloud uses in home(1) + 'tools\ab\aw.vcx!awOLE*', namely:
PDFXCviewAx.CoPDFXCview.1	.T.	PDFxChange Viewer free (http://www.tracker-software.com/)	awOLEPDFxc
PDFXCviewAx.CoPDFXCpreview.1	.T.	PDFxChange Previewer free (http://www.tracker-software.com/)	awOLEPDFxcp
AcroPDF.PDF.1	.T.	Adobe Acrobat Viewer free (http://www.adobe.com/)	awOLEPDFacro
FoxitReaderOCX.FoxitReaderOCXCtrl.1	.T.	Foxit PDF Viewer free (http://www.foxitsoftware.com/)	awOLEPDFoxit
After downloading (at URLs above) and installing these viewers on your dev machine, these error messages will no longer pop up.

Whenever you need to display a PDF report within a form, you just need to drop any of these classes (home(1) + 'tools\ab\aw.vcx!awOLE*'), or a sub-class on your form, set .Source, and the PDF will display inside the form in both desktop and Web modes.

This document describes this process: http://foxincloud.com/how-to.php?&howto=wFileSave


> Regards
>Jorge


Regards,
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform