Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program code in a memo file
Message
 
 
À
10/09/2000 13:43:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00410133
Message ID:
00414708
Vues:
23
>> 1....

I will investigate this exactly...

>> 2. Compiling by 'SET PROCEDURE' in VFP 6 EXE file does not works - shows error 'file MyProcedures.prg does not exist' even when you specify exact path. Looks like VFP search EXE project file information for 'MyProcedures.fxp' instead of compiling of file on disk.

>>If you have the development version installed, and issue SET DEVELOPMENT ON, it will compile on the fly.

I meant RUN-TIME only. On client computer. Are you meant I should install Development version for all 1000 client computers and run application in DEV mode? This is quite not acceptable.

>> 3. You may also run VFP COM object and use 'DoCmd' method to compile PRG in run-time. This REQUIRE SP3 for VFP 6 at client computer, as far as I know.

>No, this requirees the full development version to be installed on the system. >The FoxServer engine is part of the development engine; to have COM services >under the runtime, you have to write and compile a COM .DLL or .EXE and >install it under the runtime, and in order to compile under the runtime, SP3 >or SP4 must be installed.

VFP COM server is part of VFP run-time DLL files. What you need to do for client computer is just to 'Install' run-time DLL files properly, i.e. register them by regsvr32 Windows application. Of course, when you just copy them to client computer, COM object never could be initialized, just because it is not in registry. After proper registering of VFP run-time libraries you may use following command to run VFP COM server:
oMyServer = CREATEOBJECT('VisualFoxPro.Application')
However, all above requires VFP6 SP3 run-time libraries, placed and registered on client computer.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform